Jump to content

Is there a way to make one variant affect another

Recommended Posts


I have a client who sells shoes. She wants her customer to be able to select what sizing convention they want to use (American, UK, EU) and have that selection dictate which size options appear in the sizing dropdown. Any help, advice, plugins, or workarounds would be greatly appreciated. Thank you

Link to comment

I know of no code that currently does this and I don't have a solution but some observations.

I think it might be possible to come up with some code that could do this.

The idea would be to have some code monitor the size dropdown and store the last selection in localStorage (it's a browser thing). Then when another product detail page is loaded the code would attempt to pre-select the size option previously selected.

The storage would be per browser/device. If a site visitor made a selection at a session, then went to another session/browser/device, the selection would have to be made again. So this potential effect would be an aid per shopping session.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.