Hide/grey out colour swatch when size not available
-
Hi there,
I am using this plugin on a variable product that is available in different colours and sizes but not all colours come in all sizes.
If the customer selects White/Red Gingham/XS but then changes their mind and clicks on the White/Navy Gingham colour swatch , this throws a javascript pop up error “Sorry, no products matched your selection. Please choose a different combination.” because the size XS was already selected but White/Navy Gingham is not available in that size. If you just view the White/Navy Gingham swatch and then pick size, the size options don’t offer extra small.
We need a way to hide or grey out colours that are not available in that size to prevent the user clicking them and getting that pop-up error. It’s not massively obvious at the top of the browsers screen and until you acknowledge it you can’t do anything else on the page (change selection etc) which is bad UX.
Is there a fix for this please?
Thanks,
CharlotteThe page I need help with: [log in to see the link]
- The topic ‘Hide/grey out colour swatch when size not available’ is closed to new replies.