How to set product page as an index page?

New Member
5 0 0

I just need a single page from which I'm able to sell one single product. However I'm confused since I don't know how to do it. I'm not sure how I should link that one product to the index page because when I copy the code from product template I'll get some liquid error that product needs to be selected. Is it somehow possible to select the product ID and put it to product template so only that product will be displayed? 

I tried a code that redirects my page after loading to the product page but that doesn't work as the site keeps refreshing over and over again.

I put this to theme.liquid and the end of the body tag:

    document.addEventListener("DOMContentLoaded", function() {
               window.location.href = "";

My website is :

The product I'm trying to link:

Password: rimeog