Mja388 Posted March 28, 2018 Share Posted March 28, 2018 Hi, I'm using a theme called Griffon Shop in prestashop 1.6 which has a shopping cart icon in the header. I would like it to display a digit next to the icon which shows the number of items currently in the cart. From what I can tell, the default prestashop theme already does this and have found that adding {$cart_qties} somewhere will do the trick. However, I donn't know where I need to add it. I would be really grateful if someone could advise. Many thanks! Link to comment Share on other sites More sharing options...
sunnydesigner Posted March 30, 2018 Share Posted March 30, 2018 Hi, Generally, it is the \themes\Theme_Name\modules\blockcart\blockcart.tpl file, you can ask the developer what the file name it is exactly. Best regards. Link to comment Share on other sites More sharing options...
Mja388 Posted April 16, 2018 Author Share Posted April 16, 2018 Thanks for your help ndiaga and sunnydesigner! That's worked a treat! Link to comment Share on other sites More sharing options...
Mja388 Posted April 16, 2018 Author Share Posted April 16, 2018 (edited) Hi. I've just noticed that adding {$cart_qties} to the blockpcart.tpl file works but ONLY when the page is reloaded after adding a product to the cart. Is there a way of making it update instantly? It seems to update immediately after removing the product from the cart ok. Many thanks Edited April 16, 2018 by Mja388 I've noticed it doesn't update automatically for the 1st item added to the cart but works ok afterwards. Any ideas? (see edit history) 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