summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-12-29 09:17:04 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-12-29 09:17:04 +0700
commitec3d2d806cc7e5dceb2be1d73b9351526ad75768 (patch)
tree36bd7603abe4aa160b1a06ae5a9ec4cd202a84c3 /src/pages
parenta0dba46d40ac156704c5f75f6e6f2d35126a634e (diff)
no message
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/shop/product/[slug].js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js
index 16763ab7..43d511a8 100644
--- a/src/pages/shop/product/[slug].js
+++ b/src/pages/shop/product/[slug].js
@@ -180,25 +180,25 @@ export default function ProductDetail({ product }) {
<div className="p-4">
<h2 className="font-bold mb-2">Detail Produk</h2>
- <div className="flex py-2 justify-between items-center gap-x-1 border-b border-gray-300">
+ <div className="flex py-2 justify-between items-center gap-x-1">
<h3 className="text-gray-900">Jumlah Varian</h3>
<p className="text-gray-800">{product.variant_total} Varian</p>
</div>
- <div className="flex py-2 justify-between items-center gap-x-1 border-b border-gray-300">
+ <div className="flex py-2 justify-between items-center gap-x-1">
<h3 className="text-gray-900">Nomor SKU</h3>
<p className="text-gray-800" id="sku_number">SKU-{activeVariant.id}</p>
</div>
- <div className="flex py-2 justify-between items-center gap-x-1 border-b border-gray-300">
+ <div className="flex py-2 justify-between items-center gap-x-1">
<h3 className="text-gray-900">Part Number</h3>
<p className="text-gray-800" id="part_number">{activeVariant.code}</p>
</div>
- <div className="flex py-2 justify-between items-center gap-x-1 border-b border-gray-300">
+ <div className="flex py-2 justify-between items-center gap-x-1">
<h3 className="text-gray-900">Stok</h3>
<p className="text-gray-800" id="stock">
{activeVariant.stock > 0 ? (activeVariant.stock > 5 ? 'Lebih dari 5' : 'Kurang dari 5') : '0'}
</p>
</div>
- <div className="flex py-2 justify-between items-center gap-x-1 border-b border-gray-300">
+ <div className="flex py-2 justify-between items-center gap-x-1">
<h3 className="text-gray-900">Berat Barang</h3>
<p className="text-gray-800" id="weight">{activeVariant.weight > 0 ? activeVariant.weight : '1'} KG</p>
</div>