Hi,
In which file is email variables 'price' and 'total' for 3.0.2.0 (image in attachement)
For 2.3.0.2 version is in catalog/model/checkout/order.php but something is changed for 3.0.x.
Thanks
it's in
catalog/controller/mail/order.php
public function getOrderProducts($order_id)
which is in catalog/model/checkout/order.php
catalog/controller/mail/order.php
and data is comming from$data['products'][] = array(
'name' => $order_product['name'],
'model' => $order_product['model'],
'option' => $option_data,
'quantity' => $order_product['quantity'],
'price' => $this->currency->format($order_product['price'] + ($this->config->get('config_tax') ? $order_product['tax'] : 0), $order_info['currency_code'], $order_info['currency_value']),
'total' => $this->currency->format($order_product['total'] + ($this->config->get('config_tax') ? ($order_product['tax'] * $order_product['quantity']) : 0), $order_info['currency_code'], $order_info['currency_value'])
);
public function getOrderProducts($order_id)
which is in catalog/model/checkout/order.php
take a visit to My Modules !