Order administrator notification price

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
8 years 9 months ago #230854

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4

Hello!

You helped me with the checkout price in this topic and it works great.

But the thing is, in the Order administrator notification, the price is displayed again wrong. (See screenshot)
I want the price to display first without tax, THEN display the tax ammount and finally display the full price.
i tried to fix it but no luck there. Help please!



Thank you!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
8 years 9 months ago #230871

Hi,

In the preload part of the email, you can replace the line:

$subtotal += $item->order_product_total_price;
By:
$subtotal += $item->order_product_total_price_no_vat;

That way the subtotal will be displayed without tax.

The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
8 years 8 months ago #231009

That's great thank you!

Where and how can i do the same thing for the user's order email notification?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 8 months ago #231046

Hello,
You'll just have to do it as you did through the preload file of your administrator email via "Hikashop->System->Emails".

The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
8 years 8 months ago #231223

Hello Mohamed,

i did but the result has not changed.
Just to be sure, which is email is the one to customize for the users email notification?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 8 months ago #231247

Hello,
It will depend on which user email notification you want to customize :
- Order creation notification
Sent when the order is created
- Order status notification
Sent when the order status changed.

The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum