- Posts: 256
- Thank you received: 2
Need to display shipping price without VAT
- dancingkazzaf
-
Topic Author
- Offline
Less
More
10 years 1 month ago - 10 years 1 month ago #247515
by dancingkazzaf
Need to display shipping price without VAT was created 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?
-- 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 1 month ago by dancingkazzaf. Reason: Spelling
Please Log in or Create an account to join the conversation.
- dancingkazzaf
-
Topic Author
- Offline
Less
More
- Posts: 256
- Thank you received: 2
10 years 1 month ago - 9 years 11 months ago #247519
by dancingkazzaf
Replied by dancingkazzaf on topic Need to display shipping price without VAT
Nevermind, I managed to work it out on my own, thank you anyway 
I changed this line:
To this:
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:
To this:
In Views/Checkout/Cart (Frontend template)
I changed this line:
Code:
echo $this->currencyHelper->format($this->order->order_shipping_price,$this->order->order_currency_id);
Code:
echo $this->currencyHelper->format($this->order->order_shipping_price-@$this->order->order_shipping_tax,$this->order->order_currency_id);
And for the checkout/cart of the website I changed this line:
Code:
} else {
$shipping_price += $shipping->shipping_price_with_tax;
}
Code:
} else {
$shipping_price += $shipping->shipping_price;
}
Last edit: 9 years 11 months 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.138 seconds