From 0f7846a32deec5cb400d9e73c2f2127b5de1cffd Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 10 Apr 2023 09:55:59 +0700 Subject: if variant = 1 --- .../product/components/Product/ProductDesktop.jsx | 173 ++++++++++++--------- 1 file changed, 100 insertions(+), 73 deletions(-) (limited to 'src/lib') diff --git a/src/lib/product/components/Product/ProductDesktop.jsx b/src/lib/product/components/Product/ProductDesktop.jsx index e0d2a959..8983f241 100644 --- a/src/lib/product/components/Product/ProductDesktop.jsx +++ b/src/lib/product/components/Product/ProductDesktop.jsx @@ -161,14 +161,38 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => { )} - - + {product.variants.length > 1 ? ( + + ) : ( + + + + + + )}
-
-
Varian Produk
-
- - - - - - - - - - - - {product.variants.map((variant) => ( - - - - - - + {product.variants.length > 1 && ( +
+
Varian Produk
+
+
Part NumberVarianHargaJumlahAction
{variant.code}{variant.attributes.join(', ') || '-'} - {variant.price.discountPercentage > 0 && variant.price.priceDiscount > 0 && ( - <> -
- {currencyFormat(variant.price.price)} -
{' '} - - )} -
- {variant.price.priceDiscount > 0 ? ( - currencyFormat(variant.price.priceDiscount) - ) : ( - - Call for price - - )} -
- {/* */} -
- - - - -
+ + + + + + + - ))} - -
Part NumberVarianHargaJumlahAction
+ + + {product.variants.map((variant) => ( + + {variant.code} + {variant.attributes.join(', ') || '-'} + + {variant.price.discountPercentage > 0 && + variant.price.priceDiscount > 0 && ( + <> +
+ {currencyFormat(variant.price.price)} +
{' '} + + )} +
+ {variant.price.priceDiscount > 0 ? ( + currencyFormat(variant.price.priceDiscount) + ) : ( + + Call for price + + )} +
+ {/* */} + + + + + + + + + + ))} + + +
- + )}
Informasi Produk
-- cgit v1.2.3 From 19c2a18e5f8d3d9e9d56353828df9af6e7894ef2 Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 10 Apr 2023 10:26:03 +0700 Subject: add link hubungi kami di page cart --- src/lib/cart/components/Cart.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx index 46b2b811..cfe1ff4c 100644 --- a/src/lib/cart/components/Cart.jsx +++ b/src/lib/cart/components/Cart.jsx @@ -426,7 +426,7 @@ const Cart = () => { height={60} />
- Tanya stock untuk pembelian anda sebelum melanjutkan pembayaran! + Tanya stock untuk pembelian anda sebelum melanjutkan pembayaran! Hubungi Kami
-- cgit v1.2.3 From 25f3dedfd48186e62a6f99a1560993ea1d202fb9 Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 10 Apr 2023 10:47:40 +0700 Subject: add sticky top di container ringkasan pesanan --- src/lib/checkout/components/Checkout.jsx | 2 +- src/lib/quotation/components/Quotation.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx index 17ac20e1..fb56b756 100644 --- a/src/lib/checkout/components/Checkout.jsx +++ b/src/lib/checkout/components/Checkout.jsx @@ -325,7 +325,7 @@ const Checkout = () => {
-
+
Ringkasan Pesanan
{products?.length} Barang
diff --git a/src/lib/quotation/components/Quotation.jsx b/src/lib/quotation/components/Quotation.jsx index e233efd1..a68889f5 100644 --- a/src/lib/quotation/components/Quotation.jsx +++ b/src/lib/quotation/components/Quotation.jsx @@ -237,7 +237,7 @@ const Quotation = () => {
-
+
Ringkasan Pesanan
{products?.length} Barang
-- cgit v1.2.3 From 484e8ebd5a6cfda13be3ac086c5600c2743b5710 Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 10 Apr 2023 11:04:18 +0700 Subject: change position note *biaya belum termasuk ongkir --- src/lib/checkout/components/Checkout.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx index fb56b756..ba45e862 100644 --- a/src/lib/checkout/components/Checkout.jsx +++ b/src/lib/checkout/components/Checkout.jsx @@ -202,7 +202,7 @@ const Checkout = () => { {currencyFormat(totalAmount - totalDiscountAmount + taxTotal)}
-

*) Belum termasuk biaya pengiriman

+ {/*

*) Belum termasuk biaya pengiriman

*/}

Dengan melakukan pembelian melalui website Indoteknik, saya menyetujui{' '} @@ -360,9 +360,6 @@ const Checkout = () => { {currencyFormat(totalAmount - totalDiscountAmount + taxTotal)}

-

- *) Belum termasuk biaya pengiriman -

Dengan melakukan pembelian melalui website Indoteknik, saya menyetujui{' '} @@ -447,6 +444,9 @@ const PickupAddress = ({ label }) => (

Telp : 021-2933 8828/29

Mobile : 0813 9000 7430

+

+ *) Belum termasuk biaya pengiriman +

) -- cgit v1.2.3 From f258789bbae7f28e3a78ed4d523b57d08c0f6c62 Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 10 Apr 2023 11:09:15 +0700 Subject: change title page cart --- src/lib/cart/components/Cart.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx index 25db4ce0..e2173268 100644 --- a/src/lib/cart/components/Cart.jsx +++ b/src/lib/cart/components/Cart.jsx @@ -164,7 +164,7 @@ const Cart = () => {
-

Daftar Produk Belanja

+

Keranjang

Cari Produk Lain
@@ -301,7 +301,7 @@ const Cart = () => {
-

Daftar Produk Belanja

+

Keranjang

-- cgit v1.2.3 From 7f5985ab05ff17eb25f772ca40f61c34a29b459d Mon Sep 17 00:00:00 2001 From: "HATEC\\SPVDEV001" Date: Mon, 10 Apr 2023 11:17:20 +0700 Subject: delete condition dowload po --- src/lib/transaction/components/Transaction.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx index a0455c27..ad59f8dd 100644 --- a/src/lib/transaction/components/Transaction.jsx +++ b/src/lib/transaction/components/Transaction.jsx @@ -295,7 +295,7 @@ const Transaction = ({ id }) => {