Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Free product coupon is discounting other products
- This topic has 9 replies, 2 voices, and was last updated 5 years, 5 months ago by Soft79.
September 25, 2017 at 12:27 pm #1966
I have a coupon that adds a free product whenever someone purchases a subscription.
After a recent upgrade, this coupon is now causing other simple products in the customer’s cart to become free as well.
Here are two such products:
Put them in the cart together, and here is a screenshot of the total:
It should be $16 + $27 + $10.72 = $53.72. Instead the customer is being charged $37.72, which is $16 too little. They can add additional simple items to the cart and they’ll all be free as long as they have the subscription that triggers the coupon.
When I disable the Extended Coupon PRO plugin or the coupon that applies the free item, the problem disappears.September 25, 2017 at 2:58 pm #1967
Please send screenshots of your coupon settings. What version of the plugin are you using?September 25, 2017 at 3:32 pm #1968
Thanks for the quick response! See if these screenshots work:
I’m using WooCommerce Extended Coupon Features PRO 22.214.171.124. I can give you administrative access to my staging server, if that’d be helpful.September 25, 2017 at 3:43 pm #1969
Oh, that would be very helpful. Please send credentials to admin at soft79.nl. I’ll have a look.September 25, 2017 at 3:51 pm #1970
Also please upgrade to 2.5.4.September 25, 2017 at 3:56 pm #1971
Just emailed you credentials and updated both production & staging servers to 2.5.4!September 25, 2017 at 4:14 pm #1972
I’m in…September 26, 2017 at 4:50 pm #1981
Hi, it was an incompatibility with the Subscriptions plugin. I uploaded a fix (version 2.5.5-dev) to your staging environment.
Please let me know if the issue is fixed now.September 26, 2017 at 5:15 pm #1984
Hi! This does appear to have fixed it. I copied the plugin to the production server, just to be sure, and it seems to work there, too. But as we noted, the issue is intermittent, so I’ll keep an eye on it.
Now that I think about it, the problem occurred after an upgrade of the Subscriptions plugin, not yours. Is there any feedback I should give them about this conflict?
Thank you for addressing this so quickly!
-KenSeptember 26, 2017 at 5:24 pm #1985
Well, my plugin (up to 2.5.4) caused a re-calculate of cart totals (calculate_totals) after adding free products.
If another plugin also triggers a recalculation a conflict may occur. I think it’s not necessary to inform the Woo dudes; I’ll fix it on my end…
- You must be logged in to reply to this topic.