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

  • Posts: 70
  • Thank you received: 0
  • Hikashop Business
8 months 1 week 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: 62779
  • Thank you received: 9005
  • MODERATOR
8 months 1 week 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: 70
  • Thank you received: 0
  • Hikashop Business
8 months 4 days ago #282650

Thanks!!

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

Time to create page: 0.134 seconds
Powered by Kunena Forum