![]() |
Showing Cart.
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. |
this is the general idea
Code:
{if $minicart_total_items > 0} |
thanks.
|
All times are GMT -8. The time now is 06:45 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.