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

Product Count

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-04-2009, 10:58 AM
 
Panther Panther is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Product Count

Is there a way to show the total number of products for sell on my website on the main page. I would like for it to say something like 599 products in our mall or something like that. Is there a way I can have this done automatically for me or do I need to do it manually?

Thanks in advance!
__________________
Panther
X-Cart Pro v4.4.4
Reply With Quote
  #2  
Old 03-04-2009, 01:42 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Product Count

This was the code in 4.1.x in head.tpl
I can't find it in 4.2 but maybe it will work the way it is or you will have to change it a little bit.

Code:
{******** Remove this line to display how much products there are online **** <tr> {insert name="productsonline" assign="_productsonline"} <td colspan="2" class="NumberOfArticles" align="right"> {if $config.Appearance.show_in_stock eq "Y"} {insert name="itemsonline" assign="_itemsonline"} {$lng.lbl_products_and_items_online|substitute:"X":$_productsonline:"Y":$_itemsonline} {else} {$lng.lbl_products_online|substitute:"X":$_productsonline} {/if} &nbsp; </td> </tr> **** Remove this line to display how much products there are online ********}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-05-2009, 06:42 PM
 
Panther Panther is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Product Count

Well darn!!! That didn't work. : (
__________________
Panther
X-Cart Pro v4.4.4
Reply With Quote
  #4  
Old 03-06-2009, 04:40 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Product Count

This code is from 4.1.x so yes maybe something is changed in 4.2.
You can ask QT for the code. I am sure they will provide it to you
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 03-14-2009, 05:56 PM
 
Panther Panther is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Product Count

I've got it worked out. Thanks for the input.
__________________
Panther
X-Cart Pro v4.4.4
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 07:23 AM.

   

 
X-Cart forums © 2001-2020