Ajax calls not working - by yotams - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 6 years, 1 months ago ago by Rose Tyler

  • Avatar: yotams
    yotams
    Participant
    February 26, 2018 at 20:41

    Hi,
    I have created a custom plugin for my site that uses AJAX calls to the admin-ajax.php file, however, when I try to do the ajax requests, I am getting a 400 bad request error. I know it doesn’t sound like a problem in the theme, but from some reason it is working properly with other themes (I have tried the default Twenty Seventeen theme, the Twenty fifteen and woocommerce’s Storefront theme)

    Thanks,
    Yotam

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 27, 2018 at 08:32

    Hello,

    Theme Options > E-Commerce > Single Product > disable Ajax add to cart.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.