Jump to content

[Solved] Orderconfirmation question PS 1.4.1


Recommended Posts

How can I adjust te order template so that discounts, gift wrap en shippingscost are only showed in the order confrimation if the amount is >0. Otherwise it should not be stated.
It is frustrating for a customer when the discount line is stating a zero.....

Thx

Link to comment
Share on other sites

the code is located in PaymentModule.php, validateOrder function.

if (Validate::isEmail($customer->email))
      Mail::Send((int)($order->id_lang), 'order_conf', Mail::l('Order confirmation'), $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment);

Link to comment
Share on other sites

If you would like to hire me to perform the changes for you, that would be my pleasure, you can contact me on PM for those details.
Otherwise I am trying to provide you with guidance on how to accomplish this your self, assuming you have some programing background.

Link to comment
Share on other sites

×
×
  • Create New...