Skip to main content

Need to display shipping price without VAT

10 years 3 months ago - 10 years 3 months ago #247515 by dancingkazzaf
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2

Our client needs the shipping prices shown in the cart, invoice and order status notification email to be displayed without VAT, but for the price to be added on in the VAT field still.

Eg:
Currently is looks like this:
Subtotal £1.88
Shipping £1.80
VAT £0.68

Total £4.06

We need it to do this:
Subtotal £1.88
Shipping £1.50
VAT £0.68

Total £4.06

Is this possible with some changes in Views?
Last edit: 10 years 3 months ago by dancingkazzaf. Reason: Spelling

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

10 years 3 months ago - 10 years 1 month ago #247519 by dancingkazzaf
Nevermind, I managed to work it out on my own, thank you anyway :cheer:

I changed this line:
Code:
echo $this->currencyHelper->format($this->order->order_shipping_price,$this->order->order_currency_id);
To this:
Code:
echo $this->currencyHelper->format($this->order->order_shipping_price-@$this->order->order_shipping_tax,$this->order->order_currency_id);
In Views/Order/Show (Front end template) and Views/Order/Show_Additional & Views/Order/Invoice (Back end template) and finally in the Preload section of the email.

And for the checkout/cart of the website I changed this line:
Code:
} else { $shipping_price += $shipping->shipping_price_with_tax; }
To this:
Code:
} else { $shipping_price += $shipping->shipping_price; }
In Views/Checkout/Cart (Frontend template)
Last edit: 10 years 1 month ago by dancingkazzaf.
The following user(s) said Thank You: Jerome

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

Time to create page: 0.052 seconds
Powered by Kunena Forum