| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() Im having a mind block.
Basically I want the mini cart to only show up if an item is in it. What would be the easiest way to write an if statement that says: {if cart has an item in it} { include file="customer/menu_cart.tpl" } {else} "dont show anything" {/if} {if $login eq "" } { include file="auth.tpl" } {else} { include file="authbox.tpl" } {/if} *show nothing is meaning I want the next tpl to move to the top as if Cart.tpl isnt even there. Next tpl is auth.tpl Any quick ideas? Im trying to do like 3 things at once and im stressin my mind out I think. |
|||||||
#2
|
|||||||||
|
|||||||||
![]() this is the general idea
Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() thanks.
|
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|