Launching a new Theme without disrupting current theme

I currently have a Shopify store. We are going for a rebrand and we are launching new products with this rebrand. We will be using a new theme. However, we are running into a problem. We can’t load any collections into the new theme…without them being visible on the current store. Since we are launching new products we don’t want them on the current site until we relaunch the whole enchilada. any thoughts on a work around?

You can tag collections or products which you dont want to show on the current store ..like “hidden” and then add a check point in liquid code for product and collection template of something like

{% unless product.tags contains 'hidden' %}
///everything under this
{% endunless %}
1 Like

would that allow the items to show up in the yet to be published theme?

yes, since the hidden check is in the current theme only

1 Like

Greatly appreciate the help here.

While i have had a shop for several years, i tend to stay away from the backend of the thing. I tend to only know enough to really jack it up. the code line you posted for the “hidden” gate, where would i insert that?

It actually depends on the theme you are using, it should ideally be product-template and collection-template under the sections folder, but it may defer and could be named something else.

Please share store URL and will log when I have few minute through collab access and add it

https://real-endurance.myshopify.com/

thanks.

Chance@real-endurance.com