πŸ•ΈοΈHow to hide add-on products from Shopify search?

First create a metafield definition for hiding the products:

Please go to settings.

Go to settings

Click custom data -> products

Custom data

Here only Namespace and key is the critical for us. Name and description could be anything to define the action to us.

Name: Hide Products From Shopify Search

Namespace and key: seo.hidden

Description: Hide active products from Shopify Search

Then click Select Type and choose Integer and save it.

Metafield definition

Now apply this metafield to our add-on product:

Please go to products -> scroll down to see Metafields section and write 1 in there and click the save button.

After completing these steps, add-on product should be hidden when it is searched on your Shopify store.

Last updated