commerce
commerce copied to clipboard
Limitation with product options
I've been implementing a logic for a product page that is basically the same as the one in variant-selector.tsx.
I've noticed a scenario that can be blocking for a potential user:
- go on a product page
- let's imagine that there are 2 options
[color, size]and their values[yellow, purple]and[S, M]. - the product variants are
[yellow, S]and[purple, M] - I click on
yellowthen I click onS - now I can't click neither on
purpleorMeven though they exist, I need to delete the params in the url (not user friendly at all) or go to the previous page and come back (not ideal)
I see 2 potentials solutions:
- add a feature to toggle on/off an option (I think that this UX is not really good)
- do the same as Amazon and let the ability to click on
purpleorMand automatically switch the other option to match the product variant
@william-fargues if this issue not solve can you assign it to me i want to contribute to it
@MrBlackGhostt I don't have the permission for that sorry