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

@@ -151,7 +151,7 @@ export default function CartPage() {
if (isLoading) {
return (
<div className="mx-auto px-2 md:px-4 lg:px-6 mb-18">
<div className="mx-auto px-2 max-w-[1504px] md:px-4 lg:px-6 mb-18">
<h1 className="text-xl md:text-2xl lg:text-3xl font-bold mb-4 md:mb-6 pt-3">
{t("cart")}
</h1>

View File

@@ -75,6 +75,9 @@ export default function FavoritesPage() {
product.price_amount ? parseFloat(product.price_amount) : null
}
struct_price_text={formattedPrice}
oldPrice={
product.old_price_amount ? parseFloat(product.old_price_amount) : null
}
images={allImages}
labels={[]}
price_color="#0059ff"