spirits999 Posted March 25, 2013 Share Posted March 25, 2013 Hello All, I've gone through a lot of topics here and have not seen any solution to this specific problem. When I add more than about 10 products to the cart, every product addition gets slower. What's even worse is that when the user deletes the first product in the cart after adding 10-15 products the deletion takes its own time and slows down almost everything. I'm using 1.4.7.2 and have installed updated versions as well, but even in 1.4.9(which is supposed to be the most stable version) is slow. How to reproduce: Problem1: Add about 10 products to the cart. The more products you add the slower it gets. Problem 2: Delete the 1st product from the cart after adding more than 10-15 products. I'm sure most of the site owners do not have a problem with this as their carts are 1 or 2 items and thats it. However, we are an online grocery store and every order has at least more than 15 products, sometimes going to almost 35-50 products. Looking for a solution as performance is the most critical thing for our customers. Link to comment Share on other sites More sharing options...
cocothecat Posted March 25, 2013 Share Posted March 25, 2013 sounds like a jquery issue where is your site hosted and on what system? whats the url to try and duplicate the effect. Link to comment Share on other sites More sharing options...
spirits999 Posted March 25, 2013 Author Share Posted March 25, 2013 URL is rationhut dot com Link to comment Share on other sites More sharing options...
cocothecat Posted March 25, 2013 Share Posted March 25, 2013 What browser are you using? As to be honest it didnt seem that slow to me at all. I manged to add 12+ products without any problems. You have some coding issues like open divs and I think head and body is mentioned more than once... Link to comment Share on other sites More sharing options...
spirits999 Posted March 25, 2013 Author Share Posted March 25, 2013 I'm using Chrome. This problem occurred even when I installed a virgin copy of the original prestashop. I'm surprised you do not have this problem. What browser did you use? Can you try adding more products. Say about 30+ Link to comment Share on other sites More sharing options...
cocothecat Posted March 25, 2013 Share Posted March 25, 2013 (edited) Ran it in firefox and i.e both pc and mac. I'll try chrome now also. and with 30+ Update Nope no problem! I got upto 30+ products in a range of browsers had no problem, i did get small 3-4 second delay when i tried to remove a product but thats a bit standard for jquery i think. Edited March 25, 2013 by cocothecat (see edit history) Link to comment Share on other sites More sharing options...
spirits999 Posted March 25, 2013 Author Share Posted March 25, 2013 Oh Great! I'm surprised. Did you try deleting the first product in the list? Link to comment Share on other sites More sharing options...
cocothecat Posted March 25, 2013 Share Posted March 25, 2013 (edited) Oh Great! I'm surprised. Did you try deleting the first product in the list? Yeah took out the first and a few random ones, then added again and removed was all fine. I can't seem to duplicate the delay you have been having. There are a few issues coding wise on the site that might explain it, what browser have you been using? Do you have enough ram in the machine? I can't really figure a place to start as im not getting the delay sorry. Like I said id start with some coding issues, fix them and go from there... Some links http://stackoverflow.com/questions/9494228/slow-javascript-execution-in-chrome-profiler-yields-program http://stackoverflow.com/questions/4669871/my-code-is-really-slow-in-ie8-but-in-safari-firefox-chrome-it-works-great Edited March 25, 2013 by cocothecat (see edit history) Link to comment Share on other sites More sharing options...
spirits999 Posted March 25, 2013 Author Share Posted March 25, 2013 Hey! Thank you so much for the replies and taking the time to test this out. I will re test it again on better machines and will fix the code issues. Will update soon again! Appreciate your promptness on this one Link to comment Share on other sites More sharing options...
cocothecat Posted March 25, 2013 Share Posted March 25, 2013 No problem if you get stuck or want something else looking at just post back! Good Luck Link to comment Share on other sites More sharing options...
Recommended Posts