[vQmod] Hide Empty Categories
10 posts
• Page 1 of 1
[vQmod] Hide Empty Categories
Simple mod that hides empty categories on front-end
Tested on 1.5.x
This mod is currently not compatible with the following mods
subcat_images
remove category counts
Working on a solution
Tested on 1.5.x
This mod is currently not compatible with the following mods
subcat_images
remove category counts
Working on a solution
Happy Coding!
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
-

uksitebuilder - Posts: 5602
- Joined: Thu Jun 09, 2011 3:37 pm
- Location: United Kindgom
Re: [vQmod] Hide Empty Categories
Hi,
Super idea.
I have Accordion Menu installed. Any chance to use it for that mod?
Super idea.
I have Accordion Menu installed. Any chance to use it for that mod?
- onlinephilately
- Posts: 40
- Joined: Wed Jan 26, 2011 7:14 pm
Re: [vQmod] Hide Empty Categories
Not sure what or how the accordion menu is.
However, if you look at the code in the vqmod xml, it should be quite self explanatory on what you need to do.
It basically uses conditional statements to see if category count is greater than zero.
However, if you look at the code in the vqmod xml, it should be quite self explanatory on what you need to do.
It basically uses conditional statements to see if category count is greater than zero.
Happy Coding!
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
-

uksitebuilder - Posts: 5602
- Joined: Thu Jun 09, 2011 3:37 pm
- Location: United Kindgom
Re: [vQmod] Hide Empty Categories
Thanks for this contribution.
-

aurevilly - Posts: 67
- Joined: Wed Sep 28, 2011 8:32 pm
- Location: Sherbrooke, Canada
Re: [vQmod] Hide Empty Categories
uksitebuilder wrote:Simple mod that hides empty categories on front-end
Tested on 1.5.x
This mod is currently not compatible with the following mods
subcat_images
remove category counts
Working on a solution
Any chanse that you made it work with remove category counts?

Great VQmod!
- graded
- Posts: 44
- Joined: Sat Feb 25, 2012 10:14 pm
Re: [vQmod] Hide Empty Categories
Same any update on a sub_images and remove category count solution please? for 1.5.1.3
Thanks
Aaron
Thanks
Aaron
- aaron1988
- Posts: 256
- Joined: Thu Jan 27, 2011 2:03 am
Re: [vQmod] Hide Empty Categories
I removed the count by removing
from three locations of the mod.
Looks like its still working okay.
And thanks uksitebuilder, great mod. One less job for the client.
- Code: Select all
. ' (' . $product_total . ')'
from three locations of the mod.
Looks like its still working okay.
And thanks uksitebuilder, great mod. One less job for the client.
- mammax
- Posts: 1
- Joined: Tue Mar 27, 2012 4:59 am
Re: [vQmod] Hide Empty Categories
I am using 1.5.4 and the mod hides some of my categories that do have products in it. They are all parent categories where only the sub categories have products in them. I have another mod that shows all the product in the parent that is in the sub categories, but even after removing that the problem persists.
Is this maybe incompatible with 1.5.4?
Is this maybe incompatible with 1.5.4?
- 247shop
- Posts: 1
- Joined: Fri Jan 25, 2013 9:47 am
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: burley, cgchris99, creativesousa, OC2PS and 9 guests













