diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-15 17:32:40 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-15 17:32:40 +0700 |
| commit | a03d150a2816ed7f901d3acf0ceb26c4025365e1 (patch) | |
| tree | 4dd564d3ed4b512006223bc6d4c26f0c2247508f | |
| parent | d868fa4283ea5c37eb08b998140965f70083fe0b (diff) | |
show attribute
| -rw-r--r-- | src/pages/shop/cart.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/shop/cart.js b/src/pages/shop/cart.js index 6f61ffcb..06ac94b4 100644 --- a/src/pages/shop/cart.js +++ b/src/pages/shop/cart.js @@ -154,7 +154,7 @@ export default function Cart() { </div> <div className="w-8/12 flex flex-col"> <Link href={'/shop/product/' + createSlug(product.parent.name, product.parent.id)} className="product-card__title wrap-line-ellipsis-2"> - {product.parent.name} + {product.parent.name} {product.attributes.length > 0 ? `- ${product.attributes.join(', ')}` : ''} </Link> <p className="text-caption-1 text-gray_r-11 mt-1">{product.code ? product.code : '-'}</p> <div className="flex flex-wrap gap-x-1 items-center mb-2 mt-auto"> @@ -227,7 +227,7 @@ export default function Cart() { </div> <hr className="my-4 border-gray_r-6"/> <div className="flex gap-x-2 justify-between mb-4"> - <p>Total</p> + <p>Grand Total</p> <p className="font-medium text-yellow_r-11">{currencyFormat(totalPriceBeforeTax + totalTaxAmount - totalDiscountAmount)}</p> </div> <p className="text-caption-2 text-gray_r-10 mb-2">*) Belum termasuk biaya pengiriman</p> |
