diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-11 16:51:03 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-11 16:51:03 +0700 |
| commit | 80295b97150495f56bd236a5345c2ddeb8313267 (patch) | |
| tree | b394d0a65e7f200b9769c2dca70d61214f21e1aa /src/lib/variant | |
| parent | cff358b2a7bb310e2b65cba5d843e9ffdda0f699 (diff) | |
Add product weight information and total weight on checkout page
Diffstat (limited to 'src/lib/variant')
| -rw-r--r-- | src/lib/variant/components/VariantCard.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/variant/components/VariantCard.jsx b/src/lib/variant/components/VariantCard.jsx index 64b6d146..6c0ab974 100644 --- a/src/lib/variant/components/VariantCard.jsx +++ b/src/lib/variant/components/VariantCard.jsx @@ -40,7 +40,7 @@ const VariantCard = ({ product, openOnClick = true, buyMore = false }) => { {product.attributes.length > 0 ? ` ・ ${product.attributes.join(', ')}` : ''} </p> <p className='text-caption-2 text-gray_r-11 mt-1'> - Berat Item : {product?.weight} Kg + Berat Item : {product?.weight} Kg x {product?.quantity} Barang </p> <div className='flex flex-wrap gap-x-1 items-center mt-auto'> {product.hasFlashsale && ( |
