hi
Im trying to add a back button to the main collections main under ALL COLLECTIONS. can anyone help?
pw-080790
hi
Im trying to add a back button to the main collections main under ALL COLLECTIONS. can anyone help?
pw-080790
@Dailythings its easily you can do this can you just go to theme customization open collection page and just open collection section then enable add to cart button show
im trying to add a ābackā button.. not a add to cart button tho
Hey there,
To add a back button to the main collections page under āAll collectionsā in your Shopify store, youāll need to edit the collection template file. Hereās a general approach to accomplish this:
{% if collection.handle == 'all-collections-feature-tea-sake' %}
ā Back to Home
{% endif %}
This code will add a āBack to Homeā button only on your main collections page with the handle āall-collections-feature-tea-sakeā. The button will link back to your storeās homepage. You may need to adjust the styling to match your storeās design. The current style is a basic gray button that darkens on hover.
Feel free to reach out in case you need any help with this. Iād love to do this for you
Cheers!
Shubham | Untechnickle
How do i change the button to back to previous page any idea?
To go back to the previous page, and not the home page always please use this code:
{% if collection.handle == 'all-collections-feature-tea-sake' %}
ā Back
{% endif %}
Do Like and Accept the Solution so that others can also benefit from this.
Cheers!
SV | Untechnickle