Shopify themes, liquid, logos, and UX
Hello Everyone, Please how can I change my products page into the default homepage. I want it to be the first page that everyone sees whenever they visit my site. I am using the ICON theme, but I can't seem to find any solution from the settings. Also, google doesn't seem to have all the answers.
Thank you in advance.
Munir!
You create a product page and set it as the default homepage using a page builder. It's a way to work around. I use PageFly Apps - a new and advanced page builder. About 25 elements, quite flexible. It has an element that supports Shopify product also. Still be free. It's good to try 😉
Some inside look:
Thanks a lot for the feedback. Will surely give it a try and see.
Can you not just create a collection that includes all of your products and then use the sections on the homepage to insert it? Requires no coding or advanced knowledge and should take you a few minutes.
The template doesn't have the ability to create sections. But thanks for the response. Appreciate it!
Add the below code insert theme.liquid before the head tag
{%- if template contains 'index' -%}
<script>
window.location.href = '/products';
</script>
{%- endif -%}
Hi where do i add the code
Hi @Ben231
Add the below code and insert theme.liquid before the head tag
Hello do you have any idea how helpful this was thanks
The link in my tiktok bio goes to my default product now 🙂
im not sure this works for me?
Thank you for helping. Although when I add the code to my theme i get the collection page instead of a product page. Any idea how to fix that? Using baseline theme.
Yeah, i got the same issue, no idea how to fix it
{%- if template contains 'index' -%} <script> window.location.href = 'https://example.com/products/example'; </script> {%- endif -%}
Just add the product url in between ' '. Thanks
Thank you!!!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024