View Single Post
  #30  
Old 06-05-2015, 04:17 AM
 
Carzilla Carzilla is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 39
 

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

Hello Gina,

I've had the same problem as you had, I added all the code everyone suggested, but alas the addres book didn't get updated.

I've solved it now - albeit not perfect - but it works good enough for me.

In include/address_book.php, add:

Code:
elseif (!empty($address_book)) { func_admin_save_address_book($address_book, $newuser_info['id'], $address_book_additional_values); }

After the "elseif ($current_area != 'C')" block.

Now it saves the data! The only problem is that the user still has this one 'empty' address book entry... but that's a problem for another day.

Too bad X-Cart itself doesn't really solve this problem. With all due respect, this is core functionality in 2015.
__________________
X-Cart 4.6.2
Reply With Quote