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

comma in number items online?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-31-2002, 10:39 AM
 
rpmoore rpmoore is offline
 

Member
  
Join Date: Oct 2002
Location: Nashville, TN
Posts: 10
 

Default comma in number items online?

Is there a way to add a comma to the number of items online displayed in head.tpl? so it displays 11,133 instead of 11133 ?

I'm not sure if it's calculated by a formula in a template or php page, or pulled from the database...been searching for this while doing other edits but haven't found it yet.

Future thanks!
rpmoore
Reply With Quote
  #2  
Old 11-05-2002, 02:54 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

The variables are smarty variables in head.tpl template.

The section is:
Code:
<P align=right><SPAN class=TableTopTextNumberOfArticles>{insert name="productsonline"} {$lng.lbl_products} {if $config.General.show_in_stock eq "Y"}{$lng.lbl_and} {insert name="itemsonline"} {$lng.lbl_items} {/if}{$lng.lbl_online}</SPAN></P>

I am sure there must be a way to control this. The two variables are:
productsonline
and
itemsonline

They are set in the func.php file.
__________________
ex x-cart guru
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:40 AM.

   

 
X-Cart forums © 2001-2020