This commit is contained in:
Aritra Banik 2024-02-25 12:44:46 +05:30
parent 6c6e47ae1e
commit 6092493b47
2 changed files with 2 additions and 4 deletions

BIN
src/a3

Binary file not shown.

View File

@ -191,8 +191,8 @@ import
# addressError = ""
# stateError = ""
# zipError = ""
emailError = ""
phoneError = ""
# emailError = ""
# phoneError = ""
ch = ""
try:
@ -235,14 +235,12 @@ import
for c, d in cart:
var product = db.getProductById(d.productId)
echo product
products.add(product)
compileTemplateFile(getScriptDir() / "a3a" / "checkout.nimja")
"/checkout" -> post:
var
# res = Response()
email: string
password: string
db = newDatabase()