Skazz Posted March 19, 2012 Share Posted March 19, 2012 Hi, I’m having an issue with the Ajax cart on my store. The problem came about because when it was enabled, an item would be added to the side cart fine, but when viewing the main cart page, if I attempted to add, subtract or delete an item on that page, I got the following error: Technical Error: Unable to save update quantity Details: Error Thrown: [Object XMLHttpRequest] Test Status: parsererror If I attempted to delete the item from the side cart while in this view, I got the same error, then the item disappeared from the side cart, but remained in the main cart page. Upon refreshing the page, the item had gone, I made sure there was nothing in the SSL domain box in the BackOfficeàSEO & URL area. Then, I found this thread: http://www.prestasho...rt/page__st__20 and tried the last solution on the 2nd page (In file /themes/prestashop/js/cart-summary.js in line 30 after $(document).ready(function() { add the lines: set baseDir = 'http://domain.pl/dir/'; Where 'http://domain.pl/dir/' is base url of your store This seems to work with my Ajax cart re-enabled but then, whenever viewing the main cart page (with products in or not), all the categories and subcategories have disappeared! (see attached screenshot ) When my Ajax cart is disabled, all the categories return. I also have dynamic links enabled, when disabled, again all the categories return. I built my site on my computer using Wampserver, both the above problems only showed once the website was uploaded to my host, and I get these issues regardless of whether I use my own theme or the default Prestashop theme. I’ve also tried uninstalling and reinstalling the Cart block v1.2, the Categories block v2.0 and the Quick Search block v1.0, but no change. I can only assume problems are happening due to an issue with the Ajax cart but I haven’t a clue where to start! If anyone would like to look at the problem first hand, just let me know and I’ll enable it and send the link! Hope someone can help me! 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