• Hi,
    I tried to add a tooltip to add to cart button in loop/add-to-cart.php
    I added “data-toggle=”%s”, esc_attr( tooltip )”.
    But apparently that’s cause issues with the ajax and now the page reloads when I’m adding an item to the cart.

    Any help would be appreciated!
    Regards,
    Liad.

    https://wordpress.org/plugins/woocommerce/

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Liad91

    (@liad91)

    Done, But the issue still there /:

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Assume you’ve turned off ajax add to cart now because the class is missing. Before, when I clicked there were a bunch of wpcf strings appended to the add to cart URL. Wasn’t sure if these were affecting it.

    The error you’re seeing can be caused by invalid ajax requests + invalid responses according to google. Thats why I suspected something more than the tooltip issue..

    Try the other tooltip script, if you’re certain it works without your current tooltips.

    Thread Starter Liad91

    (@liad91)

    Ok, I’ll.
    Thank very much! (:

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘add to cart tooltip problem’ is closed to new replies.