fmoreira86 Posted January 2, 2019 Share Posted January 2, 2019 Hi! Is there any way to insert the tracking number into a mail template? I wanted something like. "your order is sent. Your tracking number is: XXXXXXXX" I don't wan't to use the "followup" link. Thank you! Link to comment Share on other sites More sharing options...
NemoPS Posted January 7, 2019 Share Posted January 7, 2019 Yes, you can edit AdminOrdersController.php, find where it defines followup and adds it as mail variables, and add $order->shipping_number to it. Then in the template just use the variable name you defined. Ideally with an override Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now