mcd1987 Posted January 10, 2016 Share Posted January 10, 2016 Dear reader, Not sure if I should place this question here, please move it if this isn't the correct forum section. My question/problem: I would like to have a email send out to the customer (with shipping address) when I change the status. The problem I have is that I want to include the shipping address in it, I can't get this to work. I've tried the following variables: {delivery_block_html} {delivery_address1} {delivery_block_txt} {invoice_block_txt} {delivery_postal_code} {delivery_city} Should I add something to OrderHistory.php of am I just using the wrong codes? Thank you for you answer, Melvin Link to comment Share on other sites More sharing options...
tuk66 Posted January 11, 2016 Share Posted January 11, 2016 See the email template variables ({*}) in the OrderHistory::changeIdOrderState() method. You can add your own. 1 Link to comment Share on other sites More sharing options...
mcd1987 Posted January 11, 2016 Author Share Posted January 11, 2016 Tuk66, thanks for your reply! I found what you where pointing at (row 80), should I edit this file or make an override? One more question. What should I add to get the address output? I would like the following: {address} = street + number {postcode} {city} {country} Will this work? '{address1}' => $customer->address1, '{postcode}' => $customer->postcode, '{city}' => $customer->city, '{country}' => $customer->id_country, '{phone}' => $customer->phone, '{phone_mobile}' => $customer->phone_mobile I`m trying to create an email which is sent out if a customer has provided a incomplete address. So I`m guessing it should take the customer id? 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