Preview hidden product in unpublished theme.

Highlighted
New Member
1 0 2
Is there a way to force Shopify to show you an unpublished product in a preview theme? I am working on new products that cannot be made live until the launch of the new site and we will change the theme at launch so I want to confirm that the new products look good with the new theme but cannot work out how to view the “hidden” products in the new “unpublished” theme. Please help!
2 Likes
Highlighted
Shopify Partner
1360 158 241

Unfortunately, you cannot do that. You might to consider apps like Locksmith or craft a custom pice of code to make sure there is no way for the customers to reach out to these products, still leaving an option for devs/merchants to open the PDP for the product (lock based on a URL parameter as example for javascript based solution or a tag for liquid based solution)

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes
Highlighted
Tourist
4 0 2

I found this post while searching for help on this topic myself. I figured out a solution, and thought I'd share. This will surely be months too late to help you with the site you were working on, but for future knowledge, this *is* indeed possible.

 

Steps to view an unpublished product in an unpublished theme:

 

1. Preview the theme you'd like to view the product in

2. In the Preview Bar that Shopify adds in the site click 'Share Preview' and copy the link.

3. Go to your unpublished product, and click 'Preview'.

4. This will land you at a URL that looks something like

******.shopifypreview.com/products_preview?preview_key=some_long_key

5. Copy this part

/products_preview?preview_key=some_long_key

6. Append that to your theme preview link and it should preview your product in your desired theme.

 

1 Like