Top

Hide OPTIONS_HIDDEN_PRODUCTS from Tag List

To hide OPTIONS_HIDDEN_PRODUCTS from the tag list, follow these steps:

  1. From "Shopify Admin", Create a collection entitled Hidden Products.

    create a collection entitled Hidden Products 

  2. Under "Conditions", select Automatically select products based on conditions.

    select automatically select products based on conditions 

  3. Select Product type.

    select product type 

  4. Select contains.

    select contains 

  5. Select OPTIONS_HIDDEN_PRODUCT.

    select OPTIONS_HIDDEN_PRODUCT 

  6. Select Save collection.

    Select Save collections 

  7. Select each of the other collections one by one.

    Select each of the other collections one by one 

  8. Under "Conditions", select Automatically select products based on conditions.

    select automatically select products based on conditions 

  9. Select Product type.

    select product t ype 

  10. Select does not contain.

    select does not contain 

  11. Select OPTIONS_HIDDEN_PRODUCT.

    select OPTIONS_HIDDEN_PRODUCT 

  12. Select Save collection.

    select save collection 

  13. Repeat steps 7 - 12 for each collection.

    repeat steps 7 - 12 for each collection 

That's it!

Now all options hidden products should be in the OPTIONS_HIDDEN_PRODUCT collection and not anywhere else. That tag will not show up in the other collections.

If you are still seeing the options hidden products in other collections, look in the liquid files (theme.liquid, header.liquid, sidebar.liquid) for this code:

{% foreach tag in collections.all_tags %}

Copy and paste this code after that line:

{% if tag contains 'HIDDEN_PRODUCT' %} {% break %} {% endif %}

Save the file.

Next Steps:

Blog Posts: