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)
-   -   menu_cart.tpl customization (https://forum.x-cart.com/showthread.php?t=20093)

yaunus 02-22-2006 12:07 PM

menu_cart.tpl customization
 
I would like to customize the menu_cart.tpl template to not display the CHECKOUT button if the user is currently checking out, so as not to confuse the user.

Here is the code I tried, but didn't work:

{if $mode ne "checkout"}
** the code to display the button **
{/if}


I'm trying to use the the get variable 'mode', but it doesn't seem to be reading it. Is there another way I should be doing this?

balinor 02-22-2006 12:46 PM

{if $smarty.get.mode ne "checkout"}

yaunus 02-22-2006 02:06 PM

Thank you! Worked perfectly!


All times are GMT -8. The time now is 04:28 AM.

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