Kurt Moskjaer Anders Posted August 10, 2011 Share Posted August 10, 2011 We are having some problems when updating the quantity of products at the checkout-page. Whenever we use the +/- buttons, we are given an error like this: TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object XMLHttpRequest] Text status: error It results in customers only allowed to buy one of each product. We are using Prestashop 1.4.2.5 with OPC and an Ajax-enabled cart-module. Anyone who have experienced something similar? Could it be solved by updating Prestashop to the latest version? Thanks in advance. Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 Please post your shop address. Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 The shop can be found at http://www.balloner.nu Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 edit:not relevant Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 ...Compare it to the default one. I have compared the to order-detail.tpl files and they are identical Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 I have compared the to order-detail.tpl files and they are identical Do the same for shopping-cart.tpl pls Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 Do the same for shopping-cart.tpl pls Well, there was a slight difference between them, where the section for the latest added product was removed, but this didn't solve the problem either Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 OK, the best way to determine if the problem is due to custom template is to revert to the default template. Do that and try it again. Does the problem persist? Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 Well, the problem still occurs even though I switch to the default template. Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 OK, don't despair First turn off the performance optimizations so I can see the page w/o modifications (Back Office > Preferences > Performance) Force compile = yes, cache =no and in CCC section keep everything as original. Once you do that I will check it again. Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 ...Once you do that I will check it again. I have done this now. Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 OK, first make a backup copy of /themes/yourtheme/js/cart-summary.js, then replace that with the one from the default theme (preferably the latest version of it). Does that help? Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 ...Does that help? Done, but no Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 Are you sure you are replacing the correct JS file, /themes/balloner/js/cart-summary.js? From this end, still the old file is showing. Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 Are you sure you are replacing the correct JS file, /themes/balloner/js/cart-summary.js? From this end, still the old file is showing. Yes, I downloaded it from your link and uploaded it to the webserver. There is a change in filesize as well (15.476 versus 15.652 bytes) Link to comment Share on other sites More sharing options...
phrasespot Posted August 11, 2011 Share Posted August 11, 2011 OK, sorry but I am out of solutions. When you click +- buttons an ajax call is made to server. This call is failing but there is no way to debug this from the client side. I noticed you are running 1.4.2.5. You can try to update 1.4.4.0 and hopefully that will resolve it. Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 11, 2011 Author Share Posted August 11, 2011 OK, sorry but I am out of solutions. When you click +- buttons an ajax call is made to server. This call is failing but there is no way to debug this from the client side. I noticed you are running 1.4.2.5. You can try to update 1.4.4.0 and hopefully that will resolve it. Thank you very much for your effort. We will try to see if an update could solve it. Again thanks for your help Link to comment Share on other sites More sharing options...
phrasespot Posted August 12, 2011 Share Posted August 12, 2011 One last check. Make sure Back Office > Preferences > SEO & URLs > URLs Setup > Shop domain name and Back Office > Preferences > SEO & URLs > URLs Setup > Shop domain name for SSL both contain something and that they are correct. Link to comment Share on other sites More sharing options...
Kurt Moskjaer Anders Posted August 14, 2011 Author Share Posted August 14, 2011 One last check. Make sure Back Office > Preferences > SEO & URLs > URLs Setup > Shop domain name and Back Office > Preferences > SEO & URLs > URLs Setup > Shop domain name for SSL both contain something and that they are correct. Well, it seems I owe you one. The problem is solved and was related to differences between the domain name and the secure domain name - the first with www in front at the latter without. Thank you very much for your help! Link to comment Share on other sites More sharing options...
vivek tripathi Posted September 5, 2011 Share Posted September 5, 2011 add following line theme->prestashop->js-> cart-summary.js in $(document).ready(function() baseDir="yoursite.com" 1 Link to comment Share on other sites More sharing options...
citrusuk Posted February 11, 2012 Share Posted February 11, 2012 add following line theme->prestashop->js-> cart-summary.js in $(document).ready(function() baseDir="yoursite.com" Following upgrade to 1.4.7.0 was getting the previously reported error "ERROR: unable to save update quantity" Added baseDir="www.yoursite.com" as Vivek pointed out above, and all working fine now. Had tried ALL other suggestions, but this is only one that worked for me. Thank you Vivek Tripathi for helping with this. Link to comment Share on other sites More sharing options...
berta recchia Posted June 17, 2012 Share Posted June 17, 2012 add following line theme->prestashop->js-> cart-summary.js in $(document).ready(function() baseDir="yoursite.com" I too had this problem after implementing SSL and tried vivek suggestion. This removed the "Technical error" but created another strange problem. I removed and repeated the line addition twice to make sure. When you go to check you, in the page "Address" ( look at the progression bar ) , right before the Shipping page, the delivery and billing addresses disappear. I just see to narrow empty boxes. Anyone seen this? Link to comment Share on other sites More sharing options...
blueraccoon Posted June 28, 2013 Share Posted June 28, 2013 TECHNICAL ERROR: unable to save update quantity Details: Error thrown: [object Object] Text status: parsererror I receive the above error message when I try to increase the number of products in my cart past the set carrier weight ranges when the following settings are true: Shipping > Carriers > Out-of-range behavior: Disable Carrier If I change the out-of-range behavior setting to "Apply the cost of the highest defined range" then the error does not occur. Anyone else reporting the same issue? Any ideas on how to fix this? 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