| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
menu_cart.tpl customization | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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?
__________________
---- Ian |
|||||||
#2
|
|||||||
|
|||||||
![]() {if $smarty.get.mode ne "checkout"}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thank you! Worked perfectly!
__________________
---- Ian |
|||||||
|
|||
X-Cart forums © 2001-2020
|