leelee23 Posted September 9, 2011 Share Posted September 9, 2011 Hi there, RIght - I'm a bit miffed by this one! For some reason when clicking the quantity + and -, as well as the remove button, there seems to be a few problems. Pressing + doesn't update the page - but if I refresh, the product quantity has gone up by one. Pressing - removes the product from the page, no matter how many of the quantity are meant to be there - this doesn't update the totals below. Pressing the remove icon, removes the product, but again - the totals don't change. OK - so as a test I loaded back the default theme, and this is all working fine - so it's something in my custom one. I've then replaced the shopping-cart.tpl and shopping-cart-product-line.tpl of my custom theme with the default files - and oddly, the problem still exists! I've then replaced the css files and js folder with the default - but again, still not working! I think I'm probably missing something obvious here - but for the life of me I can't seem to find it! I'm using the latest prestashop 1.4.4.1 Any ideas? Thanks in advance! Lee Link to comment Share on other sites More sharing options...
PrestaSupport Posted September 9, 2011 Share Posted September 9, 2011 Have you tried the cart-summary.js ? Link to comment Share on other sites More sharing options...
leelee23 Posted September 9, 2011 Author Share Posted September 9, 2011 I have indeed - I literally replaced my custom js folder with the whole of the themes/prestashop/js folder - but still nothing Thanks for the suggestion though Link to comment Share on other sites More sharing options...
leelee23 Posted September 11, 2011 Author Share Posted September 11, 2011 I had a play around with the files earlier - and when I've deleted the cart-summary.js from the ftp - the ajax on the page works correctly again! The only thing that doesn't work is if the product reaches the max quantity - it goes to a new page to issue the warning rather than the error javascript box. I'm still miffed though - as the whole process works a treat in the prestashop theme... and even after having moved the css folder, js folder and the two shopping-cart files into my theme... there's still the issue! There must be another file I'm missing - anyone any ideas? Cheers, Lee Link to comment Share on other sites More sharing options...
leelee23 Posted September 12, 2011 Author Share Posted September 12, 2011 Ok - solved the problem (just incase anyone in the future ever happens to get in this scenario!) Seems the issues I was having were with 2 files: shopping-cart-product-line.tpl and header.tpl... I'm not entirely sure what the issue was in the shopping-cart-product-line.tpl but I just edited the default version again. As for header.tpl - because I've had this theme for many a version of prestashop now, there appeared to a couple of additional lines regarding js - so once included into the file, works a treat! Hopefully no one else will experience this, but at least hopefully now, here's a solution just incase Link to comment Share on other sites More sharing options...
askteasy Posted October 28, 2011 Share Posted October 28, 2011 I had similar problem with version 1.4.5.1 where if i click the + the quantity did go up in my cart summary (which I had at top of page) but the price never changed. Same when I clicked -, quantity changes but price did not. If i refreshed page the cart then showed correct values. My problem was just the cart-summary.js file. I managed to fix the issue by restoring a good copy of this file from a fresh install. 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