Download Magento Add Fee Or Discount To Order Totals Images
30 Dec, 2022
Download Magento Add Fee Or Discount To Order Totals Images. I tried to do this. Add new order total (fee or discount, like prepaid discount).
I have created a custom order total that gives a discount in certain situations. It allows adding flat/percentage based surcharge or discount to the new orders getting created from admin or to the existing orders. You should add a custom total to existing (default) totals collection.
After user places order, we save this custom total value in table sales_flat_order:
Magento 2 provides for such extra addition to order totals. Adding a shipping or handling fee is common. This extra fee will display in order, invoice and creditmemo. I developed module for add extra fee to order total.