From c0f523bf49a160f74158fe61b6f5916fa6176322 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 13 Dec 2022 18:02:44 +0700 Subject: Merapihkan tampilan --- src/pages/shop/brands/[slug].js | 2 +- src/pages/shop/product/[slug].js | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/pages/shop') diff --git a/src/pages/shop/brands/[slug].js b/src/pages/shop/brands/[slug].js index c0524207..320c4454 100644 --- a/src/pages/shop/brands/[slug].js +++ b/src/pages/shop/brands/[slug].js @@ -89,7 +89,7 @@ export default function BrandDetail({ Filter

Produk

-
+
{productFound > 0 ? ( <> Menampilkan  diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js index 1ef693c0..c0119c8f 100644 --- a/src/pages/shop/product/[slug].js +++ b/src/pages/shop/product/[slug].js @@ -82,33 +82,33 @@ export default function ProductDetail({ product }) { <>
- +
{product.manufacture.name ?? '-'} -

{product.name}{activeVariant.attributes ? ' - ' + activeVariant.attributes : ''}

+

{product.name}{activeVariant.attributes ? ' - ' + activeVariant.attributes : ''}

{product.variant_total > 1 && !selectedVariant ? (

Harga mulai dari:

) : ''} {product.lowest_price.discount_percentage > 0 ? ( -
+
{activeVariant.price.discount_percentage}% -

{currencyFormat(activeVariant.price.price)}

+

{currencyFormat(activeVariant.price.price)}

) : ''} {product.lowest_price.price > 0 ? ( -

{currencyFormat(activeVariant.price.price_discount)}

+

{currencyFormat(activeVariant.price.price_discount)}

) : ( -

Dapatkan harga terbaik, hubungi kami.

+

Dapatkan harga terbaik, hubungi kami.

)}
- +
- + setQuantity(e.target.value)} />
-- cgit v1.2.3