X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   No available products.... (https://forum.x-cart.com/showthread.php?t=8198)

lyncca 06-22-2004 06:53 AM

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 :)

BCSE 06-22-2004 04:07 PM

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! :D

Carrie

lyncca 06-23-2004 08:54 AM

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?

BCSE 06-23-2004 11:47 AM

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


All times are GMT -8. The time now is 09:40 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.