Products are still discoverable when hidding the entire collection

Hi all,

I have lunched recently a bookstore (Dawn Theme) and I notice the following…
It is mainly a bookstore for a school so the children/parents can order their books or stationary once in a year (during summer break so they are prepared for September). I have created Collections according to their class, e.g. a collection could be ‘2nd GRADE’ and inside this collection there are products that could be ordered. Now, on the last day of orders’ acceptance I want this function not to be visible, meaning the clients should not to be able to order anymore. Thus, I hide the Collection (exclude from Sales). But the funny thing is although you get a 404 message (which is fine) and you can not see the products, IF you look for a book or anything else, that belongs to this hidden collection, through the Searchbar YOU CAN FIND IT AND ORDER IT.
Does anyone have come across the same issue? I would like when I hide a collection, the products to be hidden as well.
A workaround is to mark the product as Draft and not Active. But of course this is not possible for hundreds of books. Any ideas-recommendations?

Hi @jimkyrk :waving_hand:

Either a product is active on the online sales channel or it isn’t there is no native feature in the product-admin for conditional visibility of publishing.

Yes that’s how it’s meant to work, re-examine your thought process: collections are organizational tools not product mutators.

Products are products, collections are not products, products can go into multiple collections.

It would make no sense if turning off 1 collection would in turn effect ALL products in it , so in turn also effecting other collections ALL those products are in; bad dominoes for a native behavior.

For the online-sales channel theme, to hide products(active status) requires advanced theme customizations or content-gating/access-control apps like locksmith.

Theme customizations are like a wholesale customization and require customer to be logged in and be tagged or some other datapoint that’s used to let them see a products rendered content. Neither customizations and apps can disable the ajax api endpoints or things like permalinks etc so depending on use case having a backend automation to reject invalid orders is also prudent.

If you need this customization then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Hi @jimkyrk !

Does anyone have come across the same issue? I would like when I hide a collection, the products to be hidden as well.> A workaround is to mark the product as Draft and not Active. But of course this is not possible for hundreds of books. Any ideas-recommendations?

I’ve checked this way and it works very fast if you set your books as Draft in bulk.

  1. Filter by collection

  1. Select the books

  1. Click on Set as draft

  1. Check the books and collection

1 Like