View Single Post
  #1  
Old 01-09-2010, 09:53 AM
 
jbvideo jbvideo is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 73
 

Default displaying number of products in catalog

at some point in the past couple years, one of my sites had a notice at the top of the main page that says "Our store has x number or products"

I'm not sure how it disappeared.

I looked at the code from another x-cart site I do (which has the notice) and I copied over that portion of welcome.tpl.

however the notification still does not show up on my first site. How can I get this back?

here's what I have now and when submitting a question to this forum, how do I get my code to appear in a box with a light blue background?

I have tried removing the {* and *} but it didnt make a difference, and this is how my other site has it

{* $Id: welcome.tpl,v 1.28.2.1 2006/07/12 04:51:17 svowl Exp $ *}

{if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''}
{assign var="_name" value=$smarty.cookies.GreetingCookie|replace:"\'": "'"}
<h3>{$lng.lbl_welcome_back|substitute:"name":$_nam e} </h3>
{elseif $lng.lbl_site_title}
<h3>{*{$lng.lbl_welcome_to|substitute:"company":$l ng.lbl_site_title}*} Our store currently has {insert name="productsonline"} {$lng.lbl_products}. </h3>
{else}
<h3>{*{$lng.lbl_welcome_to|substitute:"company":$c onfig.Company.company_name}*} Our store currently has {insert name="productsonline"} {$lng.lbl_products}. </h3>
{/if}
{$lng.txt_welcome}
<br />
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
<br />
{include file="retail/main/featured.tpl" f_products=$f_products}
__________________
Sharon
vers. gold 4.0.17 to 4.1.10 (july 2008 )
Reply With Quote