Hello,
It doesn't matter which Dynamic Tax Rate is set (Country/Region)
I set various Tax Rate for various Countries/Regions (for testing) and it seems that for Orders and Invoices always the default Tax rate is used instead of Tax Rate (for Country/Region).
Hmm?
Dynamic Tax Rate
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Dynamic Tax Rate
Hi, did you enable it in Options (it needs to be allowed in Options - Dynamic Tax Rate):
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 11 Sep 2018, 09:39
Re: Dynamic Tax Rate
Hi
Sure - It has been enabled.
Here I have to note that there were two regions
- one region has set VAT 20%,
- but the second one has set VAT to ZERO value... perhaps this ZERO could make problems
Anyway - This was my attempt to solve this issue viewtopic.php?f=44&t=59172
Where the solution for me could be to rename "Region" to "Are you VAT TAX payer ?" and regions should be Yes (with Zero VAT) and No (with 20% VAT)...
Sure - It has been enabled.
Here I have to note that there were two regions
- one region has set VAT 20%,
- but the second one has set VAT to ZERO value... perhaps this ZERO could make problems
Anyway - This was my attempt to solve this issue viewtopic.php?f=44&t=59172
Where the solution for me could be to rename "Region" to "Are you VAT TAX payer ?" and regions should be Yes (with Zero VAT) and No (with 20% VAT)...
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Dynamic Tax Rate
Hi, yes, you are right, 0% is not taken as 0% but as empty, so it will then switch back to standard VAT. I will try to take a look at it so when you set 0 it will be taken as 0
Try to open:
administrator\components\com_phocacart\libraries\phocacart\tax\tax.php
and on line cca 94, try to change
FROM:
TO:
The same you can do for region (line cca 129)
Let me know if this works for you so I can change it for next version.
Thank you, Jan
Try to open:
administrator\components\com_phocacart\libraries\phocacart\tax\tax.php
and on line cca 94, try to change
FROM:
Code: Select all
if ($taxChangedA['taxrate'] > 0 && $taxChangedA['taxtitle'] != '') {
return $taxChangedA;
}
Code: Select all
//if ($taxChangedA['taxrate'] > 0 && $taxChangedA['taxtitle'] != '') {
if ($taxChangedA['taxtitle'] != '') {
return $taxChangedA;
}
Let me know if this works for you so I can change it for next version.
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 11 Sep 2018, 09:39
Re: Dynamic Tax Rate
Hi Jan,
Thank you for your info. I'm not able to test it. I was testing your Phoca cart for few days only and I have already uninstalled it.
Anyway your Phoca Cart is simply & good system, and if you solve this Zero Tax rate region - it is the way (for a bit experienced users) to solve EU VAT Tax rules... etc
Thank you
Jan
Thank you for your info. I'm not able to test it. I was testing your Phoca cart for few days only and I have already uninstalled it.
Anyway your Phoca Cart is simply & good system, and if you solve this Zero Tax rate region - it is the way (for a bit experienced users) to solve EU VAT Tax rules... etc
Thank you
Jan
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Dynamic Tax Rate
If you find Phoca extensions useful, please support the project