so currently on my stores home page I have a collection list with 4 collections added to them. 3 of them are for products but I want the 4th button to be a link to my contact page. I can’t find a tutorial on doing anything like this anywhere I have no idea how to do it lol. Any help would really be appreciated.
The problem is, is that natively collection buttons are used to link to a list of products and there is no settings in shopify to change it to the page I want to. Perhaps I have to code something or there something I just don’t know about?
- In the left-hand sidebar, under the “Sections” folder, locate the file that corresponds to your homepage section. It might be named something like
index.liquidorhomepage.liquid. - Open the file and look for the code that generates the collection list. It could be a loop that iterates over your collections.
{% if forloop.index == 4 %}
Contact Us
{% else %}
Shop Now
{% endif %}
Hello, I can’t see index.liquid or homepage.liquid I do have index.json though with this code…
10325136 764d 41c3 913a 6eaeb72692bc
type featured_collection
settings
collection custom-designs
Currently this is a collection list with 4 collections on my homepage I want the last button this one to link to my contact page. I have no idea what to do? Any help would be really appreciated