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

No available products....

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-22-2004, 06:53 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default No available products....

I think I screwed up a template somewhere, but don't exactly know which one at this point as I have had to modify so many with this design (removing the manual table spacing and using CSS formatting instead).

On every product page, it will still say no product is available when there are thumbnails shown directly above. Maybe an IF statement got screwed up?

Here is a sample: http://www.wahmboutique.com/boutique/customer/home.php?cat=252

Thanks for looking for me
Reply With Quote
  #2  
Old 06-22-2004, 04:07 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default

customer/main/products.tpl should have this near the top:

Code:
{if $products}

followed by all the product formatting stuff

and it should have:
Code:
{else} {$lng.lbl_no_products_found} {/if}

near the bottom.

I bet your missing the else, or the if/else altogether.

HTH!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #3  
Old 06-23-2004, 08:54 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

Oh, I tried that and everything looked ok. I even completely restored the template and that didn't do anything either....

Anyone else have any other suggestions?
Reply With Quote
  #4  
Old 06-23-2004, 11:47 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default

If you have shell access, I would do this command to make sure it's not creaping up from another template then. Go to the xcart directory and run this command.

Quote:
grep -r lbl_no_products_found * | more

That should give you a list of files that contain lbl_no_products_found

HTH!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
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 05:59 AM.

   

 
X-Cart forums © 2001-2020