Jump to content

Product Variant redirect links

Go to solution Solved by paul2009,

Recommended Posts

Can I add URL links for product variants to redirect to the specific variant (color) product page?

For example, if a tshirt is available in 3 colors - Black, White and Blue and I have product pages with corresponding photographs for each colorway, is it possible for customer to select the variant/swatch on product page and redirect to the product page link that connects with that colorway?

Without this, inventory is getting doubled up.

Link to comment
  • Replies 3
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
On 7/24/2023 at 5:03 PM, NOWAD said:

if a tshirt is available in 3 colors - Black, White and Blue and I have product pages with corresponding photographs for each colorway, is it possible for customer to select the variant/swatch on product page and redirect to the product page link that connects with that colorway?

If the colourways are variants of the same product - colours of the same T-shirt - the variants will share the same product URL.

It is not currently possible to link to a specific variant using any of the built-in features. In theory, it could be custom coded, but I am not aware of any existing code solutions for this.

The code would need to check if the page has a URL slug that quotes the variant code. If it existed, it would then need to check if this code exists on the page and then select it from the variant dropdown.

Edited by paul2009

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment
  • 7 months later...
On 7/24/2023 at 7:03 PM, NOWAD said:

Can I add URL links for product variants to redirect to the specific variant (color) product page?

For example, if a tshirt is available in 3 colors - Black, White and Blue and I have product pages with corresponding photographs for each colorway, is it possible for customer to select the variant/swatch on product page and redirect to the product page link that connects with that colorway?

Without this, inventory is getting doubled up.

Looking for the same solution, for different reasons. Did you come up with a solution how to link a variant photo to url? In theory, indeed it should be possible but my skills are nowhere near there. My only need is to add a link to the variant picture

 

Edited by takis-7124
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.