Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/shop/site_mini_cart.tpl
{if $template!="cart" && $template!="receipt" && $template!="review_order" && $template!="exp_receipt"}
<div style="background-color:#F0F0F0; padding:5px; padding-left:0px">
<span class="mini_cart_link"><a href="javascript:showCart()"><img style="border:0px;" src="images/icons/cart.png" title="shopping cart" alt="Shopping cart" align="absmiddle" /><strong> My Cart &darr;</strong></a></span><br />
<em>You have {$total_cart_items} items</em>
</div>
<div id="mini_cart" style="background-color:#F0F0F0; padding:5px; padding-left:0px; display:none;">
{if $total_cart_items>0}
{section name=cart_product_list_mini loop=$cart_product_list_mini}
<div style="border-bottom:1px solid #cccccc; padding-bottom:5px;">
{$cart_product_list_mini[cart_product_list_mini].product_name} {$cart_product_list_mini[cart_product_list_mini].product_qty}x${$cart_product_list_mini[cart_product_list_mini].product_price}=${$cart_product_list_mini[cart_product_list_mini].total}</div>
{/section}
<div align="right">Total: ${$grand_total_mini}</div>
<div align="right"><a href="cart.php"><img style="border:none;" src="images/btns/mini_view_btn.jpg" title="View my shopping cart" alt="Shopping cart" align="absmiddle" /></a>&nbsp;<a href="cart.php"><img style="border:none;" src="images/btns/mini_checkout_btn.gif" title="Checkout" alt="Checkout"  align="absmiddle"  /></a></div>
{else}
<em>You have no items in your cart yet.</em>
{/if}
</div>
{/if}
Return current item: Simple PHP Shopping cart - asaancart