X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Including Customer_notes and order_notes in email (https://forum.x-cart.com/showthread.php?t=1259)

malcy 01-23-2003 10:09 AM

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?

malcy 01-23-2003 10:12 AM

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?

malcy 01-23-2003 11:26 AM

Fixed
 
Don't worry - I've done it. I must be having a good day.

shan 01-23-2003 12:58 PM

Why not post how you did it for others to see

malcy 01-23-2003 01:09 PM

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.

Jonny 04-09-2003 06:50 AM

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.

malcy 04-09-2003 12:23 PM

Hi.

I only use offline orders for my site so customer notes are not needed for other methods.

BoomBoomBap 06-19-2003 10:24 AM

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}
Order Notes:
-------------
{$order.notes}
{/if}


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.