Thread: Showing Cart.
View Single Post
  #1  
Old 10-21-2003, 08:25 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default 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.
Reply With Quote