diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-14 09:43:44 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-14 09:43:44 +0700 |
| commit | 7d6afa821f02c3933a175a537b7bd0f47ff72f00 (patch) | |
| tree | e3ae0862d04d9a8feb10db24ceba5887f614e265 /src/pages | |
| parent | be479da2557953f54963c589c95a3ec3e0a8a581 (diff) | |
no message
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/shop/product/[slug].js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js index c0119c8f..8402036c 100644 --- a/src/pages/shop/product/[slug].js +++ b/src/pages/shop/product/[slug].js @@ -90,13 +90,13 @@ export default function ProductDetail({ product }) { <h1 className="h2 mt-2 mb-3">{product.name}{activeVariant.attributes ? ' - ' + activeVariant.attributes : ''}</h1> {product.variant_total > 1 && !selectedVariant ? ( - <p className="text-xs text-gray-800 mb-1">Harga mulai dari:</p> + <p className="text-caption-2 text-gray-800 mb-1">Harga mulai dari:</p> ) : ''} {product.lowest_price.discount_percentage > 0 ? ( <div className="flex gap-x-1 items-center mb-1"> + <p className="text-caption-2 text-gray_r-11 line-through">{currencyFormat(activeVariant.price.price)}</p> <span className="badge-red">{activeVariant.price.discount_percentage}%</span> - <p className="text-xs text-gray_r-11 line-through">{currencyFormat(activeVariant.price.price)}</p> </div> ) : ''} |
