Hide Product from collection in storefront after product creation

Hide Product from collection in storefront after product creation

precycle
Visitor
3 0 0

By installing our App, the merchant will automatically create one product inside of his shop.

 

Is there an automated way to hide that product in a non-filtered collection in his storefront?

 

I am aware of collection filter block options in the themes where the merchant can customize the collection shown on the storefront. We have been asked in the last Shopify App Review to make it automatically hidden. Are there any Resources to work on or a workflow on how to achieve this use case?

 

Looking forward to a response!

Thanks for helping!

 

Best Regards,

 

Max

banned
Replies 2 (2)

precycle
Visitor
3 0 0

This is related to the same question here where setting `published_at: null` to the product makes it hidden from the online store but visible in the admin panel. See API docs.

banned
precycle
Visitor
3 0 0

Unfortunately, this is not a solution as it will make the product "out of stock" and not purchasable.

banned