Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Not To Display The Vendor Email In The Order Email Rate Topic   - - - - -

 
  • Jamalla
  • Advanced Member
  • Members
  • Join Date: 23-Sep 17
  • 120 posts

Posted 02 October 2017 - 07:04 AM #1

Hello,

 

I was wondering if it's possible not to show the vendor email in the email sent to the buyer upon confirming placing the order?

 

The point is when the buyer places an order and finishes the payment, he receives an email says that the sender is the vendor. can I make that email sent by the marketplace email instead ?

 

Thanks



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 02 October 2017 - 08:20 AM #2

What document editor do you use - old or new?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Jamalla
  • Advanced Member
  • Members
  • Join Date: 23-Sep 17
  • 120 posts

Posted 02 October 2017 - 02:52 PM #3

What document editor do you use - old or new?

 

Hi,

 

Thanks for the reply, but I am not sure what you mean in your question ?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 03 October 2017 - 05:53 AM #4

Hi,

 

Thanks for the reply, but I am not sure what you mean in your question ?

 

I mean the Settings -> Appearance -> Email templates mode setting


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Jamalla
  • Advanced Member
  • Members
  • Join Date: 23-Sep 17
  • 120 posts

Posted 04 October 2017 - 02:42 PM #5

I mean the Settings -> Appearance -> Email templates mode setting

 

Hi ..

 

It's New (nice and editable via admin)..



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 05 October 2017 - 06:35 AM #6

Open the app/functions/fn.cart.php file, find the fn_order_notification function and replace

        if ($notify_user == true) {
            
            $mailer->send(array(
                'to' => $order_info['email'],
                'from' => 'company_orders_department',

with

        if ($notify_user == true) {
            
            $mailer->send(array(
                'to' => $order_info['email'],
                'from' => 'default_company_orders_department',

Then check the result


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Jamalla
  • Advanced Member
  • Members
  • Join Date: 23-Sep 17
  • 120 posts

Posted 05 October 2017 - 07:05 AM #7

Many thanks eComLabs .. Great ! it worked :)



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 05 October 2017 - 11:17 AM #8

You are welcome! :)


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • hasankamal
  • Member
  • Members
  • Join Date: 14-Feb 18
  • 21 posts

Posted 22 March 2018 - 04:47 AM #9

Hi Ecom,

Is there any way to put on my_changes, and also how to change the header, I check header email still using vendor logo, not my website logo.

 

Thank you.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 22 March 2018 - 05:44 AM #10

Hi Ecom,

Is there any way to put on my_changes, and also how to change the header, I check header email still using vendor logo, not my website logo.

 

Thank you.

 

Without detailed code overview I do not see any hooks to do it with the module.

 

As for logo, please try to open the app/Tygh/Template/Document/Variables/CompanyVariable.php file and replace

$this->logos = fn_get_logos($company_id);

with

$this->logos = fn_get_logos(0);

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • hasankamal
  • Member
  • Members
  • Join Date: 14-Feb 18
  • 21 posts

Posted 23 March 2018 - 04:33 AM #11

 

Without detailed code overview I do not see any hooks to do it with the module.

 

As for logo, please try to open the app/Tygh/Template/Document/Variables/CompanyVariable.php file and replace

$this->logos = fn_get_logos($company_id);

with

$this->logos = fn_get_logos(0);

 

Unfortunately, it does not work, any idea what else should i do

Thank you.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17267 posts

Posted 23 March 2018 - 04:00 PM #12

Unfortunately, it does not work, any idea what else should i do

Thank you.

 

Works on my local installation. Try to clear cache


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.