How can I change the 'Shop Now' button link on my homepage?

https://directcomputers.myshopify.com/

Password - flowma

Hey guys on my homepage i was wondering if anyone knew how i can link the “Shop Now” button below Desktops & Laptops to a different link than the collection link. shown below. The main reason for this is because i’ve created a specific collection to showcase on the homepage. That collection only contains 5 products i’ve selected for the feature. I wanted to link it to https://directcomputers.myshopify.com/collections/computers-devices so they can see all laptops and desktops, can anyone help?

Hello @Anonymous ,

Edit dynamic-featured-collection.liquid under ‘Section’
Now here search for

{% if selected_collection.url != blank %}href="{{ selected_collection.url }}"{% endif %}

once you find it then replace it with

{% if selected_collection.url != blank %}href="/collections/computers-devices"{% endif %}

Now save the file and it will done.
But keep note don’t break anything otherwise you will face other issues.

Thanks

That code isn’t in that file do you have any other ideas?

Found it, was in

featured-collection.liquid