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)
-   -   show in cart.php replace in cart.php?mode=checkout (https://forum.x-cart.com/showthread.php?t=16371)

cotc2001 09-05-2005 05:43 AM

show in cart.php replace in cart.php?mode=checkout
 
Hi,

Not sure on this one (now there is a surprise)

Can anyone tell me the smarty to do this.

I've got a bit of text set that shows in cart.php
but i want to show something different in it's place if customer is on cart.php?mode=checkout

Dongan 09-05-2005 07:41 AM

{if $smarty.get.mode eq "checkout" and $checkout_step ne $total_checkout_steps}
text here
{/if}

If you want to display at the last step then, it would be

{if $smarty.get.mode eq "checkout" and $checkout_step eq $total_checkout_steps}
text here
{/if}


All times are GMT -8. The time now is 12:29 PM.

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