To create a one-page website for your Shopify store where only a product page is visible and no other pages (like the main page or collections), you can do the following:
1. Set up the product page as the homepage
- Go to Online Store > Themes in your Shopify admin.
- Click on Customize for your active theme.
- In the left sidebar, select Homepage and change it to Product page. This will set your product page as the default page when visitors land on your site.
2. Remove the Navigation Links (Collections, Main Page)
- Go to Online Store > Navigation.
- Under Main menu, remove any links you don't need (e.g., Home, Collections).
- Optionally, you can create a custom menu with just your product page link if you want to retain navigation but only point to the product.
3. Redirect all URLs to the Product Page
- You can set up redirects so that when someone tries to access the homepage or any other page, they are automatically redirected to your product page.
- Go to Online Store > Navigation > URL Redirects.
- Add a redirect for / (the homepage) to the product URL.
4. Remove any other pages
- Delete any unnecessary pages from Online Store > Pages that you don't want to display.
5. Update the theme to remove collection listings
- If the theme displays collection listings anywhere, you might need to edit the code. Go to Online Store > Themes > Actions > Edit Code.
- Look for files related to collection listings (e.g., collection.liquid, index.liquid, or any sections like collection-list.liquid) and remove or comment them out.
This will give you a one-page site with just the product page showing. If you need more customizations, let me know!