- Posts: 16
- Thank you received: 0
order status notification email
8 years 8 months ago #286286
by hlsystem
order status notification email was created by hlsystem
-- HikaShop version -- : 3.2.2
Hi,
We noticed the following mistake:
The order status notification email, which is sent to the customer does not contain the price of the chosen payment method.
Regards,
László
Hi,
We noticed the following mistake:
The order status notification email, which is sent to the customer does not contain the price of the chosen payment method.
Regards,
László
Please Log in or Create an account to join the conversation.
8 years 8 months ago #286289
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic order status notification email
Hello,
I can see a footer line added for the payment price in the order status notification preload
So I'm sorry but I cannot confirm that issue.
Regards,
I can see a footer line added for the payment price in the order status notification preload
Code:
if(bccomp($data->cart->order_payment_price,0,5)){
if($config->get('price_with_tax')) {
$t = $currencyHelper->format($data->cart->order_payment_price, $data->cart->order_currency_id);
} else {
$t = $currencyHelper->format($data->cart->order_payment_price - @$data->cart->order_payment_tax, $data->cart->order_currency_id);
}
$cartFooters[] = array(
'NAME' => JText::_('HIKASHOP_PAYMENT'),
'VALUE' => $t
);
}
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
8 years 8 months ago #286359
by hlsystem
Replied by hlsystem on topic order status notification email
Hi,
You are right, but if the price of the chosen payment method is a negative value, as we give a discount, than it does not appear in the email, nor on the administrator page (administrator/index.php?option=com_hikashop&ctrl=plugins).
Thank you
László
You are right, but if the price of the chosen payment method is a negative value, as we give a discount, than it does not appear in the email, nor on the administrator page (administrator/index.php?option=com_hikashop&ctrl=plugins).
Thank you
László
Please Log in or Create an account to join the conversation.
8 years 8 months ago #286363
by nicolas
Replied by nicolas on topic order status notification email
Hi,
Ah yes, you want to change the line:
if(bccomp($data->cart->order_payment_price,0,5)){
to:
if(bccomp($data->cart->order_payment_price,0,5) != 0){
in the preload of the email and it will display even for negative values.
Ah yes, you want to change the line:
if(bccomp($data->cart->order_payment_price,0,5)){
to:
if(bccomp($data->cart->order_payment_price,0,5) != 0){
in the preload of the email and it will display even for negative values.
The following user(s) said Thank You: hlsystem
Please Log in or Create an account to join the conversation.
8 years 8 months ago #286418
by hlsystem
Replied by hlsystem on topic order status notification email
Thank you for your help. Finally I recognized that the php-bcmath package was not installed. After installing it, everything worked fine.
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds