- Posts: 11
- Thank you received: 0
How to ad shipping tax amount to order creation/confirmation email?
10 years 2 days ago #255040
by rada88496
I managed to display shipping tax amount in checkout cart, but i need it also displayed in emails customers receive after checking out.
I tried looking into system/emails order notifications, but with no luck.
I tried looking into system/emails order notifications, but with no luck.
Please Log in or Create an account to join the conversation.
10 years 1 day ago #255083
by nicolas
Replied by nicolas on topic How to ad shipping tax amount to order creation/confirmation email?
Hi,
What change did you do to the checkout cart exactly for that ?
If you want to modify the way the emails display, you indeed need to edit them via the menu System>Emails.
And if you want to add the tax to the shipping fee in the email, you want to modify the code:
in the preload area of the emails.
What change did you do to the checkout cart exactly for that ?
If you want to modify the way the emails display, you indeed need to edit them via the menu System>Emails.
And if you want to add the tax to the shipping fee in the email, you want to modify the code:
Code:
if($config->get('price_with_tax')) {
$t = $currencyHelper->format($data->cart->order_shipping_price,$data->cart->order_currency_id);
}else{
$t = $currencyHelper->format($data->cart->order_shipping_price-@$data->cart->order_shipping_tax,$data->cart->order_currency_id);
}
$cartFooters[] = array(
'NAME' => JText::_('HIKASHOP_SHIPPING'),
'VALUE' => $t
);
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds