Okay, I feel like I'm a second from getting this right...
I followed the following instructions / suggestions
1) Added the following code to skin/common_files/customer/main/register.tpl
Quote:
{include file="customer/main/register_address_info.tpl" need_address_info='Y'}
|
2) Added the following code to include/register.php
Quote:
if (empty($userinfo)) {
$smarty->assign('address_fields', $address_fields);
}
|
Beneath this code
Quote:
$smarty->assign('is_areas', $is_areas);
|
At this point the fields show, but they don't post to the address book, so I added this code as suggested below the code above in include/register.php
Quote:
} elseif ($current_area == 'C' && !empty($address_book)) {
$address_book = func_customer_save_address_book_indb($address_book , @$ship2diff, @$existing_address, @$new_address);
}
|
Upon adding that the registration page would not load at all, so I removed it, and continued onto the suggestion of adding that last bit of code to include/address_book.php
The page loads, the fields show, but I'm still at the point that the data entered into the address fields does not show up in the address book.
I've gone through this thread from top to bottom and back again, and I'm stumped as to what I missed
Help?
Gina
x-cart v4.6.5