Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all so i was wondering whether it was possible to set one of the shopify pages as the main homepage for the website? i.e instead of having the home page you start your theme with be the landing page could i set a different page as the landing page? or could i possibly assign a page template to the landing page / home page? im new to liquid so im not too sure how to do this
Hello Korrupt,
I don't think that's possible in Shopify.
We had the same issue. After connecting with their experts, we found that functionality is not available, like how in Wordpress you can choose which page you want to showcase as homepage, its not possible to have the same functionality in Shopify.
Else you have to hire a Shopify Expert, which is pretty weird. as on our website, we dont have control to show which page we want to know as homepage/landingpage and on top of that we need to pay Extra to get that basic functionality.
Yes. Typical shopify road block
Yes, this is a terrible/inexcusable gap in the Shopify site admin experience. I created a staging home page and now can't switch or assign the home page to this page. Now I have to duplicate this page on the existing home page! Sooo bad!!
There’s a workaround, you could setup a redirect from your home page url to your landing page
How do you do the workaround?
{%- if template contains 'index' -%}
<script>
window.location.href = '/products/(insert whatever is in the URL)';
</script>
{%- endif -%}
Click on the 3 dots next to customize theme and past this in the theme.liquid section near the top of the categories on the left. when you paste it make sure to paste it just above the head section. if you have any trouble with this message me back or paste what i just said in chatgpt and ask it to explain the steps better!
For added clarity:
Online Store --) 3 Dots next to "Customize" --) Edit Code --) Under the Layout folder, select the section "theme.liquid" --) Copy and past the line of code provided by user Cal35 above everything else you see in there --) modify the URL in the line of code so that it redirects to the webpage you want *only need to write the portion of the URL after the domain --) Save
Hello,
I am trying to set a page built with Gempages as my home page. It worked well with the code, but I would like to keep the visible URL basic (i.e. domain.com), or at least close to it (like domain/home), but I cannot get rid of "pages", so it looks like domain/pages/home. Is this something we can change?
Thank you
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024