Display subtotal without VAT

  • Posts: 8
  • Thank you received: 0
10 years 7 months ago #152256

Hello,
I have the problem that the subtotal in the bill contains the VAT.
How I can correct this failure?

Thanks for your help.

Attachments:
Last edit: 10 years 7 months ago by Nicole Lewin.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #152280

Hi,

You can edit the view "order / show" via the menu Display > Views and replace:

echo $this->currencyHelper->format($this->order->order_full_price,$this->order->order_currency_id);
By:
$newPrice = (float)$this->order->order_full_price - (float)$taxes;
echo $this->currencyHelper->format($newPrice,$this->order->order_currency_id);

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

Time to create page: 0.067 seconds
Powered by Kunena Forum