summaryrefslogtreecommitdiff
path: root/src/lib/product
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-10-05 09:32:12 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-10-05 09:32:12 +0700
commite72c16eb549488e1ed847b022880f542d2a9c525 (patch)
tree9f9bf6fbc29f97cb4fc0d897dcb813b062bdc63d /src/lib/product
parent427feacedcdc511fcead8d2289264aa58bafd038 (diff)
add component list product for cart, quotation, and checkout
Diffstat (limited to 'src/lib/product')
-rw-r--r--src/lib/product/components/Product/ProductDesktop.jsx4
-rw-r--r--src/lib/product/components/ProductCard.jsx6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/product/components/Product/ProductDesktop.jsx b/src/lib/product/components/Product/ProductDesktop.jsx
index 5e827089..4c8c3ae9 100644
--- a/src/lib/product/components/Product/ProductDesktop.jsx
+++ b/src/lib/product/components/Product/ProductDesktop.jsx
@@ -594,7 +594,7 @@ const ProductDesktop = ({ products, wishlist, toggleWishlist }) => {
</div>{' '}
</div>
<div className=' text-caption-1 text-gray_r-11 mb-1'>
- + PPN:{' '}
+ Inc. PPN:{' '}
{currencyFormat(
variant.price.priceDiscount * process.env.NEXT_PUBLIC_PPN
)}
@@ -608,7 +608,7 @@ const ProductDesktop = ({ products, wishlist, toggleWishlist }) => {
{currencyFormat(variant?.price?.price)}
</div>{' '}
<div className=' text-caption-1 text-gray_r-11 mb-1'>
- + PPN:{' '}
+ Inc. PPN:{' '}
{currencyFormat(
variant?.price?.priceDiscount * process.env.NEXT_PUBLIC_PPN
)}
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 16c63c00..6a5e29ab 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -113,8 +113,8 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
{product?.lowestPrice.price > 0 ? (
<>
{currencyFormat(product?.lowestPrice.price)}
- <div className='text-gray_r-9 text-[11px] font-normal sm:text-caption-2 mt-2'>
- + PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN)}
+ <div className='text-gray_r-9 text-[10px] font-normal mt-2'>
+ Inc. PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN )}
</div>
</>
) : (
@@ -217,7 +217,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
<>
{currencyFormat(product?.lowestPrice.price)}
<div className='text-gray_r-9 text-[11px] sm:text-caption-2 font-normal mt-2'>
- + PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN)}
+ Inc. PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN)}
</div>
</>
) : (