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)
-   -   Strange variable display (https://forum.x-cart.com/showthread.php?t=42732)

John Ling 10-02-2008 08:02 AM

Strange variable display
 
Hi guyz and galz,

I am having a problem with the SORT BY drop down menu.

When I search for something and a list of products gets returned, the drop down menu for SORT BY shows this:

~~~~|lbl_sku| ||~~~~
~~~~|lbl_product| ||~~~~
~~~~|lbl_price| ||~~~~
~~~~|lbl_default| ||~~~~

I can't figure out what I could have possibly changed to cause such a weird problem. I did not touch any files related to the SORT BY menu but it only appears to be happening to the SORT BY variable.

The weird thing is... if I enable webmaster mode, they return to normal (as they should be).

Anyone have any ideas? Seen this before?
Any help would be much appreciated as I am still learning x-cart.

Thanks

balinor 10-02-2008 08:09 AM

Re: Strange variable display
 
I assume you mean an add-on, as there is no drop-down sort by default? That usually means you have a broken Smarty value somewhere.....

John Ling 10-02-2008 10:04 AM

Re: Strange variable display
 
Thanks for your reply balinor. I was tracing my steps and found out the problem was in my bestsellers module.

I had {if $bestsellers} inside the {capture name=menu} , rather than outside. Simple mistake.

Thanks again.


All times are GMT -8. The time now is 08:42 PM.

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