I recently experienced a situation where the plugin was deactivated and I received an error message along the lines of “the plugin file could not be found”. My dev says it was related to a recent update that was pushed.
Now I am experiencing issues with a few orders where a coupon code with a free gift has been applied. In 3 different cases I have seen orders where the free gift is added and the price of the non-free item is changed to the regular price of the gift item.
Since we had the issue with the plugin from the update and the orders all have coupon codes with free gifts I am thinking it may be related to the plugin. Any idea how to troubleshoot this?
The issue is that it doesn’t happen consistently. We probably had 100 or more orders where the coupons were used and it only happened 3 times. The only common thread between those 3 orders were that each time the free gift coupon was being used and the price of the non-free item was changed to the price of the free item.
I can’t find anything in the source of our plugin that can change the product price to anything but 0.00. It’s hard to debug this if it’s not reproducable. I see you’re using custom functions. Anything price related in there?