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

Cant add address to the register.php page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 08-27-2011, 04:55 AM
 
Rob Barclay Rob Barclay is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 38
 

Default Cant add address to the register.php page

Hi I am creating at trade site for a client and the register.php page will not display the address fields.

I am using 4.4.3 gold version I cannot force customers to enter Billing address on Register page. Changing settings in admin have no result on front-page. It looks to me that common_files/customer/main/register_address_info.tpl is old, 'cause it uses variables that do not exist in runtime.

Can anyone please confirm that register_address_info.tpl (and address_fields.tpl) are up-to-date with the version 4.4.3 gold? I really need new customers to register with Billing address.

http://shop.cliptec.co.uk/register.php
__________________
Version 4.6.1
Reply With Quote
  #2  
Old 09-22-2011, 07:56 AM
  Matthew Austin's Avatar 
Matthew Austin Matthew Austin is offline
 

Newbie
  
Join Date: Sep 2011
Posts: 4
 

Default Re: Cant add address to the register.php page

I am having the same problem!
__________________
X-Cart 4.4
Reply With Quote
  #3  
Old 09-22-2011, 08:05 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: Cant add address to the register.php page

Quote:
Originally Posted by Rob Barclay
Can anyone please confirm that register_address_info.tpl (and address_fields.tpl) are up-to-date with the version 4.4.3 gold? I really need new customers to register with Billing address.

http://shop.cliptec.co.uk/register.php

Looks like you've resolved the issue on your site.
How did you get around it?
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #4  
Old 09-22-2011, 08:25 AM
 
Rob Barclay Rob Barclay is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 38
 

Default Re: Cant add address to the register.php page

Hi, because this is a trade site and I set the customer to not be able to purchase until their account was activated I created the address fields as Additional fields and as such the data is emailed to the client when they register so the client can approve/decline the application, but unfortunately this does not add the address to the customers address book.

So when the customers account is approved and they are ready to make a purchase when they checkout they would need to add their address again.

Because my client wont be activating these accounts without prior company checks its not a big issue, but if the client was to be registering and then expecting to checkout instantly then they would be confused at why they then have to add their address again.

I submitted a ticket to xcart and it was confirmed that this was not going to be possible with the standard structure. I looked at how I could achieve this and its not a simple procedure. If I needed the address to populate the Address book I would probably write a php script to clone the fields in the database to the required Address book tables so its already present when required.

Not a great solution but I dont see many other options.
__________________
Version 4.6.1
Reply With Quote
  #5  
Old 09-29-2011, 10:20 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Cant add address to the register.php page

In the X-Cart v4.4 the address fields are really unavailable on the registration page, because the Address Book feature is used to store the users addresses. On the registration page it is necessary to enter the general information only (personal info + login and password). After registration the customer will see the "Address Book" tab, where he/she is able to manage his/her addresses.
__________________
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
Reply With Quote
  #6  
Old 11-10-2011, 02:27 AM
  epi's Avatar 
epi epi is offline
 

Member
  
Join Date: Apr 2004
Posts: 22
 

Default Re: Cant add address to the register.php page

I have the same problem, my new customers are synchronized with my CRM software and need address info to be validated. I just can't rely on customer's willingness to add their address info Аfter they registered.

I think it's really stupid that this is not a feature, especially because it always worked like this in previous versions. How can you just totally erase proper functionality?

Don't get me wrong, I think the address book is awesome, but why don't combine it with the registration page, it just doesn't make sense to me.

I'm now going to build it myself, if anyone has tips, let me know
__________________
Xcart 4.0.19 Gold
modules: X-affiliate, AOM, Feed Manager, SnS
Reply With Quote
  #7  
Old 11-10-2011, 02:30 AM
 
Rob Barclay Rob Barclay is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 38
 

Default Re: Cant add address to the register.php page

I would create a little sql/php and get it to populate the data into the other table with the updated information on a cron every 30 minutes or as required.
__________________
Version 4.6.1
Reply With Quote
  #8  
Old 01-21-2012, 06:30 PM
  proboscidian's Avatar 
proboscidian proboscidian is offline
 

Senior Member
  
Join Date: May 2005
Location: Clearwater, FL
Posts: 146
 

Default Re: Cant add address to the register.php page

Has anyone succeeded in modifying the register page to include the address book?
__________________
Industrial Webworks
Various xcart versions from 4.1.19 gold - 4.7 gold
http://www.industrialwebworks.net
Reply With Quote
  #9  
Old 07-21-2012, 12:02 AM
 
hues hues is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 90
 

Default Re: Cant add address to the register.php page

I was also looking for this. Need to modify register.php to include addresses. Has anyone done this ?
thanks
__________________
X-Cart 4.4.5 ... www.drugteststrips.com
X-Cart 4.4.5 ... www.drugalcoholtest.com

Hues Technologies
http://www.huestechnologies.com
Reply With Quote
  #10  
Old 07-25-2012, 01:22 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Cant add address to the register.php page

This is possible, but a slight modification is required:

1. alter the "skin/common_files/customer/main/register.tpl" template and replace this code:
Code:
{include file="customer/main/register_address_info.tpl"}
with this:
Code:
{include file="customer/main/register_address_info.tpl" need_address_info='Y'}

2. add corresponding smarty assign statement in "include/register.php" script.

PHP Code:
$smarty->assign('address_fields'$address_fields); 
__________________
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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:44 PM.

   

 
X-Cart forums © 2001-2020