Describe the bug
The product page does not support variant-specific inventory tracking. Users are unable to buy products with as the page thinks that there is no inventory at all.
To Reproduce
Steps to reproduce the behavior:
1. Go to a product page with variants that have individual inventories.
2. Product says Out of Stock and the user cannot buy the item.
https://github.com/bigcommerce/catalyst/blob/main/core/app/%5Blocale%5D/(default)/product/%5Bslug%5D/_components/details.tsx
https://github.com/bigcommerce/catalyst/blob/main/core/components/add-to-cart-button/index.tsx
Expected Behavior
The inventory levels should be adjustable and tracked for each product variant independently. When a specific variant is sold or restocked, its individual inventory count should update without affecting others.
Describe the bug
The product page does not support variant-specific inventory tracking. Users are unable to buy products with as the page thinks that there is no inventory at all.
To Reproduce
Steps to reproduce the behavior:
1. Go to a product page with variants that have individual inventories.
2. Product says Out of Stock and the user cannot buy the item.
https://github.com/bigcommerce/catalyst/blob/main/core/app/%5Blocale%5D/(default)/product/%5Bslug%5D/_components/details.tsx
https://github.com/bigcommerce/catalyst/blob/main/core/components/add-to-cart-button/index.tsx
Expected Behavior
The inventory levels should be adjustable and tracked for each product variant independently. When a specific variant is sold or restocked, its individual inventory count should update without affecting others.