commerce
commerce copied to clipboard
Issues picking variants in the ProductView.
Description: Sometimes picking a color is not available in some size and still I'm allowed to add that product.
The same is here. I have a product with the following options:
- Color: Blue, Green, Yellow
- Size: Small, Medium, Large
At the same time I have only four variants of the product available instead of max 3 * 3 = 9:
- Blue + Small
- Green + Medium
- Green + Large
- Yellow + Medium
In the backend CMS product view unavailable variant option values are hidden as expected:
But in Nextjs Commerce I still can select those option values. For example: Blue + Medium:
Requires the #776 to be merged first.
Requires the #776 to be merged first.
Will try to replicate and apply a fix for that
Will try to replicate and apply a fix for that
I have a fix done already but keeping in mind the issue I've mentioned above introduces major changes in ./site components so there is no sense to make a PR now because it will create code conflict.
Hey there! Thank you for your contribution. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: #966