diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-10-06 06:45:44 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-10-06 06:45:44 +0000 |
| commit | 397e589d7cbd927a3d3e62a1aade1deff1124af5 (patch) | |
| tree | 3c32ef17e75057da5adcf8d83d55ddcf05365c65 /src/lib | |
| parent | 5e32d98379f4269d32123b8156b3f955300fcc6c (diff) | |
| parent | 5d4cf836d098e9c351bce4d25f0e88e341646ccc (diff) | |
Merged in CR/Pricelist (pull request #91)
feedback pricelist product mobile
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/product/components/Product/ProductMobile.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/product/components/Product/ProductMobile.jsx b/src/lib/product/components/Product/ProductMobile.jsx index 94312d31..20a1d3f4 100644 --- a/src/lib/product/components/Product/ProductMobile.jsx +++ b/src/lib/product/components/Product/ProductMobile.jsx @@ -250,12 +250,12 @@ const ProductMobile = ({ product, wishlist, toggleWishlist }) => { </> ) : ( <h3 className='text-danger-500 font-semibold mt-1'> - {activeVariant?.price?.priceDiscount > 0 ? ( + {activeVariant?.price?.price > 0 ? ( <> - {currencyFormat(activeVariant?.price?.priceDiscount)} + {currencyFormat(activeVariant?.price?.price)} <div className='text-gray_r-9 text-base font-normal mt-1'> Termasuk PPN:{' '} - {currencyFormat(activeVariant?.price.priceDiscount * process.env.NEXT_PUBLIC_PPN)} + {currencyFormat(activeVariant?.price.price * process.env.NEXT_PUBLIC_PPN)} </div> </> ) : ( |
