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

Topic summary

A store owner wanted to set a specific product page (Shilajit Resin) as their Shopify store’s homepage, so visitors would land directly on that product instead of the default homepage.

Solutions Proposed:

  • JavaScript redirect: Add code to the theme’s <head> tag that automatically redirects from the homepage to the product page
  • Featured product section: Use Shopify’s built-in featured product section on the homepage with custom description sections
  • Page builder approach: Utilize a Shopify page builder app to showcase products with direct add-to-cart functionality

Resolution:
The original poster implemented a page builder solution that allows customers to add products directly to cart from the homepage. This approach worked well for their single-product store, effectively achieving their goal of prominently featuring the Shilajit product without requiring custom code modifications.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

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