![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() dont want to display empty category
with the widget "categories" the site are hotells dot se and i dont want the "city with no hotel" to show in the list of cities! |
#2
|
||||
|
||||
![]() Hi,
If your category has no products, you could set it to hidden and then it won't appear in the categories widget. Eric
__________________
![]() ![]() ![]() ![]() |
#3
|
|||
|
|||
![]() thanks for fast answer!
I dont want to do anything manually. Perhaps one year there are a hotell in a city and the next year there arent any hotel and i wold be great if its done automaticle whith the categories display only categories with content |
#4
|
|||
|
|||
![]() hi again!
are there anyway to solwe my last question? |
#5
|
||||
|
||||
![]() Hi,
The only way is to set it to hidden. Eric
__________________
![]() ![]() ![]() ![]() |
#6
|
|||
|
|||
![]() manualy?
|
#7
|
||||
|
||||
![]() Hi,
Yes, or you could hide categories based on product count. That will require changes to your "Categories" widgets. To get the number of products in a specific category, you can use the PHP variable: PHP Code:
PHP Code:
Eric
__________________
![]() ![]() ![]() ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Store page category - pics dont display | thk1976 | Problems | 4 | February 20th, 2013 03:30 PM |
How do I exclude duplicates from an empty parent category? | drsylvie | Questions | 3 | October 17th, 2011 09:17 AM |
Display sub-category images on category pages | Eric | Tips, Tricks & Tutorials | 2 | August 6th, 2011 11:47 AM |
How to Not Display Category if it is Empty | patagonia | Questions | 3 | January 10th, 2011 03:52 PM |