How to stop sending mail to client after order.

11.06.2013 16:24
#1
gossen
Joomshopping forum user no avatar
Name: Gos
31.05.2013
Posts: 5
Quote
How to stop sending mail to client after order.

Hi there,

is there a way to turn off the mail that is send to the client after a order is placed? I don't mind the mail that is send to the administrator but I don't want the mail to the client. It will be send manually by the admin self.

Thanks anyway.


Joomla: 3.1.1
JoomShopping: 4.2.2
PHP: 5.3.3-7+squeeze3
Website Url: localhost
 
11.06.2013 16:59
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: How to stop sending mail to client after order.

\components\com_jshopping\lib\default_config.php

set
$config->send_order_email = 0;

 
11.06.2013 18:20
#3
gossen
Joomshopping forum user no avatar
Name: Gos
31.05.2013
Posts: 5
Quote
Aw: How to stop sending mail to client after order.

Man you are quick with the response. Good for you!!

Thank you (again) for your suggestion. It worked. But I found a better solution. With the $config->send_order_email = 0; no mail is send at all (from Joomshopping of course) This works, but with this setting the admin won't get an email when somebody placed an order. I hoped that if I check PDF invoice to admin it would send the pdf, so that the admin knows there was an order placed. But helaas, it won't.

So I turned $config->send_order_email = 0; back on (to 1) and I looked through other files. Then I found checkout.php in components/com_jshopping/models/ I removed line 253 $send = $mailer->Send(); I believe this sends the mail to the client. I tested it and it works. Now only the admin gets a mail when an order is placed.

Hope you or somebody else finds this useful.

Thanks again for your effort and time.
Much appreciated!!

 
02.02.2016 08:25
#4
amin.yazarloo
Joomshopping forum user no avatar
Name: amin
17.01.2016
Posts: 1
Quote
Aw: How to stop sending mail to client after order.

Thank you so much.
this metod work for me as well.
but i found that in ordermail.php at components/com_jshopping/models.
in line 109
//send mail admin


Joomla: 3.4.8
JoomShopping: 4.11.6 official
PHP: 5.4.16 on wamp
MySQL: 5.6.12-log
Website Url: local
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.