Dobrý den,
většina emailů lze deaktivovat v sekci
"Objednávky > Stavy objednávek", ale tento bohužel ne. Takže si budete muset upravit zdrojový kód aplikace. V souboru
/classes/PaymentModule.php najděte tyto řádky:
Kód:
if (Validate::isEmail($this->context->customer->email)) {
Mail::Send(
(int)$order->id_lang,
'order_conf',
Mail::l('Order confirmation', (int)$order->id_lang),
$data,
$this->context->customer->email,
$this->context->customer->firstname.' '.$this->context->customer->lastname,
null,
null,
$file_attachement,
null, _PS_MAIL_DIR_, false, (int)$order->id_shop
);
}
a zakomentujte je:
Kód:
/*
if (Validate::isEmail($this->context->customer->email)) {
Mail::Send(
(int)$order->id_lang,
'order_conf',
Mail::l('Order confirmation', (int)$order->id_lang),
$data,
$this->context->customer->email,
$this->context->customer->firstname.' '.$this->context->customer->lastname,
null,
null,
$file_attachement,
null, _PS_MAIL_DIR_, false, (int)$order->id_shop
);
}
*/
Nebo by se dalo zrušení odesílání také vyřešit smazáním/přejmenováním mailových šablon pro český jazyk
/mails/cs/order_conf.html a
/mails/cs/order_conf.txt a případně ještě ve složce šablony
/themes/nazev-vasi-sablony/mails/cs/).