You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 yellow then I click on S
now I can't click neither on purple or M even 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 purple or M and automatically switch the other option to match the product variant
The text was updated successfully, but these errors were encountered:
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:
[color, size]
and their values[yellow, purple]
and[S, M]
.[yellow, S]
and[purple, M]
yellow
then I click onS
purple
orM
even 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:
purple
orM
and automatically switch the other option to match the product variantThe text was updated successfully, but these errors were encountered: