bonjour
How can i do this?
To add the line subtotal excluding tax with reduction of discount in the WooCommerce quote and invoice Yith plugin, you can follow these steps:
1. Install and activate the free WooCommerce quote and invoice Yith plugin.
2. Go to WooCommerce > Settings > Quote and Invoice Yith.
3. Under the "General" tab, make sure the "Enable Quotes" and "Enable Invoices" options are checked.
4. Under the "Invoices" tab, choose the "Custom template without order details" option in the "Template" section.
5. Now, go to the "Custom invoices template without order details" section and click on the "Edit" button.
6. This will open the template editor. In the editor, find the line of code that displays the order subtotal and order total. It could look something like this "Subtotal: {order_subtotal}" and "Total: {order_total}".
7. To add the line subtotal excluding tax, add the following code just above the order subtotal line: "Subtotal (excluding tax): {order_subtotal_tax_excl}".
8. To add the reduction of discount, you can add the following code after the subtotal line: "Discount: {order_discount}".
9. Save the changes and preview the invoice to see the added lines.
10. If you want the same changes to be reflected in the quote template, repeat the same process for the "Quotes" tab.
Now, both your quote and invoice templates will show the line subtotal excluding tax with the reduction of discount for the project. You can also customize the formatting and wording of these lines as per your preference.
Best regards,
Giáp Văn Hưng