How to supress categories without products

How to supress categories without products

MichaelMack
Visitor
1 0 0

Will a category on my menu not show up IF I don't have a products within that category?

Reply 1 (1)

Iris
Shopify Staff
826 67 110

Hi @MichaelMack ,

 

That is a great question!

 

Collections (categories) you see in the main menu are manually added in the Navigation section. If there are no products in the given collection, it will be still visible as an item in the main menu. This guide will take you through the steps of adding or editing menu items within Shopify admin. 

 

It is possible to edit the theme code and have the empty collections disappear from the menu once they’re empty. One of the Community users provided a custom solution on this thread. 

 

If you don’t feel comfortable editing the template code yourself, you can always reach out to our Support team. Assuming your store has enough complimentary design time left and you are using Shopify free theme, our team can check if we can help make this customisation. 

 

Feel free to reach out to our Contact Us page on this link. Then you can log in to your store. It will allow us to verify you as the store owner securely. Once you have successfully logged in, you should be able to reach out to a Support Advisor and discuss the customisation request. 

 

Let me know if that works for you.

Iris | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog