Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Count displayed on Root Categories, can we do it?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-04-2005, 10:40 AM
 
IndieDepot IndieDepot is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 30
 

Default Product Count displayed on Root Categories, can we do it?

CATALOG
Widgets (45)
Gidgets (12)
Wadgets (39)
etc...



How can we get the aboe to show. In osCommerce, it will show you how many products belong to a master category in parenthesis on the main page. How can we do this for X-Cart? I'd like my customers to see how many products belong to a root category.

I looked in 'skin1/customers/main/subcategories.tpl' to get the code, but it didnt work in the 'skin1/customers/categories.tpl' file.

Any help?
__________________
- www.TheShotList.com
X-Cart version 4.0.13
PHP 4.3.10
MySQL 4.0.23
Web server Apache
Operation system Linux
Perl 5.008004
XML parser (expat) 1.95.6
Reply With Quote
  #2  
Old 06-15-2005, 02:34 PM
 
jb5ep jb5ep is offline
 

Advanced Member
  
Join Date: Apr 2005
Location: U.K.
Posts: 65
 

Default

try looking in skin1/admin/main/categories.tpl

I think there's a function in there somewhere to count the number of products in a category...

Good luck
__________________
X-Cart 4.0.17
ezUpsell
PHP 4.4.1
MySQL 4.0.25-standard
Apache 1.3.34
Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:13 AM.

   

 
X-Cart forums © 2001-2020