| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Registration Non-US Customers? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Registration Non-US Customers?
Well, I've looked for hours and no real answer.
How does everyone have international users checkout? Shouldn't there be 2 Address fields, province, town etc? I'm using 3.5 and I don't want to have to edit all the files, but it's looking like I'm going to have to. Any ideas? If not does anyone know all the files that will need to be modified? Thanks, All Best. |
|||||||
#2
|
|||||||
|
|||||||
We modified the registration form under version 3.4.11 and added an address 2 line for billing, and for shipping. We also added a first name, last name, company for the shipping address too.
We are now in the process of upgrading to 3.5.4, and re processing the changes we made to 3.4.X. Let me know if you need more information on which files to edit. Thanks
__________________
PHPdev --------------------- X-Cart: 4.1.11 OS: Linux Apache: 2.0.61 |
|||||||
#3
|
|||||||
|
|||||||
Info
Yes Thanks.
Glad to see that I'm not the only one. So which files did you edit? The info is much appreciated! |
|||||||
#4
|
|||||||
|
|||||||
I had to edit...
Database: xcart_customers: Add b_address2 Add s_address2 xcart_orders: Add b_address2 Add s_address2 Templates: register_billing_address register_shipping_address PHP files func.php specifically the func_place_order function had to edit the insert, and update for orders adding the to added fields to the query register.php I beleive both php files are in the ./include directory Let me know if you need more detailed information
__________________
PHPdev --------------------- X-Cart: 4.1.11 OS: Linux Apache: 2.0.61 |
|||||||
#5
|
|||||||
|
|||||||
Hi---I would like to be able to add some fields as well...could you be a little more specific on what you changed in the php files?
Thanks! B-- |
|||||||
#6
|
|||||||
|
|||||||
This is one example of what needs to be changed
Code:
This section used to look like Code:
NOTE the addition of the s_firstname, s_lastname, s_address2, b_address2 fields. This may not be 100% accurate becasue I dont have the oritional file to compare to. Also you will need to edit the "update" and "insert" statements for the customers table in includes/register.php Hope this helps...
__________________
PHPdev --------------------- X-Cart: 4.1.11 OS: Linux Apache: 2.0.61 |
|||||||
#7
|
|||||||
|
|||||||
Thank you...but in your previous post you had mentioned "database" files to edit...I can't find those files in my version...3.54 Suggestions?
Thanks! |
|||||||
#8
|
|||||||
|
|||||||
P.S. I am just trying to add the first and last name to the shipping information, so they can enter that instead of having to modify it later...I believe you made this customization as well?
|
|||||||
#9
|
|||||||
|
|||||||
Y you will have to edit the xcart_orders, and xcart_customers tables adding s_firstname, and s_lastname to each of these tables. Too you will have to edit the file where the b_firstname or firstname is assigned to s_firstname. This is incase the user does not enter the shipping information. I can not seem to find that file right now, it could be part of the "func_place_order" or cart.php under customers folder.
Ill keep looking, and sorry I dont have full directions typed up as of yet. Thanks
__________________
PHPdev --------------------- X-Cart: 4.1.11 OS: Linux Apache: 2.0.61 |
|||||||
#10
|
|||||||
|
|||||||
Yes, if you could post that for V. 3.54 that would be great, because I am not finding the files you are referring to....
Thanks! |
|||||||
|
|||
X-Cart forums © 2001-2020
|