Using Metafield To Prevent Product Showing Up in "all products"

Using Metafield To Prevent Product Showing Up in "all products"

vjomaa
Tourist
7 0 1

Hi There!

I have an active product in my store that I do NOT want to be visible very easily. The link has been shared with a small group of people to purchase, but do not want it to show up when you click the 'all products' button on my site.

I have used a metafield to prevent it from showing up in the search bar, it has no tags, and is not added to any collections. The only place I need help removing it from is the 'all products' page.

Any suggestions?

 

Thanks so much!

Replies 3 (3)

PaulNewton
Shopify Partner
7721 678 1625

Adjust the logic of the 'all' automatic collection to not actually include all products.

Most such collections get setup to with a condition for any product with a price greater than 0 (zero).

Find some other condition combination that will get every other product but the product meant to be hidden.

 

Otherwise make it a manual collection instead and do not add the relevant product.

 

 

The alternatives are:

theme customizations to not render that product in the relevant areas.

theme membership customization so only tagged customers can add the product to the cart normally.

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


vjomaa
Tourist
7 0 1

Thank you for responding! I debated creating a new collection but changing the logic on the default ALL collection would be simpler to maintain - do you know how to do this?

PaulNewton
Shopify Partner
7721 678 1625

Take control of the all collection aka the catalog page

A stores online sales channel includes a /collections/all page url by default generated by shopify.

 

Caveat if this is high traffic store and the /all , aka catalog page, is heavily used in marketing or by customers only do the following during lower traffic times.

 

https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-... 

 

Broadly you just go into collections, if there is no "all" collection then create it with that exact handle "all"  as either an automatic or manual collection thus overriding the default platform behavior.

As for what the specific automatic conditions would be to exclude a single product I have no where near enough context to even guess.

Depending on how many products there are and and lack of logic it may be simpler to make it a manual collection to hand curate what products are in it.


Besides collection conditions it may be possible to use shopify-flow app add-product-to-collections or remove-product-from-collection actions to automate this process with a manual run https://help.shopify.com/en/manual/shopify-flow/reference/actions/add-product-to-collections

https://help.shopify.com/en/manual/shopify-flow/reference/actions/remove-product-from-collections 

https://help.shopify.com/en/manual/shopify-flow/manual  

 

 

If you need this thought through and setup you can contact me by DM or directly via info in my signature. Please provide context: posts urls, store urls, theme names,  problem statement.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org