Home Change the value of Discount and the final Total (Subtotal-Discount+Taxes) on the invoice generated by Woocommerce PDF Invoice
Reply: 0

Change the value of Discount and the final Total (Subtotal-Discount+Taxes) on the invoice generated by Woocommerce PDF Invoice

user1021
1#
user1021 Published in April 23, 2018, 9:16 am

I have created a coupon code for products using the Woocommerce plugin. The user gets a 10% discount using the coupon "FREE". I want the PDF invoice generated by the Woocommerce PDF Invoice plugin to be the way if discount wasn't applied specifically for this coupon- "FREE". To illustrate:

Case 1:

Subtotal= $1000

Discount (10%)= $100

Taxes (10%)= $90

Total= $990

If coupon code, "FREE" is applied, I want the Total calculation to be as under:

Case 2:

Subtotal= $1000

Taxes (10%)= $100

Total= $1100

In both cases, user pays $990 but the invoice must state particulars as in Case 2.

The above changes have to be done only on the PDF invoice generated by Woocommerce PDF Invoice Plugin. There shouldn't be any changes on the Wocommerce Cart, Payment page.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.32087 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO