boyjarv Posted April 11, 2012 Share Posted April 11, 2012 Hi, At the moment when I add something to my basket I get the following: £29.73 (empty) I would like it just to say: (1) here is my current code: <!-- Block user information module HEADER --> <div id="header_user"> <ul id="header_nav"> {if !$PS_CATALOG_MODE} <li id="shopping_cart"> <a href="{$link->getPageLink("$order_process.php", true)}" title="{l s='My Basket' mod='blockuserinfo'}">{l s='My Basket' mod='blockuserinfo'} <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(0)' mod='blockuserinfo'}</span></a> {if $cart_qties >= 0} <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}"> {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} </span> {/if} <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(empty)' mod='blockuserinfo'}</span> </li> {/if} <li id="your_account"><a href="{$link->getPageLink('my-account.php', true)}" title="{l s='Sign in or Join us' mod='blockuserinfo'}">{l s='Sign in or Join us' mod='blockuserinfo'}</a></li> </ul> </div> <!-- /Block user information module HEADER --> Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 11, 2012 Share Posted April 11, 2012 Hi boyjarv, PrestaShop should show your cart quantity by default. Could you please post your URL so that I can take a look at this for you? -Mike Link to comment Share on other sites More sharing options...
boyjarv Posted April 11, 2012 Author Share Posted April 11, 2012 http://harveys.blueplanetdns.com/harveys-shop/category.php?id_category=2 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 11, 2012 Share Posted April 11, 2012 Hi boyjarv, This appears to be an issue with your custom theme. Can you please try temporarily switching back to the default theme and let me know if the issue persists? -Mike Link to comment Share on other sites More sharing options...
boyjarv Posted April 11, 2012 Author Share Posted April 11, 2012 Hi, I switched back to the Prestashop theme and it doesn't show how many items in the basket, it just shows the cost Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 11, 2012 Share Posted April 11, 2012 Hi, I switched back to the Prestashop theme and it doesn't show how many items in the basket, it just shows the cost The theme still looks somewhat customized compared the the clean default theme. What version of PrestaShop are you using? I would like to provide you with a clean copy of the theme so that we can properly test this. -Mike Link to comment Share on other sites More sharing options...
boyjarv Posted April 11, 2012 Author Share Posted April 11, 2012 I figured it out by looking at the original Prestashop module {$cart_qties} is what I needed to show the amount of products in cart Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 11, 2012 Share Posted April 11, 2012 Great, I'm glad you were able to resolve this! I'll go ahead and mark this thread as solved for you. Happy selling! -Mike Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now