From c31653ce684ac2f80368906658895bacc9b4c9a7 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 5 May 2023 15:33:30 +0700 Subject: height produk serupa di product detail --- .../product/components/Product/ProductDesktop.jsx | 171 +++++++++++---------- 1 file changed, 89 insertions(+), 82 deletions(-) (limited to 'src/lib') diff --git a/src/lib/product/components/Product/ProductDesktop.jsx b/src/lib/product/components/Product/ProductDesktop.jsx index 39651eab..8ce6da00 100644 --- a/src/lib/product/components/Product/ProductDesktop.jsx +++ b/src/lib/product/components/Product/ProductDesktop.jsx @@ -101,63 +101,102 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => {
-
- {product.name} -
-
-

{product?.name}

-
-
-
Nomor SKU
-
SKU-{product.id}
-
-
-
Part Number
-
{product.code || '-'}
-
-
-
Manufacture
-
- {product.manufacture?.name ? ( - - {product.manufacture?.name} - - ) : ( -
-
- )} +
+
+ {product.name} +
+ +
+

{product?.name}

+
+
+
Nomor SKU
+
SKU-{product.id}
+
+
+
Part Number
+
{product.code || '-'}
+
+
+
Manufacture
+
+ {product.manufacture?.name ? ( + + {product.manufacture?.name} + + ) : ( +
-
+ )} +
+
+
+
Berat Barang
+
+ {product?.weight > 0 && {product?.weight} KG} + {product?.weight == 0 && ( + + Tanya Berat + + )} +
-
-
Berat Barang
-
- {product?.weight > 0 && {product?.weight} KG} - {product?.weight == 0 && ( - + +
-
+
{product.variants.length > 1 && product.lowestPrice.priceDiscount > 0 && (
Harga mulai dari:
)} @@ -238,7 +277,7 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => {
Produk Serupa
-
+
{productSimilarInBrand && productSimilarInBrand?.map((product) => (
@@ -327,38 +366,6 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => {
)} -
-
Informasi Produk
-
- {informationTabOptions.map((option) => ( - setInformationTab(option.value)} - > - {option.label} - - ))} -
-
-
- - - - - Belum ada informasi. -
-
-
-
Kamu Mungkin Juga Suka
-- cgit v1.2.3