commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Issues picking variants in the ProductView.

Open okbel opened this issue 3 years ago • 4 comments

Description: Sometimes picking a color is not available in some size and still I'm allowed to add that product.

okbel avatar May 24 '21 16:05 okbel

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:

  1. Blue + Small
  2. Green + Medium
  3. Green + Large
  4. Yellow + Medium

In the backend CMS product view unavailable variant option values are hidden as expected: drupalcommerce-options1 drupalcommerce-option2 drupalcommerce-option3

But in Nextjs Commerce I still can select those option values. For example: Blue + Medium: nextjscommerce-option

drugan avatar Jul 24 '22 14:07 drugan

Requires the #776 to be merged first.

drugan avatar Jul 25 '22 09:07 drugan

Requires the #776 to be merged first.

Will try to replicate and apply a fix for that

cond0r avatar Jul 25 '22 09:07 cond0r

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.

drugan avatar Jul 25 '22 12:07 drugan

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

manovotny avatar Apr 18 '23 02:04 manovotny