Error when added QuickBuy plugin
-
I really appreciate you for providing good template.
https://ko.wordpress.org/plugins/woocommerce-quick-buy/
But when I clicked the ‘Quick Buy’ button theme will error occurred.
Error details
// functions.min.js file
Uncaught TypeError: Cannot read property 'indexOf' of undefined
at Object.success (functions.min.js?ver=2.0.0:2)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
Hello,
Thank you for choosing our theme and contacting our support. We have checked your site and cannot find the error.
Will describe step by step actions to reproduce the error?
Best Regards
Thank you for you reply.
https://hellobill.net/product/major-extension-set/
Step.
1. Open the link
2. As you can see “Quick buy” button below the Add to cart button.
3. Click the “Quick buy” button.
4. Will happen nothing.
But when you open the Chrome Developer Console (F12), We can see the error.
functions.min.js?ver=2.0.0:2 Uncaught TypeError: Cannot read property 'indexOf' of undefined
at Object.success (functions.min.js?ver=2.0.0:2)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
When I add the quick buy button , i can not use ‘Add to cart’ button either.
So when you check this problem, please let me know by email. I will disable the quick buy plugin.
Thanks.
Best regards.
Attachments:
You must be
logged in to view attached files.
Try to disable AJAX add to cart option for the single product page in Theme Settings -> Product page.
Thank you for you help.
It works fine.