• Resolved aminecsc25

    (@aminecsc25)


    Hello,

    Since a few days, I can’t update nis to delete an item on my shopping cart. I have deactivated the cache and the problem is still there. These last days I added the CDN option.
    I already have this two lignes in woocommerce/cart/cart.php

    <?php do_action(‘woocommerce_cart_actions’); ?>
    <?php wp_nonce_field(‘woocommerce-cart’, ‘woocommerce-cart-nonce’); ?>

    Can you bring me a solution?

    Sincerely

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter aminecsc25

    (@aminecsc25)

    Up topic.
    Any solution ?
    Thank you

    Mirko P.

    (@rainfallnixfig)

    Hi @aminecsc25,

    I already have this two lignes in woocommerce/cart/cart.php

    That’s the default core template’s code as you can see here:

    https://github.com/woocommerce/woocommerce/blob/5b6e7645165b33fcc6bb21a4b2d89d80d6f1d9b8/plugins/woocommerce/templates/cart/cart.php#L150

    I understand that you’re unable to update the quantity or remove the item from the Cart page, is that correct? If so, it could be likely due to a conflict with the theme or a plugin, so I recommend following the instructions on this page:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Let us know how that goes.

    Thread Starter aminecsc25

    (@aminecsc25)

    Hello,

    I have already done all the possibilities, disable plugins, reinstall woocommerce, changed theme default, disable CDN and cache. But no solution.
    I can’t remove or update quantity of product.

    Thread Starter aminecsc25

    (@aminecsc25)

    I just found this error in the woocommerce log

    2021-10-20T13:53:39+00:00 CRITICAL Uncaught Error: Call to a member function get_tax_class() on null in /htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:225
    Stack trace:
    #0 /htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(651): WC_Cart_Totals->get_items_from_cart()
    #1 /htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(143): WC_Cart_Totals->calculate_item_totals()
    #2 /htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate()
    #3 /htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1398): WC_Cart_Totals->__construct(Object(WC_Cart))
    #4 /htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1357): WC_Cart->calculate_totals()
    #5 /htdocs/wp-content/themes/elessi-theme/cores/nasa-custom-wc-ajax.php(988): WC_Cart->set_quantity(‘bb0d2a57a143687…’, 2, true)
    #6 /htdocs/wp-includes/class-wp-hook.php(303): ELESSI_WC_AJAX::nasa_quantity_mini_cart(”)
    #7 /htdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #8 /htdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #9 /htdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_nasa_qu…’)
    #10 /htdocs/wp-includes/class-wp-hook.php(303): WC_AJAX::do_wc_ajax(”)
    #11 /htdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(false, Array)
    #12 /htdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #13 /htdocs/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #14 /htdocs/wp-blog-header.php(19): require_once(‘/htdocs/wp-incl…’)
    #15 /htdocs/index.php(17): require(‘/htdocs/wp-blog…’)
    #16 {main}
    thrown dans /htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php à la ligne 225`

    Mirko P.

    (@rainfallnixfig)

    Hi @aminecsc25,

    Thanks for sharing your error logs.

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cart page doesn’t updating’ is closed to new replies.