'Order email confirmation magento 2

I need to change and add content to order email confirmation, but I'm working on local
how can I check my changes?
thank you



Solution 1:[1]

I'm assuming you have a fully functioning local Magento instance where you're doing your development? If you don't, start there. If you do, you can either update templates via code or you can extend OOTB templates (like order confirmation) using Magento's email template editor (https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/templates/template-email.html).

If you don't have SMTP working locally, I'd suggest installing a 3rd party module that would allow you to configure an external SMTP server. This one works great - https://github.com/magepal/magento2-gmail-smtp-app.

Once you have emails actually sending locally, you can either place actual orders and see your changes in the resulting emails but we find that process to be tedious. So much so that we decided to build our own Magento module to make the testing process easier. You can find details here - https://marketplace.magento.com/argondigital-transactional-email-tester.html

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 tarh33l