Page 1 of 1

Seller's Email

PostPosted: Sun Aug 26, 2018 8:29 pm
by webmaster_15807
The seller's email for orders does not get updated when the seller changes it under "Your personal information". It has to be manually changed in the Back Office because the Back Office email is used for order emails. Extremely confusing and seller's will stop getting emails!

So it would be better to change agilemultipleseller.php line 1092
Code: Select all
   public static function getSelllerEmail($R95909C49377A2B4F24C79D29C629AF65) {
      if((int) $R95909C49377A2B4F24C79D29C629AF65==0)
         return Configuration::get('PS_SHOP_EMAIL');
      $R130D64A4AD653C91E0FD80DE8FEADC3A='SELECT email FROM `'._DB_PREFIX_.'employee` WHERE id_employee='.intval($R95909C49377A2B4F24C79D29C629AF65);
      return strval(Db::getInstance()->getValue($R130D64A4AD653C91E0FD80DE8FEADC3A));
   }

to
Code: Select all
   public static function getSelllerEmail($R95909C49377A2B4F24C79D29C629AF65) {
      if((int) $R95909C49377A2B4F24C79D29C629AF65==0)
         return Configuration::get('PS_SHOP_EMAIL');
      $R130D64A4AD653C91E0FD80DE8FEADC3A='SELECT email FROM `'._DB_PREFIX_.'customer` WHERE id_customer='.intval($R95909C49377A2B4F24C79D29C629AF65);
      return strval(Db::getInstance()->getValue($R130D64A4AD653C91E0FD80DE8FEADC3A));
   }

Re: Seller's Email

PostPosted: Mon Aug 27, 2018 3:29 am
by shokinro
It is better to always keep seller's the email address in front and back office the same.
Otherwise, it may cause other issues.

Re: Seller's Email

PostPosted: Mon Aug 27, 2018 1:44 pm
by webmaster_15807
I agree. I'll have to look into adding an override to make it happen. I would kind of expect PS to do this by default.