diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-06 13:49:16 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-06 13:49:16 +0700 |
| commit | 5d4cf836d098e9c351bce4d25f0e88e341646ccc (patch) | |
| tree | 2b07b1eeb6595eadfdeeb6b2f3f875606b456667 | |
| parent | 3b7a99415cf1209c300c459bbae065d9cce17864 (diff) | |
feedback pricelist product mobile
| -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> </> ) : ( |
