- Posts: 94
- Thank you received: 0
Mass action discount to show on invoice?
8 years 1 month ago #296941
by GB11
Mass action discount to show on invoice? was created by GB11
Hi,
I have a mass action set up that automatically gives a little (3%) discount to anyone who has an account.
Is there a way that I can show this discount on the invoice? At the moment it simply shows the discounted price
For instance, it shows £17.45 instead of £17.99 - 3% = £17.45
I would like customers to remember that they get this discount
Thanks
I have a mass action set up that automatically gives a little (3%) discount to anyone who has an account.
Is there a way that I can show this discount on the invoice? At the moment it simply shows the discounted price
For instance, it shows £17.45 instead of £17.99 - 3% = £17.45
I would like customers to remember that they get this discount
Thanks
Please Log in or Create an account to join the conversation.
8 years 1 month ago #296944
by nicolas
Replied by nicolas on topic Mass action discount to show on invoice?
Hi,
The discount information is not stored with the order. The coupon information is (coupons are a type of discounts, so I just say this in case you're actually talking about coupons).
So there is no easy way to display the discounts received for an order.
With what is there now, it would require adding custom fields of the table "item" to store the information in the database and display it in the invoices/order details page, etc, and a small plugin which would gather the discount information and store it in that or these custom fields when the order is created (with the onAfterOrderCreate trigger).
So if you know PHP, it's possible to add it.
The discount information is not stored with the order. The coupon information is (coupons are a type of discounts, so I just say this in case you're actually talking about coupons).
So there is no easy way to display the discounts received for an order.
With what is there now, it would require adding custom fields of the table "item" to store the information in the database and display it in the invoices/order details page, etc, and a small plugin which would gather the discount information and store it in that or these custom fields when the order is created (with the onAfterOrderCreate trigger).
So if you know PHP, it's possible to add it.
The following user(s) said Thank You: GB11
Please Log in or Create an account to join the conversation.
8 years 1 month ago #297002
by GB11
Replied by GB11 on topic Mass action discount to show on invoice?
Thank you.
I'll have to see what I can come up with.
I'll have to see what I can come up with.
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds