Hi,
I need to display the total number of product which are currently in the shopping cart. Currently my basket just displays the total price. Here is the code im working on:
<span class="top-cart">
<span class="shop-total">{l s='Items:'} <span id="summary_products_quantity">{$productNumber} {if $productNumber == 1}{l s='product'}{else}{l s='products'}{/if}</span> {l s='Basket Total:' mod='wdshoppinginfo'}
<span class="ajax_cart_total{if $cart_qties == 0} tophidden{/if} price">
{if $cart_qties > 0}
{if $priceDisplay == 1}
{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
{convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}
{else}
{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
{convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)}
{/if}
{/if}
</span>
Any help would be much appreciated!
Matt