added old price amount

This commit is contained in:
@jcarymuhammedow
2026-03-18 12:32:49 +05:00
parent 69e3e2e0ab
commit a3a02ef756
9 changed files with 27 additions and 4 deletions

View File

@@ -55,6 +55,9 @@ export function RelatedProductsSection({
price={parseFloat(product.price_amount) || null}
struct_price_text={
product.struct_price_text || `${product.price_amount} TMT`
}
oldPrice={
product.old_price_amount ? parseFloat(product.old_price_amount) : null
}
discount={product.discount}
discount_text={product.discount_text}