Totti Posted March 1, 2016 Share Posted March 1, 2016 Hello,what is the class that creates the summary of the order and sends it via email ? Link to comment Share on other sites More sharing options...
roja45 Posted March 1, 2016 Share Posted March 1, 2016 (edited) The payment methods extend classes/PaymentModule.php and call the validateOrder function, this generates the order_conf email. Edited March 1, 2016 by roja45 (see edit history) 1 Link to comment Share on other sites More sharing options...
Totti Posted March 2, 2016 Author Share Posted March 2, 2016 So I have to change all form or is a common feature to all ? Link to comment Share on other sites More sharing options...
roja45 Posted March 2, 2016 Share Posted March 2, 2016 That depends on what you want to do? Link to comment Share on other sites More sharing options...
gibonskc Posted March 3, 2017 Share Posted March 3, 2017 How to show brutto (with tax) prices for each product? Default summary of the order shows prices without tax (unit price). Is it possible to change it in admin panel or it has to be done other way? Link to comment Share on other sites More sharing options...
gibonskc Posted March 3, 2017 Share Posted March 3, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now