Rogi Posted March 6, 2008 Report Share Posted March 6, 2008 Könnte man nicht in der create_account.php einbauen: xtc_get_geo_zone_code($country_id) IF $geo_zone = 5 $customers_status = '4' IF $geo_zone = 6 $customers_status = '6' Wie wäre die korrekte Syntax? Link to comment Share on other sites More sharing options...
Ralf-Peter Posted March 10, 2008 Report Share Posted March 10, 2008 moechte Kundengruppe aber nach Sprach festlegen. Und folgenden Text im create_account.php eingebaut, aber es leider nicht funktioniert. Ein Tipp waere mir auch sehr hilfreich. //don't know why, but this happens sometimes and new user becomes admin if ($customers_status == 0 || !$customers_status) { if($_SESSION['language'] == 'english') // English { $customers_status = '7'; } else if($_SESSION['language'] == 'german') // German { $customers_status = '4'; } else { $customers_status = DEFAULT_CUSTOMERS_STATUS_ID; } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.