How to Set a Product Page as the Homepage on Shopify?

Hello Shopify Community,

I have a specific product page for Shilajit Resin that I would like to set as the homepage of my store. Whenever someone visits my website, I want them to be directed straight to this product page instead of the default homepage.

Here’s the link to the product page: https://shilajitresin.co.uk/products/shilajit

Can anyone guide me on how to set this product page as the main landing page for my Shopify store?

Thanks in advance for your help!

@ZafarYaqoob1 - by default it is not possible, hence you will need to use javascript to redirect user from home page to this page

Hi @ZafarYaqoob1

You can add product page to your homepage by adding a Featured product section and put product’s description into a custom section.

@ZafarYaqoob1 , Use this section

You can do this by add this below code after the start of tag
{% if request.page_type == ‘index’ %}

{% endif %}

Thank you, Suyash1, for your response. I’ve implemented the Shopify page builder, which has enabled me to effectively showcase products and allow customers to add them directly to the cart from the homepage. This solution is working well for my store.

1 Like

Thank you, Dan From Rayviu, for your response. I’ve implemented the Shopify page builder, which has enabled me to effectively showcase products and allow customers to add them directly to the cart from the homepage. This solution is working well for my store.

I have found a better solution for this. Thank you, Asad Mahmood.

Exactly, I have used the same thing to show my Shilajit product on the frontpage because I had only one product.

@ZafarYaqoob1 great, do let me know if you need any further updates