Jump to content

Missing nembers in mails


kucu

Recommended Posts

Hi, I have a problem with order_conf mail for customer, where the customers name and the order number are OK, but the other informations are missing.. and again, the total sum is OK..

Products total {total_products}
Discounts {total_discounts}
Wrapping pack {total_wrapping}
Shipping {total_shipping}
Total 51,25 €


Where is the problem?

Link to comment
Share on other sites

I have no idea what would cause that. Those variables are defined in the $data array on line 308 of classes/PaymentModule.php. You should have the following lines:

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

Link to comment
Share on other sites

Well, it looks like that the order_conf mail did not work, others like shipped, cancelled are ok, because there is only the customers name :D

Is there anybody, with working order_conf mail? because the customer did not get now an email about his order..

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...