Skip to main content

How to hide a Product from the product list and search page

Description

In this doc, we will see how to hide a product from the product list and search page using the Shopify admin. We will be using the Shopify admin to create a metafield for the product and then use the metafield to hide the product from the product list and search page.

Steps

  1. Go to the Shopify admin and click on settings.
  2. Go to custom data and click on 'products'.
  3. Click on 'Add definition'.
  4. Now create a new metafield with the following details:
  5. Name: appmaker hide product status // sample name
  6. Give Namespace as appmaker and key as hide_product_status
  7. Select type as boolean
  8. Select storefront from the access option on right side
  9. Click on save
  10. Now go to the single product page and navigate to the bottom of the page.
  11. You can see the metafields section there.
  12. In appmaker hide product status metafield, select the boolean type
  13. Click on save.

Referece video:

https://drive.google.com/file/d/1wenAeA56m4wbOoXdz79SDFghY-q7jtMY/view?usp=sharing