I don't want to show product groups in the menu that don't have any products.
How can I do this?
I don't want to show product groups in the menu that don't have any products.
How can I do this?
Hi Paul,
Go into the Control Panel, and check the General and Prices option. You'll find options there for products only.
For product groups, try manipulating through javascript
Nuno
nuno wrote:
Hi Paul,
Go into the Control Panel, and check the General and Prices option. You'll find options there for products only.
For product groups, try manipulating through javascript
Nuno
I'm using xslt to create the menu.
Can't you do this without using java?
Isn't there a way to use count to see if a goup has any products.
The problem is that I don't know how to get the products from the groups.
Unfortunately information about the number of products in a group is not provided in the XML output.
Sorensen wrote:
Unfortunately information about the number of products in a group is not provided in the XML output.
Is there another way to get hold of the product count in a group?
If you've seen the videos from the pretech review(if not, you can watch them here: http://developer.dynamicweb.dk/Tech-Review-2008-2-28453.aspx), you've probably noticed the new ProductList notification subscribers. Using those you can access the collection of products and also the Products.Count property.
I don't know if this helps, but there's a beta available that you can do some experimenting with, if you want to.
You must be logged in to post in the forum