feat: Update price of pins
All checks were successful
Build Docker / Build Image (push) Successful in 1m23s

This commit is contained in:
2025-02-08 11:04:25 +11:00
parent b6f27cc027
commit 942e0f182e
21 changed files with 51 additions and 45 deletions

View File

@@ -13,8 +13,8 @@ images = {
}
prices = {
"pack1": 45,
"pack2": 45,
"pack1": 50,
"pack2": 50,
}
exchange = {
@@ -35,7 +35,7 @@ def cart(cert):
else:
name = path
image = "pins/pack1.jpg"
price = 45
price = 50
hns = usdToHNS(price)
@@ -69,7 +69,7 @@ def cart_total(cert):
else:
name = path
image = "pins/pack1.jpg"
price = 45
price = 50
hns = usdToHNS(price, True)
hns = hns * int(quantity)
@@ -129,7 +129,7 @@ def total_usd(cert,promo):
if path in prices:
total += prices[path] * int(item['quantity'])
else:
total += 45 * int(item['quantity'])
total += 50 * int(item['quantity'])
if promo:
if promo["constant"]: