This topic has 4 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Stan Russell
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?
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
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
Hello randymir,
we are happy that you have solved your problem! Have a nice day!
Regards,
Stan Russell.
Tagged: add to cart, ajax, error, json, templates, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up