sub-categories
Posted: Thu Nov 06, 2008 5:14 pm
Can you get sub-categories to show up - even if there are no products in the sub-category?
Thanks,
Reddirt
Thanks,
Reddirt
Code: Select all
if (node.CatalogNodeType == CatalogNodeType.Category)
{
addNode = (CatalogDataSource.CountForCategory(node.CatalogNodeId, true) > 0);
}
Code: Select all
/*if (node.CatalogNodeType == CatalogNodeType.Category)
{
addNode = (CatalogDataSource.CountForCategory(node.CatalogNodeId, true) > 0);
}*/
Find and comment out the following code in CategoryGridPage4.ascx.cs filewhat lines of code?
Code: Select all
if (node.CatalogNodeType == CatalogNodeType.Category)
{
addNode = (CatalogDataSource.CountForCategory(node.CatalogNodeId, true) > 0);
}