Categories

Featured templates

WooСommerce Troubleshooter. How to fix the cart update issue

Erica Saunders August 31, 2016
Rating: 5.0/5. From 5 votes.
Please wait...

Hello! Today we’re going to show you how to deal with the WooCommerce cart issue after the plugin update.

Let’s say, you have updated WooCommerce plugin to the latest version. Site works well and products are being added to cart successfully. But, if you check the cart itself, there might an issue occur – your cart won’t let you update it after changing the quantity of products or deleting the single item. It will just load instantly.

Woocommerce_Troubleshooter. How_to_fix_the_cart_update_issue_1

Fortunately, there’s an easy fix that will let you correct the issue. Please, follow the steps, indicated below to apply it:

  1. Open site Dashboard and navigate to the Appearance -> Editor section.

  2. Click on the custom-function.php file in the right sidebar to edit it. You can also reach this file via FTP, it’s located in the wp-content/themes/themeXXXXX/includes folder (here ‘XXXXX’ stands for your theme number) and edit it with any text editor, i.e., Notepad++.

  3. Scroll to the very bottom of the file and add the following code right before the last ?> symbols:

    add_action( 'wp_enqueue_scripts', 'tm_enqueue_jquery', 30 );
    function tm_enqueue_jquery()
    {
    	wp_deregister_script('jquery'); 
    	wp_register_script( 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.10.2' ); 
    	wp_enqueue_script( 'jquery' ); 
    }

    The result should be similar to the one, presented on a screenshot below:

    Woocommerce_Troubleshooter. How_to_fix_the_cart_update_issue_2
  4. Save edits updating the file and visit site frontend to check the way your cart works now.

    Woocommerce_Troubleshooter. How_to_fix_the_cart_update_issue_3

    As you can see, the issue is fixed, cart was updated successfully.

Feel free to check the detailed video tutorial below:

WooСommerce Troubleshooter. How to fix the cart update issue
Themes for Wordpress
This entry was posted in WooCommerce Tutorials and tagged freeze, troubleshooter, update, WooCommerce. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket