Dismiss Notice
Hey Guest, make sure to follow us on Twitter! Say hi and we'll be sure to follow back!

Magento Sudden Slow add to cart + Checkout

Discussion in 'Magento Support' started by bharris, Dec 23, 2016.

  1. bharris

    bharris UKBF Regular Free Member

    Posts: 507 Likes: 73
    Hi,
    Overnight when an item is added to the shopping cart, cart edited or any checkout procedures are taking a horrendous amount of time (about 9 seconds). Catalog, searches etc are all absolutely working fine. No programming has been changed (as far as i know). Any ideas as to what to look for?
    Thanks
     
    Posted: Dec 23, 2016 By: bharris Member since: Dec 30, 2014
    #1
  2. goivvy

    goivvy UKBF Contributor Full Member

    Posts: 50 Likes: 8
    hard to say without looking

    i suggest you install Profiler - https://github.com/AOEpeople/Aoe_Profiler

    just google how to do that

    once installed try to add an item to the cart and see profiler output in the backend

    there you can find what is taking most of time
     
    Posted: Dec 23, 2016 By: goivvy Member since: Nov 29, 2016
    #2
  3. zigojacko

    zigojacko I say it how it is Full Member - Verified Business

    Posts: 3,473 Likes: 1,105
    Are you using a third party checkout extension (or any other extensions that come into play at cart/checkout)?
     
    Posted: Dec 23, 2016 By: zigojacko Member since: Dec 7, 2009
    #3
  4. bharris

    bharris UKBF Regular Free Member

    Posts: 507 Likes: 73
    Hi Zigojacko,
    No its the RWD theme using the standard onepage checkout. I also have the exact same setup on other sites and they are fine. Its just happened overnight. Normally each add to cart/ checkout operation takes less than a second.
    Thanks
     
    Posted: Dec 23, 2016 By: bharris Member since: Dec 30, 2014
    #4
  5. zigojacko

    zigojacko I say it how it is Full Member - Verified Business

    Posts: 3,473 Likes: 1,105
    Presumably no errors or anything of significance in the browser console?
     
    Posted: Dec 23, 2016 By: zigojacko Member since: Dec 7, 2009
    #5
  6. webhostuk

    webhostuk UKBF Ace Full Member - Verified Business

    Posts: 1,134 Likes: 138
    Is it just the delay and still working , or you get some error?
     
    Posted: Dec 23, 2016 By: webhostuk Member since: Jul 26, 2009
    #6
  7. bharris

    bharris UKBF Regular Free Member

    Posts: 507 Likes: 73
    Hi, Yes no errors that i can see and all works its just very slow.
    I have tested it using Chrome (PC), Opera, Safari standard browser on mobile and its all very slow however I have just discovered that when using Firefox and Chrome on my mobile it works fine.
    Very odd.
     
    Posted: Dec 23, 2016 By: bharris Member since: Dec 30, 2014
    #7
  8. edmondscommerce

    edmondscommerce Magento + PHP Expert Full Member - Verified Business

    Posts: 3,634 Likes: 623
    What API integrations are in play

    If nothing has changed on your side, then any third party system that yours is depending on is likely to be the culprit.

    Things like mailchimp will attach onto "events" in Magento and then fire their code to perform operations on the remote system. If these processes are slow or unreliable then your system suffers as a direct result
     
    Posted: Jan 5, 2017 By: edmondscommerce Member since: Nov 11, 2008
    #8
  9. APWTrading

    APWTrading UKBF Newcomer Free Member

    Posts: 12 Likes: 2
    Have you cleared out all the log tables etc, this can be one of the main causes of slow systems espescially in this area ?
     
    Posted: Jan 11, 2017 By: APWTrading Member since: Dec 14, 2014
    #9
  10. mysitemanager

    mysitemanager UKBF Regular Free Member

    Posts: 146 Likes: 17
    Check how many catalog and shopping cart price rules you have running. Too many and the add to cart process slows to a crawl.
     
    Posted: Jan 17, 2017 By: mysitemanager Member since: Mar 15, 2011
    #10
  11. bharris

    bharris UKBF Regular Free Member

    Posts: 507 Likes: 73
    Fixed the issue just before a day or so later, the shopping cart was trying to load an external file that no longer existed causing it to stall. Looking at the programming all was ok however the cache wasn't refreshing. Our host cleared all the server caches and the problem went away.
    Thanks for your suggestions.
     
    Posted: Jan 17, 2017 By: bharris Member since: Dec 30, 2014
    #11
  12. webhostuk

    webhostuk UKBF Ace Full Member - Verified Business

    Posts: 1,134 Likes: 138
    That's good thinking to resolve such problem :).
     
    Posted: Jan 17, 2017 By: webhostuk Member since: Jul 26, 2009
    #12
  13. nguyennham.1012

    nguyennham.1012 UKBF Newcomer Free Member

    Posts: 6 Likes: 1
    I faced same problem. thank you I have solved!
     
    Posted: Mar 10, 2017 By: nguyennham.1012 Member since: Mar 10, 2017
    #13
  14. MarekBober

    MarekBober UKBF Regular Free Member

    Posts: 145 Likes: 6
    Open source suddenly do not work... who will cover the loss? Who can be pointed out as responsible for lost money? There is only one thing in this case sure about money- shop owner have to spent them to get the things fixed. It makes me a bit confused is e-commerce about exploration opportunities of new distribution channels or is about bug fixing and software development? How store can be reliable source of products and services if is not reliable itself.
    The case is a bit like you got brilliant car mechanic when sober, he got drunk as random as your car broken- would you put your family into fixed car...
     
    Posted: Mar 10, 2017 By: MarekBober Member since: Feb 10, 2016
    #14