044
This commit is contained in:
parent
6c6e47ae1e
commit
6092493b47
@ -191,8 +191,8 @@ import
|
|||||||
# addressError = ""
|
# addressError = ""
|
||||||
# stateError = ""
|
# stateError = ""
|
||||||
# zipError = ""
|
# zipError = ""
|
||||||
emailError = ""
|
# emailError = ""
|
||||||
phoneError = ""
|
# phoneError = ""
|
||||||
ch = ""
|
ch = ""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -235,14 +235,12 @@ import
|
|||||||
|
|
||||||
for c, d in cart:
|
for c, d in cart:
|
||||||
var product = db.getProductById(d.productId)
|
var product = db.getProductById(d.productId)
|
||||||
echo product
|
|
||||||
products.add(product)
|
products.add(product)
|
||||||
|
|
||||||
compileTemplateFile(getScriptDir() / "a3a" / "checkout.nimja")
|
compileTemplateFile(getScriptDir() / "a3a" / "checkout.nimja")
|
||||||
|
|
||||||
"/checkout" -> post:
|
"/checkout" -> post:
|
||||||
var
|
var
|
||||||
# res = Response()
|
|
||||||
email: string
|
email: string
|
||||||
password: string
|
password: string
|
||||||
db = newDatabase()
|
db = newDatabase()
|
||||||
|
Loading…
Reference in New Issue
Block a user