Broken Woocommerce / customer can't add to cart

This topic has 3 replies, 2 voices, and was last updated 3 years, 3 months ago ago by HowBizzArt

  • Avatar: HowBizzArt
    HowBizzArt
    Participant
    January 23, 2021 at 10:06

    Hi there,

    Example links not working to add to cart:
    https://www.howbizzart.ro/jacheta-stofa-funky-chic/
    https://www.howbizzart.ro/rochie-boema-broderii-negru/

    After the last update, I seem to have a problem with the woocommerce adding to cart.
    I activated debug mode in wp-config and I see the following in the debug.log:

    [23-Jan-2021 08:48:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_AJAX::json_headers() in /public_html/wp-content/themes/xstore/framework/woo.php:2575
    Stack trace:
    #0 /public_html/wp-includes/class-wp-hook.php(287): etheme_svp_cart(”)
    #1 /public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #2 /public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /public_html/wp-admin/admin-ajax.php(184): do_action(‘wp_ajax_etheme_…’)
    #4 {main}
    thrown in /public_html/wp-content/themes/xstore/framework/woo.php on line 2575

    please help, this is urgent, as customers can not order and my ads are paid and running.

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 23, 2021 at 10:21

    Hello,

    Download ajax-spv-add-to-cart.min.js file from this page – https://dropmefiles.com/dFc7A and reupload it into xstore/js folder via FTP. Clear cache and check adding to the cart, let us know the result.

    Regards

    Avatar: HowBizzArt
    HowBizzArt
    Participant
    January 23, 2021 at 14:26

    thank you!

    Solved!

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

The issue related to '‘Broken Woocommerce / customer can't add to cart’' 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.