News:

Support the VirtueMart project and become a member

Main Menu

Hide Empty Categories

Started by autarh, April 14, 2013, 16:31:52 PM

Previous topic - Next topic

autarh

Hi,
I would like to know how to hide all empty categories?

balai

From the categories module or from the VM category page?

autarh

Quote from: balai on April 15, 2013, 09:40:46 AM
From the categories module or from the VM category page?

vm category ... for example.. i have some categories that are empty no products in them... so idea is that visitors can not even see empty categories. it is not looking good for visitor  to go inside category and not to find any products

balai

Where?
In the module or in the categories at the top of the page?

autarh

#4
Quote from: balai on April 15, 2013, 10:48:57 AM
Where?
In the module or in the categories at the top of the page?

i am not sure what r u asking me :( i am speaking about producst category.. for example

i have category hardware and sub categories printers , memory , hard drive... and i am all out of memory .. so i do not wont to displat memory  category

jjk

You have several options, i.e.:
- You could enable stock control and display an 'in stock' image when your products are available and display 'out of stock' or 'sold out' when you don't have any left.
- You could simply unpublish the sub category link from the menu and/or unpublish the subcategory.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

autarh

i agree, but is there some automatic way ? for example VM shows category while there is products on stock.... as soon as products are out of stock he hide category ...

i have more than 2200 products in 180 categories and subcategories... (www gusari com) every day we have to update over B2B portal ...

balai