Developer forum

Forum » Ecommerce - Standard features » Hiding empty product groups

Hiding empty product groups

Scott Forsyth
Reply

Sometimes with automated integrations or with Assortments there are product groups without any products in them. Is it possible to have empty groups be removed from the group list so that they don't show up on the site? This should apply to the navigation and to any group functionality.

I assume it's possible and I'm just wondering how to set that. 

There is an ecom setting to "Add product count to each group". I assume that could be used for this. Is that the only option?

Thanks,

Scott


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Scott

Adding the product count and take it into consideration in your xslt is the way to go for normal group navigation.

If you are using assortments, it should remove those automatically if you are on a version new enough to support it.

BR Nicolai

Votes for this answer: 1
 
Scott Forsyth
Reply

Hi Nicolai,

Thanks! Good to know that is the proper way to go. We'll do that.

Scott

 

 

You must be logged in to post in the forum