[Skip to main content](#vessel-content)

#   Manual + Override shipping address = No Taxes

##

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

11 years 10 months ago [\#183958](#183958) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  *[Manual + Override shipping address = No Taxes](/forum/28-shipping-methods/873769-manual-override-shipping-address-no-taxes#183958 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.34 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : No error.  If you have a &quot;shippable good&quot; product and a tax rule for a state/location then turn the Manual Shipping method's &quot;Override shipping address&quot; to any option but the default &quot;No&quot;, the tax rule will not apply.  If you set the product to be virtual, it works fine.  If you leave Override shipping address&quot; with the default &quot;No&quot;, it shows the correct tax If you set Override shipping address&quot; to &quot;Hide, shows the correct tax.  If you set &quot; Override shipping address&quot; to Shop Address, Text, or HTML Text, it reports zero taxes.  I know the tax rule works as it should because as long as I leave it to &quot;No&quot; or a virtual good, it works fine.  My understanding is that when &quot;Override Shipping Address&quot; was on, the car was supposed to use the Shop Address for calculations.  The problem seems to be in the Manual Shipping Method's &quot;Override shipping address&quot;.  I did find this in August and include it in my other TaxCloud method but I think it is getting lost in that thread because it started about taxes. It has persisted through version 2.3.2 to the current 2.3.4 (Business version).  I don't believe this is a Tax Rule or TaxCloud issue but something in the manual shipping method dealing with override / general tax issue as far as I can tell. There is no PHP errors on screen or in the web logs so I think this is just logic error in the code.  At any rate, I would appreciate any help in solving this bug.  Love HikaShop, still my favorite.")* was created by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.34
-- Browser(s) name and version -- : Any
-- Error-message(debug-mod must be tuned on) -- : No error.

If you have a "shippable good" product and a tax rule for a state/location then turn the Manual Shipping method's "Override shipping address" to any option but the default "No", the tax rule will not apply.

If you set the product to be virtual, it works fine.

If you leave Override shipping address" with the default "No", it shows the correct tax
If you set Override shipping address" to "Hide, shows the correct tax.
[ ![overide-no.jpg](/forum/attachment/21310) ](/forum/attachment/21310 "overide-no.jpg")

If you set " Override shipping address" to Shop Address, Text, or HTML Text, it reports zero taxes.
[ ![overide-shop-address-text-html.jpg](/forum/attachment/21311) ](/forum/attachment/21311 "...-text-html.jpg")

I know the tax rule works as it should because as long as I leave it to "No" or a virtual good, it works fine.

My understanding is that when "Override Shipping Address" was on, the car was supposed to use the Shop Address for calculations.

The problem seems to be in the Manual Shipping Method's "Override shipping address".

I did find this in August and include it in my other TaxCloud method but I think it is getting lost in that thread because it started about taxes. It has persisted through version 2.3.2 to the current 2.3.4 (Business version).

I don't believe this is a Tax Rule or TaxCloud issue but something in the manual shipping method dealing with override / general tax issue as far as I can tell. There is no PHP errors on screen or in the web logs so I think this is just logic error in the code.

At any rate, I would appreciate any help in solving this bug.

Love HikaShop, still my favorite.

- [ ![overide-no.jpg](/forum/attachment/21310) ](/forum/attachment/21310 "overide-no.jpg") [ ](/forum/attachment/21310?download=1 "overide-no.jpg")
- [ ![overide-shop-address-text-html.jpg](/forum/attachment/21311) ](/forum/attachment/21311 "...-text-html.jpg") [ ](/forum/attachment/21311?download=1 "...-text-html.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODczNzY5LW1hbnVhbC1vdmVycmlkZS1zaGlwcGluZy1hZGRyZXNzLW5vLXRheGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 10 months ago [\#184018](#184018) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Manual + Override shipping address = No Taxes](/forum/28-shipping-methods/873769-manual-override-shipping-address-no-taxes#184018 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.34 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : No error.  If you have a &quot;shippable good&quot; product and a tax rule for a state/location then turn the Manual Shipping method's &quot;Override shipping address&quot; to any option but the default &quot;No&quot;, the tax rule will not apply.  If you set the product to be virtual, it works fine.  If you leave Override shipping address&quot; with the default &quot;No&quot;, it shows the correct tax If you set Override shipping address&quot; to &quot;Hide, shows the correct tax.  If you set &quot; Override shipping address&quot; to Shop Address, Text, or HTML Text, it reports zero taxes.  I know the tax rule works as it should because as long as I leave it to &quot;No&quot; or a virtual good, it works fine.  My understanding is that when &quot;Override Shipping Address&quot; was on, the car was supposed to use the Shop Address for calculations.  The problem seems to be in the Manual Shipping Method's &quot;Override shipping address&quot;.  I did find this in August and include it in my other TaxCloud method but I think it is getting lost in that thread because it started about taxes. It has persisted through version 2.3.2 to the current 2.3.4 (Business version).  I don't believe this is a Tax Rule or TaxCloud issue but something in the manual shipping method dealing with override / general tax issue as far as I can tell. There is no PHP errors on screen or in the web logs so I think this is just logic error in the code.  At any rate, I would appreciate any help in solving this bug.  Love HikaShop, still my favorite.")*

Hi,

I did a test on my end and I get taxes on the cart regardless of the value of the "Override Shipping Address" for the shipping method selected on my checkout.
It's not possible that the system uses the shop address for calculations of the taxes since there is no shop address it can use for that. The system requires a state/country to be selected for it to check the zone restriction of the tax rules. The shop address input field allows any kind of text to be added in the shop address and thus it's not possible to accurately extract the country/state from the shop address. That's why, in such cases, it's the "main tax zone" option which is used by the system to calculate the tax rate.

So the fact that I still see the tax applied regardless of that "Override shipping address" option simply means that the main tax zone of my configuration is a taxable zone, while on your end, the zone you selected there is not taxable.

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODczNzY5LW1hbnVhbC1vdmVycmlkZS1zaGlwcGluZy1hZGRyZXNzLW5vLXRheGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

11 years 10 months ago [\#184027](#184027) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Manual + Override shipping address = No Taxes](/forum/28-shipping-methods/873769-manual-override-shipping-address-no-taxes#184027 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.34 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : No error.  If you have a &quot;shippable good&quot; product and a tax rule for a state/location then turn the Manual Shipping method's &quot;Override shipping address&quot; to any option but the default &quot;No&quot;, the tax rule will not apply.  If you set the product to be virtual, it works fine.  If you leave Override shipping address&quot; with the default &quot;No&quot;, it shows the correct tax If you set Override shipping address&quot; to &quot;Hide, shows the correct tax.  If you set &quot; Override shipping address&quot; to Shop Address, Text, or HTML Text, it reports zero taxes.  I know the tax rule works as it should because as long as I leave it to &quot;No&quot; or a virtual good, it works fine.  My understanding is that when &quot;Override Shipping Address&quot; was on, the car was supposed to use the Shop Address for calculations.  The problem seems to be in the Manual Shipping Method's &quot;Override shipping address&quot;.  I did find this in August and include it in my other TaxCloud method but I think it is getting lost in that thread because it started about taxes. It has persisted through version 2.3.2 to the current 2.3.4 (Business version).  I don't believe this is a Tax Rule or TaxCloud issue but something in the manual shipping method dealing with override / general tax issue as far as I can tell. There is no PHP errors on screen or in the web logs so I think this is just logic error in the code.  At any rate, I would appreciate any help in solving this bug.  Love HikaShop, still my favorite.")*

OK, that makes sense. It wasn't clear.

I adjusted the Main tax zone to match the tax rule.
Now the tax rule does apply so this looks right.

Note that this also the case when TaxCloud is enabled (regardless of what "Use origin address on override" is set too. It uses the Tax Rule value. In that case, it appears that the order wouldn't be reported to TaxCloud. Is that correct? This may be why I was confused in the other thread.

Right now just having the tax rule work is a major win. So thank you so much.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODczNzY5LW1hbnVhbC1vdmVycmlkZS1zaGlwcGluZy1hZGRyZXNzLW5vLXRheGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 10 months ago [\#184050](#184050) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Manual + Override shipping address = No Taxes](/forum/28-shipping-methods/873769-manual-override-shipping-address-no-taxes#184050 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.34 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : No error.  If you have a &quot;shippable good&quot; product and a tax rule for a state/location then turn the Manual Shipping method's &quot;Override shipping address&quot; to any option but the default &quot;No&quot;, the tax rule will not apply.  If you set the product to be virtual, it works fine.  If you leave Override shipping address&quot; with the default &quot;No&quot;, it shows the correct tax If you set Override shipping address&quot; to &quot;Hide, shows the correct tax.  If you set &quot; Override shipping address&quot; to Shop Address, Text, or HTML Text, it reports zero taxes.  I know the tax rule works as it should because as long as I leave it to &quot;No&quot; or a virtual good, it works fine.  My understanding is that when &quot;Override Shipping Address&quot; was on, the car was supposed to use the Shop Address for calculations.  The problem seems to be in the Manual Shipping Method's &quot;Override shipping address&quot;.  I did find this in August and include it in my other TaxCloud method but I think it is getting lost in that thread because it started about taxes. It has persisted through version 2.3.2 to the current 2.3.4 (Business version).  I don't believe this is a Tax Rule or TaxCloud issue but something in the manual shipping method dealing with override / general tax issue as far as I can tell. There is no PHP errors on screen or in the web logs so I think this is just logic error in the code.  At any rate, I would appreciate any help in solving this bug.  Love HikaShop, still my favorite.")*

Hi,

Great, we're moving forward ![:)](/media/kunena/emoticons/3.png ":)")

Ideally, if the "Use origin address on override" option is activated, the tax should be reported too, but I understand that this doesn't work since I didn't change any code so far to make it happen.

Try to change the line:
$address = $order-&gt;cart-&gt;shipping_address;
to:
$address = $this-&gt;loadAddress();
if(empty($address)){
$address = $order-&gt;cart-&gt;shipping_address;
}

in the file plugins/hikashop/taxcloud/taxcloud.php and that should allow the system to use the origin address configured in the plugin as destination if the "Use origin address on override" option of the plugin is turned on and that the shipping method is overriding the shipping address.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODczNzY5LW1hbnVhbC1vdmVycmlkZS1zaGlwcGluZy1hZGRyZXNzLW5vLXRheGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

11 years 10 months ago [\#184162](#184162) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Manual + Override shipping address = No Taxes](/forum/28-shipping-methods/873769-manual-override-shipping-address-no-taxes#184162 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.34 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : No error.  If you have a &quot;shippable good&quot; product and a tax rule for a state/location then turn the Manual Shipping method's &quot;Override shipping address&quot; to any option but the default &quot;No&quot;, the tax rule will not apply.  If you set the product to be virtual, it works fine.  If you leave Override shipping address&quot; with the default &quot;No&quot;, it shows the correct tax If you set Override shipping address&quot; to &quot;Hide, shows the correct tax.  If you set &quot; Override shipping address&quot; to Shop Address, Text, or HTML Text, it reports zero taxes.  I know the tax rule works as it should because as long as I leave it to &quot;No&quot; or a virtual good, it works fine.  My understanding is that when &quot;Override Shipping Address&quot; was on, the car was supposed to use the Shop Address for calculations.  The problem seems to be in the Manual Shipping Method's &quot;Override shipping address&quot;.  I did find this in August and include it in my other TaxCloud method but I think it is getting lost in that thread because it started about taxes. It has persisted through version 2.3.2 to the current 2.3.4 (Business version).  I don't believe this is a Tax Rule or TaxCloud issue but something in the manual shipping method dealing with override / general tax issue as far as I can tell. There is no PHP errors on screen or in the web logs so I think this is just logic error in the code.  At any rate, I would appreciate any help in solving this bug.  Love HikaShop, still my favorite.")*

FYI I've just tried that quick patch on my test site but it is still using the Tax Rule % instead.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODczNzY5LW1hbnVhbC1vdmVycmlkZS1zaGlwcGluZy1hZGRyZXNzLW5vLXRheGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
