mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
More changes
This commit is contained in:
@@ -49,7 +49,13 @@ const ProductCard: FC<Props> = ({
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
<div className={s.squareBg} />
|
||||
{process.env.COMMERCE_WISHLIST_ENABLED && (
|
||||
<WishlistButton
|
||||
className={s.wishlistButton}
|
||||
productId={product.id}
|
||||
variant={product.variants[0] as any}
|
||||
/>
|
||||
)}
|
||||
<div className="flex flex-row justify-between box-border w-full z-20 absolute ">
|
||||
{!noNameTag && (
|
||||
<div className="absolute top-0 left-0 pr-16 max-w-full">
|
||||
@@ -63,13 +69,6 @@ const ProductCard: FC<Props> = ({
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
{process.env.COMMERCE_WISHLIST_ENABLED && (
|
||||
<WishlistButton
|
||||
className={s.wishlistButton}
|
||||
productId={product.id}
|
||||
variant={product.variants[0] as any}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div className={s.imageContainer}>
|
||||
{product?.images && (
|
||||
|
Reference in New Issue
Block a user