Ajax error fixed
Hello,
Congratulations on your theme, it's exceptional.
I found a bug that I fixed locally, in the wp-content/themes/betheme/js/woocommerce.js file.
The problem lies in this call: setTimeout(mfnShopListOptions.grab, 1);
It loses context, so I solved it with: setTimeout(() => mfnShopListOptions.grab(), 1);
I am attaching the file in question with the working modification.
Comments
Hi,
Thanks for appreciating our theme.
We also appreciate you finding the bug and providing a solution. I have passed it on to the dev team and we will implement this fix in the upcoming update.
Best regards