Jump to content

[TIPS] Rajouter le champ payment aux mails qui ne le gèrent pas


Recommended Posts

Prestashop 1.2.5, rajout du type de paiement effectué de manière globale.

Dans admin/tabs/AdminOrders.php ligne 111

Remplacer

$templateVars = array('{followup}' => ($history->id_order_state == _PS_OS_SHIPPING_ AND $order->shipping_number) ? str_replace('@', $order->shipping_number, $carrier->url) : '');



par :

$templateVars = array('{followup}' => ($history->id_order_state == _PS_OS_SHIPPING_ AND $order->shipping_number) ? str_replace('@', $order->shipping_number, $carrier->url) : '', '{payment}' => $order->payment);

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...