![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Is there a way to display in ( )'s next to each category and each sub category how many items total are in the respective category? Like they do here. http://www.pricegrabber.com/sporting...-bags/p-1647/#
|
#2
|
|||
|
|||
![]() You can use the following shortcode in your categories widget view WIDGETS > Categories > Category list >
![]() [category.pc] = current category's product count |
#3
|
|||
|
|||
![]() Could you show me exactly how to place it? here is the code I have now.
[category.list before='<ul>' after='</ul>'] [category.if active="self"] <li class="active"> [category.name] [category.repeat] </li> [/category.if] [category.if active="child"] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> [category.repeat] </li> [/category.if] [category.if active="parent"] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> </li> [/category.if] [category.if active="no"] <li> <a href="[category.link]" title="[category.name]">[category.name]</a> </li> [/category.if] [/category.list] |
#4
|
|||
|
|||
![]() Just add [category.pc] after each </a> tag like this
<a href="[category.link]" title="[category.name]">[category.name]</a> ([category.pc]) |
#5
|
|||
|
|||
![]() ok that worked ok but....
can I get it to show JUST the sub categories? As you can see on my homepage I don't have anything in the main categories. http://saveongolf.net . looks good though! |
#6
|
|||
|
|||
![]() Quote:
|
#7
|
|||
|
|||
![]() you mean child right? I don't want it on the parent I believe.
forget above!... check this out and let me know if there is a fix. http://saveongolf.net . In the categories go to "golf bags". When that opens there will be 3 sub categories that show (0) then when you click it shows how many of each brand. How can I get that (0) to show the sum of the childs below it...or....not show the (0) at all but still have the sub child show the numbers? i have the same issue on the "hot list" categories up top too. Thanks, ken Last edited by yankeestonk : April 8th, 2014 at 05:00 PM. Reason: new info. |
#8
|
|||
|
|||
![]() meant to say "Could you....", didn't mean to sound bossy!
|
#9
|
|||
|
|||
![]() Instead of [category.pc] try [category.pct]
[category.pct] = current category's product count + all sub-categories product count. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show sub category items in top level category | balkon_oase | Questions | 2 | March 11th, 2013 04:58 AM |
Display category title on Category Page | Michaelgs | Questions | 1 | July 20th, 2012 09:02 PM |
Category drop down & sales items | vonspurter | Questions | 8 | January 17th, 2012 02:32 PM |
Display sub-category images on category pages | Eric | Tips, Tricks & Tutorials | 2 | August 6th, 2011 11:47 AM |
When searching, highlight items already added to category | patagonia | Feature Requests | 0 | January 12th, 2011 09:33 PM |