![]() |
Including Customer_notes and order_notes in email
I want to include the customer notes (not viewable to customer) in the order_data.tpl
Does anyone know what code to use? |
Sorry - it's the Order Details I need...
When in Admin viewing a customer order, the second-last text box called: "Order details (not visible to customer and provider):" is the info I need in the order_detail.tpl
Anyone know how to do it? |
Fixed
Don't worry - I've done it. I must be having a good day.
|
Why not post how you did it for others to see
|
Good plan:
I edited the history_order.tpl file as follows: {if $usertype eq "A"} {$lng.lbl_order_details}: <textarea name=details cols=60 rows=5>{$order.details}</textarea> {/if} Remove the If statment out of this section ({if $usertype eq "A"} and {/if}) Then edit the mail/order_data.tpl file and add: {$order.details} where you want the notes to appear. |
Hi
how did you get the customer notes to work in the first place, i.e when the customer adds notes on their order.. I could only get a notes box to appear for offline orders i.e phone & fax? any help would be great Jonny. |
Hi.
I only use offline orders for my site so customer notes are not needed for other methods. |
I use customer notes in the following manner - once a product has shipping I include a note stating that it was shipping using method X and will arrive in X number of days.
Edit mail/order_customer_complete.tpl and add the following where appropriate: Code:
{if $order.notes} Similarly, you can add this code to any other relevant email message. As an admin, you should go to the order # and enter information into the "Order notes (not visible to customer):" area I have no idea what the purpose of this area is but I have now given it new usefullness :) No other templates need editing... |
All times are GMT -8. The time now is 01:46 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.