1

So I am using Woocommerce subscriptions plugin along with an AJAX side cart plugin. I don't face any issue when adding subscription product to cart for the first purchase. It's only when the customer decides to switch their subscription plan that all the discrepancies occur. The product is not being added to cart. It doesn't matter whether the AJAX call is made by the plugin or by woocommerce, the product is not getting added to cart.

I might have found the cause for it in this thread but I'm not 100% sure if the solution would actually work, so if anyone can guide a little noob out here, it would be of great help.

On a side note, I have posted another question on this site, asking for a more specific solution to this exact same problem. If someone would answer that question rather than this one, they're more than welcome.

Thanks in advance.

  • Log what is happening when you add,remove,update cart. Most of the time the product is added and removed in same time. But that is more to plugin/theme related problem. So contact plugin devs and see what they think about that. – Snuffy Jul 11 '22 at 08:19
  • I may have forgotten to mention a small detail. Everything works perfectly fine when AJAX is disabled for the add to cart buttons. It's only when using the AJAX function when things go south. – ANIRUDDH BHAT Jul 13 '22 at 18:57

0 Answers0