Seller's Email

In this forum you can post anything related to PrestaShop Modules/Addons from Agile Addons-Modules.Com.

If you need support for any module/addon from Agile Addons-Module.Com, please post it here. We will respond as soon as possible. Usually within one business day.

Please indicate the PrestaShop version, product name. product version, and if possible your order # to get a prompt response.

Moderator: jeffayao_1666

Seller's Email

Postby webmaster_15807 » Sun Aug 26, 2018 8:29 pm

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));
   }
webmaster_15807
 
Posts: 67
Joined: Sat Jan 13, 2018 12:40 am

Re: Seller's Email

Postby shokinro » Mon Aug 27, 2018 3:29 am

It is better to always keep seller's the email address in front and back office the same.
Otherwise, it may cause other issues.
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

Re: Seller's Email

Postby webmaster_15807 » Mon Aug 27, 2018 1:44 pm

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.
webmaster_15807
 
Posts: 67
Joined: Sat Jan 13, 2018 12:40 am


Return to Support forum - Agile PrestaShop Modules/Addons

Who is online

Users browsing this forum: Google [Bot] and 6 guests