Home Forums Basel support forum Basel: frozen "Add to Cart" button

Basel: frozen "Add to Cart" button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #192544

    oleg_dmitriev
    Participant

    Hi Elise,

    please help! due to some update, the “Add to cart” button is freezing. You press it, and the spinning wheel continues forever. The product is added to cart, but nothing happens. It happens on every WooCommerce Single Product page. In Chrome, I am seeing this error: Uncaught ReferenceError: wc_add_to_cart_params is not defined
    https://ibb.co/yk84CHf

    Example page:
    https://www.independent.wine/product/francone-barolo-2016-barolo-docg-decanter-silver-medal/

    Here is the code from Chrome -> Inspect Element ->
    Uncaught ReferenceError: wc_add_to_cart_params is not defined
    at Object.success (functions.min.js?ver=5.1.12:1)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at x (jquery.js?ver=1.12.4-wp:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)

    Note: I changed “Add to Cart” to “Buy now” in Loco translate, so this is only text difference.

    #192570

    Hello,

    Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, then activate the plugins one by one to detect which one causes the problem.

    Best Regards

    #192714

    oleg_dmitriev
    Participant

    Elise,

    this problem was related to WooCommerce, not to the theme.
    I had a developer to restore the ajax code for Woo, it is back to normal.

    Thanks for your response
    Oleg

    #192799

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)