Jump to content
Sign in to follow this  

Apply discount on subtotal (order editor)

Recommended Posts



I use the contrib order editor which is great but I have a little bug with it : Discount don't apply on subtotal, only on total.


Because of that, tax and price excluding tax are wrong because there are based on the subtotal.




As you can see, subtotal don't include the discount :angry: but is included in the total. :blink:


I try all this afternoon to modify the file order.php which is in the file "order_editor", but I failed to apply "discount" which is a custom on the subtotal.


I don't know how to apply discount on this code :




Thanks a lot for your help.


Bye ;)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this