Jump to content

Class For Create Summary Order Email


Totti

Recommended Posts

  • 1 year later...

ok did it, not a perfect way but working:)

 

in file classes/PaymentModule.php change this part:

 $product_var_tpl['unit_price'] = Tools::displayPrice($product['price'], $this->context->currency, false);
 $product_var_tpl['unit_price_full'] = Tools::displayPrice($product['price'], $this->context->currency, false)
  .' '.$product['unity'];

to

 //$product_var_tpl['unit_price'] = Tools::displayPrice($product['price'], $this->context->currency, false);
 //$product_var_tpl['unit_price_full'] = Tools::displayPrice($product['price'], $this->context->currency, false)
 //.' '.$product['unity'];

 //custom change - price with tax
 $product_var_tpl['unit_price'] = $product_var_tpl['unit_price_full'] = Tools::displayPrice(Tools::ps_round($price_wt, 2), $this->context->currency, false);
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...