Happening now! Shopify Community AMA: PayPal Express Migration to Shopify Payments | Ask your questions to be answered by our team.

Re: How can I hide products from the store but still have them available for purchase?

How can I hide products from the store but still have them available for purchase?

BeWater
Shopify Partner
22 0 5

I need to be able to have certain SKUs available in Shopify, since they are navigable from landing pages we have in a 3rd party system (influencers), but I don't want people to be able to access them through the "/collections/bundles" page. 

Replies 9 (9)

taftera
Shopify Partner
7 0 0

First you can tag your bundles with something like "bundle-product", then create a copy of your collection page and update the filtering of the items to not display if product bundle contains "bundle-product" on the forloop.
Somthing like this.

{% for product in collection.products %}
 {% if product.tags contains 'bundle-product' %}
   {% comment %}leave it blank here because you dont want to show them{% endcomment %}
 {% else %}
   {% comment %}continue your normal collection loop info here{% endcomment %}
 {% endif %}
{% endfor %}

 

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on [email protected] regarding any help.
BeWater
Shopify Partner
22 0 5

Hmm, I am not sure what you mean by creating a copy of a collection page. I am also not sure which file the products are in. I see them in a few files. I have only been coding in Liquid for 1 week but I have to complete this task for work. Imposter syndrome in full effect here... So much on the line it is stressful. 

taftera
Shopify Partner
7 0 0

Hi @BeWater ,
I know it could be stressful, if you want some professional help I could do it for you.
My email is on my profile, send me a message and we can discuss the minors of it.

Best
Alex

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on [email protected] regarding any help.
taftera
Shopify Partner
7 0 0

Hi @BeWater ,
The change you are in need, isn't a simple Shopify configuration.

There are a few ways of implementing it.

  1. The solution I provided that will need to be done para someone who knows how to code.
  2. Install and pay for monthly support from an app like locksmith
  3. Doing some collection handling like @Skye is suggesting

Hope this helps to clarify

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on [email protected] regarding any help.

Skye
Shopify Staff
1146 99 211

Hi, @BeWater 

 

That's a great question. Thanks for posting!

 

If you want influencer's to be able to order the product from you, but not the general public, simply not adding this product to your live collections will prevent that. This way, the product is technically available in your online store, however only via direct link. Once you create this product in your Shopify admin, you will see the URL at the bottom of the product page and be able to provide that to influencers for purchase.

 

I hope that helps! In the meantime, are you using an affiliate program for the influencers you work with? If not, I recommend checking out Shopify Collabs. It's a great way to connect and expand your influencer outreach.

Skye | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
BeWater
Shopify Partner
22 0 5

Thank you for replying Skye, however I am unable to add products. I am only able to hide what already exists. Do you know of a way to remove items from collections while having them still be buyable with a direct URL?

Skye
Shopify Staff
1146 99 211

Absolutely! 

 

Simply open the collection in your Shopify Admin and via Products > Collections. If it is a manual collection you can select the X to remove it from the collection. If your collection is Automatic, then remove the tag, or identifying feature that is used to associate it with the collection.

 

This will still keep the product available to purchase via the product's direct URL, however, remove it from the collection.  

Skye | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
BeWater
Shopify Partner
22 0 5

It is an automatic collection. And when I remove all tags, the products still display in "all" products.

So I created a condition in the 'all' products collection that checks the "type", and then I created a "type" titled "Hidden" so whatever I want hidden from the store but still buyable, I just add the "type" titled "Hidden".

I do not know if this is industry standard, but I completed the ticket and the other devs have not said anything. 🙂

Michael_Ballard
Shopify Partner
1 0 0

Rather than having to do this, is there a way just to have each product as URL only? Amending for all collections is not realistic due to the way I have to create the rules for these collections (e.g. some collections are only set as 'does not contain' which means I cannot exclude an individual product.