Zen Cart Logo
Forums / All Other Contributions/Addons / Edit Orders addon bug: Group Discount Stored Value wrong

Edit Orders addon bug: Group Discount Stored Value wrong

Locked

Views: 1,424

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
4 Jun 2008, 3:18 PM
#1
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Edit Orders addon bug: Group Discount Stored Value wrong

I just installed the Edit Order Add-on from the download section and found that if you have a group discount and you edit anything on the order, it ADDS the discount instead of subtracting it when you update the order. This I would imagine is because the group discunt amount is stored as a positive number in the Database under the value record in the orders_total table. I am not sure if this should be changed in the Zen-Cart code or the Edit Order code.

The Edit option is good for me because I have 1st time users placing an order before I can apply there discount to their profile, so I want to be able to change their existing order to reflect their discount.

Can anyone shed some light on this?