carey Posted September 15, 2014 Share Posted September 15, 2014 Hoping you can help! I changed the user "title" (i.e. Mr, Mrs, etc..) to accomadate me better. I renamed that spot "home room teacher" in the text only and made it a required field. is there any way I can add that (user_title) on the email template that comes to me every time I get notified of an order? this is what my template looks like: {$DATA.first_name} {$DATA.last_name} {if !empty({$BILLING.company_name})}({$BILLING.company_name}){/if} just placed order number {$DATA.cart_order_id} on {$DATA.order_date}. This order can be managed online by following the link below. {$DATA.link} I was hoping for something like: {$DATA.first_name} {$DATA.last_name} {if !empty({$BILLING.company_name})}({$BILLING.company_name}){/if} just placed order number {$DATA.cart_order_id} on {$DATA.order_date}.Home room teacher name - (macros code for 'user_title') This order can be managed online by following the link below. {$DATA.link} does anyone know how to do this? Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 15, 2014 Share Posted September 15, 2014 "I changed the user "title" (i.e. Mr, Mrs, etc..)." We would need to exactly what, where, and how you changed this. If what you changed did not affect the database column name where this information is recorded, then I think the macro you may want to use is {$DATA.title}. Quote Link to comment Share on other sites More sharing options...
carey Posted September 16, 2014 Author Share Posted September 16, 2014 the only thing i changed was the text (title to 'homeroom teacher', the code stayed the same) i tried '{$DATA.user_title}' and it didnt work I'll try {$DATA.title}just to clarify... http://www.heritagespiritwear.com/mystore/ any product - then checkout - the first field is 'home room teacher title' (which is mandatory) I was trying to get that field to show up on the admin receipt so I could see which order goes to what home room. Quote Link to comment Share on other sites More sharing options...
carey Posted September 16, 2014 Author Share Posted September 16, 2014 DAMN bsmither - you are good!! it worked like a charm!!! jeez - send me the name of your local pub and I'll open you a bar tab! thank you thank you thank you!!!! Care~ Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 16, 2014 Share Posted September 16, 2014 If {$DATA.title} isn't precisely what you want, then use {$DATA.title_d} which is the title of the person who is to receive the delivery at the delivery point -- as opposed to the address where the billing invoice is to be sent. This works if the "customer" has made separate billing and delivery addresses for the order. Quote Link to comment Share on other sites More sharing options...
carey Posted September 16, 2014 Author Share Posted September 16, 2014 {$DATA.title} worked perfectly for me because there is no individual shipping (we ship all orders to one school, just needed the home room teacher to sort it out). for someone else they might need that. thank you again so much!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.