因此,我正在使用 woocommerce订阅插件以及 ajax侧购物车插件。在第一次购买中将订阅产品添加到购物车中时,我不会遇到任何问题。只有当客户决定更改其订阅计划时,所有差异才会发生。该产品没有被添加到购物车中。 Ajax调用是由插件还是由WooCommerce进行的,该产品不会添加到购物车中。
我可能已经在 this this this this线程但是我不确定解决方案是否真的可以工作,因此,如果有人可以在这里引导一点菜鸟,那将有很大的帮助。
从附带说明,我已经发布了另一个问题在此站点上,要求解决这个完全相同的问题的更具体的解决方案。如果有人会回答这个问题,而不是这个问题,那么他们就非常欢迎。
提前致谢。
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.
发布评论