View Single Post
  #1  
Old 07-22-2004, 11:00 AM
 
ian_fs ian_fs is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Norwich, UK
Posts: 86
 

Default More Address fields in 3.5.9 and displaying them in orders

Using X-Cart 3.5.9

I have added the necessary database fields and address fields in the registration page to have 3 address line fields. I have got the registration side succesfully completed, however I now want to have the address lines to be shown in invoices and customer notifications emails.

I have looked into the mail templates and added the code from the original address line thinking that it would get the data for the further to fields. However this does not happen, I have since tried to find the necessary PHP files which will have the code which gets the customers address data from the database to change but I cannot find the file(s) which handle the orders and sends the emails.

If someone could tell me the files which do this I would be grateful. I have looked through the following files and have found nothing relating to it, but I may have glanced over something.

(I do not know which is the ordinary payment script in X-Cart as the shop Im developing X-Cart for manually process the orders).

auth.php
cart.php
order.php
orders.php
include/func.php
include/orders.php
include/payment_method.php
payment/payment_cc.php
payment/payment_ccend.php

Maybe I have been looking in the wrong files or the correct files and not noticed. Any pointers on where to make changes for:-

order emails
invoices
(plus on a side not how to add two extra address lines to gift certificates)
and anything else that relates to customer address's.

My only alternative would be changing the address textbox into a textarea so customers could type addresses in the following manner:

123 Smith Street -address 1
Smithville - address 2
Marylebone - address 3

then city
then county
etc


Cheers

JeZ
Reply With Quote