Ok merci mais je crois que c'est déjà trop complexe pour mon niveau . Dans paypal.php j'ai ça :
$vars["address_override"]=$method->payment_params->address_override;
$cart = hikashop_get('class.cart');
$cart->loadAddress($order->cart,$address,'object',$method->payment_params->address_type);
$vars["first_name"]=@$order->cart->$address_type->address_firstname;
$vars["last_name"]=@$order->cart->$address_type->address_lastname;
$address1 = '';
$address2 = '';
if(!empty($order->cart->$address_type->address_street2)){
$address2 = substr($order->cart->$address_type->address_street2,0,99);
}
if(!empty($order->cart->$address_type->address_street)){
if(strlen($order->cart->$address_type->address_street)>100){
$address1 = substr($order->cart->$address_type->address_street,0,99);
if(empty($address2)) $address2 = substr($order->cart->$address_type->address_street,99,199);
}else{
$address1 = $order->cart->$address_type->address_street;
}
}
$vars["address1"]=$address1;
Donc admettons pour le champs "address1", est-ce que je modifie simplement "$vars["address1"]=$address1;" par "$vars["address1"]=$cb_adress;" puisque c'est le nom du champ dans jom_comprofiler_fields de ma base de données ?