Collection page as homepage

Collection page as homepage

Elliott94
Excursionist
27 1 0

Hello, 

 

I would like our collection page to become our home page.

Right now our URL leads to this https://hennertonstore.com/

I'd like to do away with this homepage entirely and the first thing customers see be this https://hennertonstore.com/collections/all 

In an ideal world this would also read like the homepage URL above and be without /collections/all in the browser.

 

Any help would be greatly appreciated. We are using the TASTE theme. 

 

Thanks!

Elliott

Replies 4 (4)

lynth
Shopify Partner
80 3 6
Elliott94
Excursionist
27 1 0

The first one is outdated and the second one doesn't have a response. 

I've read multiple before but nothing I have found is working. 

 

Any up to date help would be great thanks. 

lynth
Shopify Partner
80 3 6

It should work, paste it into the theme.liquid,  but your address will be https://hennertonstore.com/collections/all, and forcing auto redirection isn't the best way. 

{%- if template contains 'index' -%}
<script>
window.location.href = '/collections/all';
</script>
{%- endif -%}

 
Another way is to edit your home page by theme customization panel and add a collection section there if it's possible. If not, then you have to edit the index.json file and implement the collection code snippet there. 

If my tips are useful, just mark it as the solution. Cheers!
Feeling grateful? Buy me a coffee!
Elliott94
Excursionist
27 1 0

This doesn't work as intended either unfortunately. You get a flash of the current homepage and then it directs to the collection page. 

 

There isn't a way to customise exactly as we need within the theme either.