Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Including Customer_notes and order_notes in email

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-23-2003, 10:09 AM
 
malcy malcy is offline
 

Member
  
Join Date: Jan 2003
Location: New Zealand
Posts: 15
 

Default 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?
__________________
Middle Earth exists - come and visit!
http://www.purenz.com/
Reply With Quote
  #2  
Old 01-23-2003, 10:12 AM
 
malcy malcy is offline
 

Member
  
Join Date: Jan 2003
Location: New Zealand
Posts: 15
 

Default 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?
__________________
Middle Earth exists - come and visit!
http://www.purenz.com/
Reply With Quote
  #3  
Old 01-23-2003, 11:26 AM
 
malcy malcy is offline
 

Member
  
Join Date: Jan 2003
Location: New Zealand
Posts: 15
 

Default Fixed

Don't worry - I've done it. I must be having a good day.
__________________
Middle Earth exists - come and visit!
http://www.purenz.com/
Reply With Quote
  #4  
Old 01-23-2003, 12:58 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Why not post how you did it for others to see
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 01-23-2003, 01:09 PM
 
malcy malcy is offline
 

Member
  
Join Date: Jan 2003
Location: New Zealand
Posts: 15
 

Default

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.
__________________
Middle Earth exists - come and visit!
http://www.purenz.com/
Reply With Quote
  #6  
Old 04-09-2003, 06:50 AM
 
Jonny Jonny is offline
 

Advanced Member
  
Join Date: Sep 2002
Posts: 67
 

Default

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.
Reply With Quote
  #7  
Old 04-09-2003, 12:23 PM
 
malcy malcy is offline
 

Member
  
Join Date: Jan 2003
Location: New Zealand
Posts: 15
 

Default

Hi.

I only use offline orders for my site so customer notes are not needed for other methods.
__________________
Middle Earth exists - come and visit!
http://www.purenz.com/
Reply With Quote
  #8  
Old 06-19-2003, 10:24 AM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

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...
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:12 AM.

   

 
X-Cart forums © 2001-2020