| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Cant add address to the register.php page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Thanks Alex.
Please help in modifying "include/register.php" Where to add the code PHP Code:
Around line 1690 on include/register.php we have PHP Code:
Thanks again for the help.
__________________
X-Cart 4.4.5 ... www.drugteststrips.com X-Cart 4.4.5 ... www.drugalcoholtest.com Hues Technologies http://www.huestechnologies.com |
|||||||
#12
|
|||||||||
|
|||||||||
![]() Try adding this code at the bottom where the other smarty variables are defined:
PHP Code:
e.g. after this after this one: PHP Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#13
|
|||||||
|
|||||||
![]() Thank you Alex. This is exactly what was needed.
__________________
X-Cart 4.4.5 ... www.drugteststrips.com X-Cart 4.4.5 ... www.drugalcoholtest.com Hues Technologies http://www.huestechnologies.com |
|||||||
#14
|
|||||||
|
|||||||
![]() Alex I implemented this modification but it is not working properly. When a user registers, address fields are there on registration form but address does not appear in address book. User has to fill in address again so it does not make sense.
__________________
X-Cart 4.4.5 ... www.drugteststrips.com X-Cart 4.4.5 ... www.drugalcoholtest.com Hues Technologies http://www.huestechnologies.com |
|||||||
#15
|
|||||||
|
|||||||
![]() I have the same issue with one of my companies. Has a way been found to tie the registration to the address book so there is no need for double entry of address?
__________________
Version 4.7.8 |
|||||||
#16
|
|||||||
|
|||||||
![]() This is really helpful. I would also like to add the "additional Feilds" from the user profiles to the register form. Is this possible as we are using it as an internal account application form to approve accounts.
__________________
X-Cart Gold 4.1.10, 4.1.18, 4.4.4, 4.4.5 |
|||||||
#17
|
|||||||||
|
|||||||||
![]() Getting the Customer Registered e-mail with Customer's Personal Information along with Address Information is a need for our company as well, since we incorporate the customers onto our system as they register.
I see we can change that with some of the coding provided here, but we would also like it for our customers to not have to enter in their address twice (registration, then address book)! So as they register and enter their personal/address info, that information gets transfered to the address book.
__________________
Marcello Canitano New Site: X-Cart v4.5.5 GOLD X-Cart Mobile v1.4.3 X-Payments v1.0.6 CDSEO Pro v2 Total Server Solutions xCDN www.silverhorseracing.com |
|||||||||
#18
|
|||||||
|
|||||||
![]() After adding Alex's code add the below to include/address_book.php
Code:
Worked for me.
__________________
X-Cart Gold 4.4.5 |
|||||||
|
#19
|
|||||||
|
|||||||
![]() If you dont mind me asking, where did you put it on the page to make it work for you?
Did you just edit the block around line 76 or did you enter this as a whole new block. Thanks
__________________
Version 4.7.8 |
|||||||
#20
|
|||||||
|
|||||||
![]() Looking at the code it seems to be what they already have
Code:
__________________
Version 4.7.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|