feat: Update price of pins
All checks were successful
Build Docker / Build Image (push) Successful in 1m23s
All checks were successful
Build Docker / Build Image (push) Successful in 1m23s
This commit is contained in:
10
render.py
10
render.py
@@ -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"]:
|
||||
|
||||
Reference in New Issue
Block a user