Variant in URL ( - how to prevent the redirect?

Shopify Partner
6 0 3

Hello, I have products with 4 variants each, 


example: (1 pack) (3 pack) (6 pack) (12 pack)



When I land on:


There is eventually a JavaScript redirect to:


Our SEO agency advises against this and suggests we make it work without the redirect.


Is there any way to do this? and keep variant deep-linking working. I don't have any issue with the other variants being accesible via the links: (3 pack) (6 pack) (12 pack)


But I just don't want any "JavaScript redirect" to occur.


Is this core shopify functionality? Or I can override this behaviour?





Reply 1 (1)

Shopify Partner
158 20 29

Hi, @sdevscotland 


I can see my development store works well without redirect.

It might depends on your theme. what theme are you using?

Can you share your store URl and let me have a check? Thanks

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out. EMAIL ME