Ajax Error on Add-to-Cart - by randymir - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Stan Russell

  • Avatar: randymir
    randymir
    Participant
    January 1, 2016 at 01:54

    Our site is having problems with Ajax errors when customers click the add-to-cart button. This is a relatively new installation. It doesn’t happen on every product and not all the time.

    The below link is one of the products that is pretty consistent with the error. If there are not items in the cart, it gets the ajax error every time. If there are other items then it will usually work.

    https://www.softwarediscountcenter.com/shop/intuit-quickbooks/quickbooks-pro/

    Is there a setting, or something I should be looking for?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: randymir
    randymir
    Participant
    January 1, 2016 at 20:50

    Additional information . . . This is what appears to be causing the Ajax error

    [01-Jan-2016 19:44:00 UTC] PHP Fatal error: Call to a member function get_price_html() on null in /home/posdeals/public_html/wp-content/plugins/woocommerce/templates/loop/price.php on line 17

    Avatar: randymir
    randymir
    Participant
    January 2, 2016 at 17:29

    We were able to resolve this by un-checking “Enable AJAX add to cart buttons on archives” under the WooCommerce settings. The problem was a conflict with the License Manager plugin.

    Randy

    Avatar: stan
    Stan Russell
    Participant
    January 4, 2016 at 14:45

    Hello randymir,

    we are happy that you have solved your problem! Have a nice day!

    Regards,
    Stan Russell.

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

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

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