0

In Magento 2.2.5, I am using custom price in order total. It is displaying in the cart and checkout pages. But I need to set and display this custom price in everywhere like order, invoice and credit memos.

I am using this code: https://pastebin.com/LCUghSBZ

How to achieve this.

  • You will need to use Sales order place after observer and in this observer you will need Load order object , then u can set grand total using $order->setGrandTotal($customPrice); – Mohit chauhan Jan 7 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.