How can i insert custom tracking url in Order confirmation Email Template?
-
16-04-2021 - |
質問
I want to insert my custom tracking url in Order Confirmation email and url is https://vitalticks.shiprocket.co i put code like this
Track you Order here:Vitalticks Order Tracking Page
But it is not redirecting to the custom url. Please help me to solve this issue.解決
It seems to be pretty simple,
The default e-mail template that is sent by Magento is:
- Customer: vendor/magento/module-sales/view/frontend/email/order_new.html
- Guest: vendor/magento/module-sales/view/frontend/email/order_new_guest.html
You must not edit those files directly on vendor. They can be loaded on admin panel:
Marketing > Communications > Email Templates;
Click on "Add New Template" button;
Include a title for the new template;
Save the template;
Go to Stores > Settings > Configuration and then Sales > Sales Emails
On the order section you must deselect the option
Use system value
and then choose the template that you have created.
所属していません magento.stackexchange