View Single Post
  #14  
Old 03-18-2019, 12:22 PM
 
Tearlet Tearlet is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 35
 

Default Re: Automatic Membership Level

This customer has upgraded from X-Cart 4.4 to X-Cart 4.7 and it appears the membership will no longer automatically register the new members.

I have made sure the include/register.php has

Quote:
// Update/Insert user info

$common_profile_fields = array(
'title',
'firstname',
'lastname',
'company',
'email',
'url',
'pending_membershipid',
'ssn',
'parent',
);

$profile_values = array();

foreach ($common_profile_fields as $field) {

$profile_values[$field] = isset(${$field}) ? ${$field} : '';

}

$profile_values['membershipid'] = ${'pending_membershipid'};


Anyone know of any other changes with X-Cart 4.7 that would need to be included to make this happen again?
__________________
customers use xcart 4.4 - 4.7, I will state which one with each question.
Reply With Quote