View more button for featured collections

shaneesprints
New Member
4 0 0

Hello! So i have some featured collections i want to add to my turbo theme. however i notice that there is no "view more" button to link to that specific collection. Is there a piece of code to help with this? I am on turbo portland theme.

Reply 1 (1)
SheetalZadfiya
Excursionist
57 11 9

Hello @shaneesprints 

 

Please add this below code at the end of the structure of the products in the featured-collection.liquid file in the sections.

 

<div style= “text-align: center;”>
  <a href="{{ collections[section.settings.collection].url }}" class="view-more-button">View More</a>
</div>

 

Happy Coding!!

If our answer is helpful then please feel free to Like and Accept it as solution!
Hire our Shopify Developers for all your small & big needs:
New Store Development | Custom Theme Development | Site Speed Optimization
Email: hello@mintyourstore.com | Instagram: @mintyourstore