How to show price incl. VAT in the "Order creation notification" email

  • Posts: 80
  • Thank you received: 0
6 years 5 months ago #282323

-- url of the page with the problem -- : www.mangialarossa.com/index.php
-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : firefox

Hi,
I would like to show only prices including VAT in the email received by the client after the order is placed. During the check out it is already set (I added the code $this->params->set('price_with_tax',1); to force it on the checkout page regardless of the setting). How to have the same in the email?
Referring to the attachment, I would like to have
Totale incl. IVA 6,00 €
instead of
Totale incl. IVA 5,45 €

Thanks in advance
Imma

Attachments:

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
6 years 5 months ago #282345

Hi,

Edit your email via the menu System>Emails and change the line:
$subtotal += $item->order_product_total_price_no_vat;
to:
$subtotal += $item->order_product_total_price;
in the preload section of the email.

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

  • Posts: 80
  • Thank you received: 0
6 years 5 months ago #282650

Thanks!!

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

Time to create page: 0.049 seconds
Powered by Kunena Forum