How can I set my products page as the default homepage?

Topic summary

Goal: make a specific product page load as the default homepage in a Shopify store (ICON theme).

Options discussed:

  • Use a page builder app to set a product-focused homepage. One recommendation was PageFly (supports Shopify product elements, flexible, free tier).
  • Create a collection containing all products and display it via homepage sections. The OP noted ICON theme lacks the necessary sections.

Code-based approach (most recent update):

  • Add a conditional redirect in theme.liquid targeting the homepage template (index). Example provided:
    {%- if template contains ‘index’ -%} {%- endif -%}
  • Placement: insert this in theme.liquid before the head tag. Several users confirmed it successfully redirects to a chosen product page.

Issues encountered:

  • Earlier minimal code didn’t work for some and led to a collection page in the Baseline theme.
  • Some users reported it didn’t work until using the explicit JavaScript redirect with the correct product URL.

Status: partially resolved via the JS redirect; alternate app-based solution remains viable. No single official theme setting was identified.

Summarized with AI on January 8. AI used: gpt-5.

Thanks a lot for the feedback. Will surely give it a try and see.