Change "view all" link on homepage's Featured Collection section.

Highlighted
New Member
5 0 0

On my homepage, under the "Featured Collection" section, there is a "view all" button that links to another page with only that collection's products listed (see attached image).   I would like to change this link to a page to view all my products in every section.

 

In addition, is there a simple way to add a button/link to any desired section or location on my site?

 

Screenshot: https://ibb.co/gUb7kc

site link:  https://aworldofcrypto.com/

 

 

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
524 1 74

Hey, Spierce!

My name is Alex, I'm a guru here at Shopify!

It's difficult to give an exact answer without knowing what theme you're using, but in general you've two options; looking for ways to change that in your theme's customization options, or changing it via your theme's code.  If it can be changed in the settings, then you should be able to find it by going in your admin to online store > themes, clicking on the 'customize' button, and then clicking on the section in your theme you'd like to alter.  

If you're not able to find anything there, there's always the possibility of customizing your theme's code to point that where you'd like - if this is a Shopify-made theme, I'd be happy to take a look into this for you!  I'll send you an email out after I've posted this response, just respond to that with your theme's name and I'll get to work on this for you, and if it's beyond my capabilities we can always reach out to our experts on the theme team!

As for the link, that's something that would be easier to create than a button; you would create this by using this syntax:

<a href="https://DESTINATIONURL.com/">Text you would like to appear</a>

Once created, you could then insert this anywhere you'd like in your site; this may take some trial and error, but it's absolutely doable.  If you'd like, respond to that email with more details of what you'd like to appear and where, and I'd be happy to advise on how best to get that done!

Hope that's helped!  Please feel free to let me know, and you can always give us a call or start a live chat at any time.  We're open 24/7 for your convenience and always happy to assist!

Cheers,

Alex | Shopify Guru

0 Likes
Highlighted
Tourist
3 0 1

Hey Spierce, I just looked into this one yesterday on my Debut theme and got a workaround without having to add a new button. All I did was what Alex suggested basically, changing the destination of that button to a different page.

I went to edit code > sections > collection.liquid

Around line 53 you should see "{% if section.settings.show_view_all %}" That is where you want to be. Right under that you will see an href reference pointing towards somewhere. Change that to the exact destination you want for your entire catalog, for me it was the following.

<a href="https://valley-uprising.com/collections/all" class="btn">

Hope that helps

0 Likes
Highlighted
Excursionist
76 1 2

How do I change the label of the button from View All to Shop Now



 

1 Like
Highlighted
New Member
1 0 0

@gofuturefresh I recently did this in on the Debut theme. Here's what you have to do:

 

1) Locate the collection.liquid code

 

2) Here, you should find a line of code that looks like this:

<a href="{{ collection.url }}" class="btn" aria-label="{{ 'collections.general.view_all_label' | t: collection_name: collection.title }}">
{{ 'collections.general.view_all' | t }}
</a>

3) Replace {{ 'collections.general.view_all' | t }} with your text 

0 Likes