0

My client wants to send a different order confirmation email for a country. Like we have a US store and receive orders from Russia customs should receive the email that we don't ship them in Russian.

Is this possible?

Please help

1
  • if you are not shipping in russia then why taking order from russia? please prevent to place order from russia. Commented Dec 18, 2021 at 12:15

1 Answer 1

0

If that is a customer requirement

Declare a new template with the non-US order confirmation

you can either create a Plugin or override magento/module-sales/Model/Order/Email/Sender/OrderSender

In Send method you are getting order object , there you can check shipping address country if that is non-US then use the new order template else don't

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.