- Posts: 75
- Thank you received: 6
Shipping tax based on shipping address and not on billing address
2 years 1 week ago #363236
by nico1979
-- url of the page with the problem -- :
www.shangshungpublications.com/
-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2
-- Browser(s) name and version -- : All
Hi,
I've got a serious issue on billing. In hikashop configuration I've setted the value of the field "Type of address used for tax" to "Billing address" but, in the cart, Hikashop applies the tax of the shipping address on the shipping price. Why?
-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2
-- Browser(s) name and version -- : All
Hi,
I've got a serious issue on billing. In hikashop configuration I've setted the value of the field "Type of address used for tax" to "Billing address" but, in the cart, Hikashop applies the tax of the shipping address on the shipping price. Why?
Please Log in or Create an account to join the conversation.
2 years 1 week ago #363239
by nicolas
Replied by nicolas on topic Shipping tax based on shipping address and not on billing address
Hi,
That's a good point. I looked at the history of the changes around this and as far as I can go back, it has always been like that for no particular reason.
I think this could be changed by changing the line:
to:
and the line:
to:
in the file administrator/components/com_hikashop/classes/cart.php
Can you confirm that this solves the problem for you ?
That's a good point. I looked at the history of the changes around this and as far as I can go back, it has always been like that for no particular reason.
I think this could be changed by changing the line:
Code:
$cart->package['zone'] = $zone_id;
Code:
$cart->package['zone'] = $tax_zone_id;
Code:
$currencyClass->processShippings($cart->usable_methods->shipping, $cart, $zone_id);
Code:
$currencyClass->processShippings($cart->usable_methods->shipping, $cart, $tax_zone_id);
Can you confirm that this solves the problem for you ?
Please Log in or Create an account to join the conversation.
2 years 1 week ago - 2 years 1 week ago #363260
by nico1979
Replied by nico1979 on topic Shipping tax based on shipping address and not on billing address
Hi,
now it works perfectly
Thank you
now it works perfectly
Thank you
Last edit: 2 years 1 week ago by nico1979.
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.219 seconds