Page 1 of 1

Coupon Usage Bug?

Posted: Fri Jun 29, 2012 2:05 pm
by bgreenwald54
If a coupon is used on an order, and an admin removes the coupon from the order by editing the order items, the coupon is still recorded as used in the ac_OrderCoupons table. Therefore, the usage count reflects the order from which the coupon was removed. The ac_OrderItems row is removed correctly, but the ac_OrderCoupons row is left behind.

Has anyone else ran into this? Has this been reported? I cannot find a similar thread.

At the least, it seems that these ac_OrderCoupons rows should be deleted when the corresponding ac_orderitems row is deleted.

Thanks,
Brian

Re: Coupon Usage Bug?

Posted: Sat Jun 30, 2012 8:44 am
by jmestep
I have not seen it but I haven't deleted a coupon from an order. It would seem to me that the entry in the order coupon table should be deleted also.