discounts
This commit is contained in:
@@ -17,7 +17,9 @@ pub fn product_card(
|
||||
"name": product.name,
|
||||
"slug": product.slug,
|
||||
"description": product.description,
|
||||
"price": format_price(product.price_cents),
|
||||
"price": format_price(product.effective_price_cents()),
|
||||
"on_sale": product.on_sale(),
|
||||
"regular_price": format_price(product.price_cents),
|
||||
"currency": product.currency,
|
||||
"sku": product.sku,
|
||||
"stock": product.stock,
|
||||
|
||||
Reference in New Issue
Block a user