Jump to content

Email price?


Recommended Posts

It looks like you may have found a bug in PrestaShop. The "total products" is calculated differently for the "Order confirmation" and "New order" emails. Try changing line 166 of modules/mailalerts/mailalerts.php from:

'{total_products}' => Tools::displayPrice($order->getTotalProductsWithTaxes(), $currency),



to:

'{total_products}' => Tools::displayPrice($order->total_paid - $order->total_shipping - $order->total_wrapping + $order->total_discounts, $currency, false, false),

Link to comment
Share on other sites

×
×
  • Create New...