Support » Plugin: WooCommerce - Sendinblue Add-on » Ajax Add to Cart Failing

  • When clicking the AJAX add to cart buttons the spinner continues and the “view cart” button is not displayed.

    If I disable the WooCommerce – SendinBlue Add-on plugin the error is fixed.

    With the plugin enabled, upon clicking the add to cart button,
    I get the following in the console log:

    “ReferenceError: sendinblue is not defined”.

    Looking at the code, at appear this is the relevant call:

    sendinblue.track(submit_tracking_event_type, {}, JSON.parse(submit_tracking_event_data))

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey, same pb had to disable the extension because it was creating huge issues. Please fix it soon!

    opicron

    (@opicron)

    Same error here. Can this please be fixed?

    opicron

    (@opicron)

    It seems that the function ws_cart_updated in the wc_add_to_cart function from woocommerce-sendinblue.php is causing this issue.

    When i disable the line:

    add_action(‘woocommerce_add_to_cart’, array($this,’ws_add_to_cart’), 10, 6);

    The plugin works correct.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ajax Add to Cart Failing’ is closed to new replies.