Updating the cart items in the checkout is very slow

This topic has 14 replies, 3 voices, and was last updated 2 years, 7 months ago ago by Rose Tyler

  • Avatar: Kevin
    Kevin
    Participant
    February 4, 2022 at 09:05

    Hi, adding items to the basket is very fast but somehow updating the items quantity in the shopping cart page is extremely slow.

    13 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 4, 2022 at 09:30

    Hello,

    It doesn’t look extremely slow – https://gyazo.com/0261c7b216dfd444fb739f4337cb5aed
    Ajax timeframe depends on your server and DB response time. So, to speed it up, contact your hosting provider and ask to reduce server response time, maybe check your DB structure.

    Regards

    Avatar: Kevin
    Kevin
    Participant
    February 4, 2022 at 10:04

    Hello,

    let me try again as I was trying on the mobile and it was very slow. Desktop seems acceptable speed. As I said adding the product on a shop page to basket is fast.

    Regards,
    Kevin

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 5, 2022 at 08:34

    Hello,

    Could you record a video of the problem?
    Have you contacted your hosting provider about this problem?

    Regards

    Avatar: Kevin
    Kevin
    Participant
    February 5, 2022 at 14:18

    Hello,

    Please see the video https://ibb.co/ynQSVwJ

    We have checked with the hosting provider and they confirm it’s all good on their side.

    Regards,
    Kevin

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 7, 2022 at 08:28

    Hello,

    We do not see any video, just a screenshot. Please provide the video.
    Also, provide temporary wp-admin and FTP access, so we can take a closer look.

    Regards

    Avatar: Kevin
    Kevin
    Participant
    February 7, 2022 at 15:58

    Please see here https://we.tl/t-E5XHGJe4EZ

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 8, 2022 at 10:41

    Hello,

    Add to cart speed is the same as for the desktop. It does not look slow from your video.

    Regards

    Avatar: Kevin
    Kevin
    Participant
    February 8, 2022 at 10:52

    Adding is fine but updating the quantities at the checkout there is a lag..

    Also the buttons are extremely small

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 8, 2022 at 16:20

    Hello,

    Use the custom code to increase the size of the q-ty https://www.8theme.com/topic/and-buttons-are-quite-small-on-mobile-devices/

    Let me know if that helps you.

    Regards

    Avatar: Kevin
    Kevin
    Participant
    February 11, 2022 at 17:56

    Thanks, may I ask how about is it normal for updating the cart to be slower than adding items to the cart?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 11, 2022 at 18:08

    Hello,

    Cart update option uses Ajax request to update that. So, its speed depends on the server response time and optimization structure of your DB. Theme does not have any extra options to speed that up, unfortunately.

    Regards

    Avatar: Kevin
    Kevin
    Participant
    February 11, 2022 at 18:17

    Hi Olga,

    Thank you, but may I ask are there different Ajax request for update the cart and adding the item to the cart?

    Regards,
    Kevin

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 16, 2022 at 14:42

    Hello,

    Yes, they are different but their work depends on functionality they do.
    When pressing add to cart then ajax request that is responsible for that works. But when you press update cart then the request of updating cart is working.
    Time for each request depends script that should be loaded and completed, server response time, and many others factors.

    Regards

  • Viewing 14 results - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.