Cart Updates not Working after lastest update

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

  • Avatar: pablostevens
    pablostevens
    Participant
    March 5, 2017 at 19:47

    I updated to the latest version of the theme (3.1) and the cart update function isn’t working. When you either try to change quantity or delete an item, it takes you to either a blank page or a page saying your cart is empty, and no changes were made to the cart.

    I replaced cart.php with the old version, and now at least I can change quantities, but the delete function doesn’t work when clicking on the “x” to the delete the item.

    Strangely, if I right-click on the “x” from the cart and select “open in an new window”, it deletes the item properly. Also, the dropdown from cart icon in the header delete functionality works properly. It’s just the delete on the cart page.

    Things I’ve tried:
    1. disabling the caching plugin and flushing the cache
    2. disabling all other plugins
    3. restarting the web server
    4. repair and optimize database
    5. cleared WC transients and open carts
    6. flushed the permalinks

    Can you help?

    6 Answers
    Avatar: pablostevens
    pablostevens
    Participant
    March 5, 2017 at 20:44

    One other update, I just noticed the “calculate shipping” doesn’t work either, same issue, goes to cart is empty and doesn’t update the shipping info.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2017 at 10:44

    Hello,

    Could you please provide wp-admin and FTP access in Private Content so we could check it?

    Regards,
    Rose Tyler.

    Avatar: pablostevens
    pablostevens
    Participant
    March 9, 2017 at 15:22

    Login is below. Thank you for having a look.

    Just a reminder, I replaced cart.php with an older version of the theme. At least the cart quantity update works.

    With the latest version, neither the cart update quantity or delete item works. Also, the shipping calculator doesn’t work.

    However, if you right click the delete icon and open in a new window it works fine.

    Thanks for having a look for me.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 10, 2017 at 13:43

    Hello,

    We’ll be able to help you only in case problem appears with our theme only and works fine with official WC theme Storefront. So, go to Appearance > Themes and activate Storefront and check if your cart works in right way. If you have the same problem even with default theme then check the WooCommerce and plugin settings, very likely you did something wrong.

    Regards,
    Rose Tyler.

    Avatar: pablostevens
    pablostevens
    Participant
    March 10, 2017 at 18:14

    Ok So I solved the problem if anyone else is experiencing this. the problem is that the “X” to delete the item from cart goes to an HTTPS link and the cart by default is HTTP. So what I did was install a plugin “Really Simple SSL” to make my entire site SSL. It’s a good idea anyway the way Google is going with security and ranking, etc. That completely fixes the problem. Both the cart update and calculate shipping work perfectly when started from an HTTPS page.

    Hope that helps someone.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 13, 2017 at 10:50

    Hello,

    Thank you for the notice.
    We’re glad to hear that your issue was solved.
    Have a nice day!

    Regards,
    Rose Tyler.

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

The issue related to '‘Cart Updates not Working after lastest update’' has been successfully resolved, and the topic is now closed for further responses

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