summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-10-11 16:51:03 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-10-11 16:51:03 +0700
commit80295b97150495f56bd236a5345c2ddeb8313267 (patch)
treeb394d0a65e7f200b9769c2dca70d61214f21e1aa /src/core
parentcff358b2a7bb310e2b65cba5d843e9ffdda0f699 (diff)
Add product weight information and total weight on checkout page
Diffstat (limited to 'src/core')
-rw-r--r--src/core/components/elements/Product/cartProductsList.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/components/elements/Product/cartProductsList.jsx b/src/core/components/elements/Product/cartProductsList.jsx
index 32df992b..9662cd3b 100644
--- a/src/core/components/elements/Product/cartProductsList.jsx
+++ b/src/core/components/elements/Product/cartProductsList.jsx
@@ -15,7 +15,6 @@ const CardProdcuctsList = ({
updateQuantity = () => {},
setDeleteConfirmation = () => {}
}) => {
-
return (
<table className='table-cart'>
<thead>
@@ -144,7 +143,9 @@ const CardProdcuctsList = ({
{product?.code}{' '}
{product?.attributes.length > 0 ? `| ${product?.attributes.join(', ')}` : ''}
</div>
- <div className='text-gray_r-11 mt-2'>Berat item : {product?.weight} Kg</div>
+ <div className='text-gray_r-11 mt-2'>
+ Berat item : {product?.weight} Kg x {product?.quantity} Barang
+ </div>
</div>
</td>
<td className='relative'>