Jump to content

[Solved] Change mail template depending on order payment method


lsc

Recommended Posts

Hi there,

I am trying to figure out, what determines which email template is used depending on choice off payment method, when an order is created.
eg.
If an order is created choosing bankwire as payment method, the "bankwire.html"-template is used when the order confirmation e-mail is send to the customer.

But when "cash on delivery"(std. module) is chosen as payment method, the "preparation.html"-template is used when the order confirmation e-mail is send to the customer!
Does anybody know how/where I can change that?


Prestashop 1.6.1.6
Cash on delivery(COD) module v0.7.5 - by PrestaShop

/lsc

Edited by lsc (see edit history)
Link to comment
Share on other sites

Done ?

 

In the module i found

$this->module->validateOrder((int)$this->context->cart->id, Configuration::get('PS_OS_PREPARATION'), $total, $this->module->displayName, null, array(), null, false, $customer->secure_key);

PS_OS_PREPARATION use the template preparation.html...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...