x
This commit is contained in:
1 parent
81ed9af406
commit
4536db6741
56 files changed
+1127
-198
No files matched your search
@@ -76,8 +76,8 @@ export default function CartDrawer() {
|
||||
|
||||
<div className="flex-1 flex flex-col pt-1 space-y-1 relative min-w-0">
|
||||
<h3 className="font-bold text-sm text-pop-black leading-tight pr-6 truncate">{item.productName}</h3>
|
||||
{item.variantSize && (
|
||||
<p className="text-xs text-pop-black/60">{item.variantSize}</p>
|
||||
{item.variantName && (
|
||||
<p className="text-xs text-pop-black/60">{item.variantName}</p>
|
||||
)}
|
||||
|
||||
{/* Price row */}
|
||||
|
||||
@@ -131,7 +131,7 @@ export default function ProductCard({ product, enableQuickShop = false, category
|
||||
quantity: 1,
|
||||
price: selectedVariant.price || 0,
|
||||
productName: displayName,
|
||||
variantSize: [selectedVariant.option1, selectedVariant.option2, selectedVariant.option3].filter(Boolean).join(' / '),
|
||||
variantName: [selectedVariant.option1, selectedVariant.option2, selectedVariant.option3].filter(Boolean).join(' / '),
|
||||
productImage: product.images?.[0]?.url || getCategoryImage(displayCategoryName)
|
||||
});
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user