mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Fixes
This commit is contained in:
@@ -148,9 +148,8 @@ const ProductView: FC<Props> = ({ product }) => {
|
||||
loading={loading}
|
||||
disabled={variant?.availableForSale === false}
|
||||
>
|
||||
{variant?.isInStock === false &&
|
||||
variant?.availableForSale === false
|
||||
? 'Sold Out'
|
||||
{variant?.availableForSale === false
|
||||
? 'Not Available'
|
||||
: 'Add To Cart'}
|
||||
</Button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user