I have a product page that features many different collections. I want it so that if you click on a particular collection it redirects to a page instead of the collection itself. I tried URL redirects, but apparently, that only works if you have a 404 on the initial page.. Is there anyway I can do this?
Any help would be appreciated!
My name is Ava, I’m one of Shopify’s Gurus and I’m here to help :)
In order to do this, you would need to add some coding to the bottom of your collections.liquid template.
If you go to Online Store > Theme > Actions > Edit Code, you can access your themes HTML/CSS file. If you scroll to the collection.liquid template, you can try adding this piece of code to the bottom of the template -
Then save your changes!
This code would be similar to the one mentioned here.
This should work for most cases, but I wouldn't be able to guarantee this will work for you for sure. It would really be best to speak to a Shopify Expert about making these changes, they can tailor it to your store specifically!
Changes like this would be unsupported by our team here, so they would not be able to assist further.
Let me know how you get on!
Social Care Guru | firstname.lastname@example.org
I'm clicking through your website now and am not seeing any errors, the pages all seem to be directing me to the correct URL. I did notice there was a section of the homepage here that is not bringing me anywhere, is this the section you mean?
Could you go to Online Store > Theme > Customize to open the Storefront Editor? Here, you should be able to make sure a collection has been added to this section of the theme! Could you make sure a collection is added? Also, is this happening anywhere else on the site? If so, can you give me examples here?
Social Care | help.shopify.com
Hi Ava, sorry my late reply. The link didn't work because the collections were empty. They are now full. But still, in theme costumization the only option it's to redirect that to collections as it's a collections list. Didn't want to change from collections list as the design it's the one wanted.
Pedro from horseXperiences.com