Page 1 of 1
Dynamic Tax Rate
Posted: 13 Sep 2018, 10:14
by JanP
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?
Re: Dynamic Tax Rate
Posted: 15 Sep 2018, 14:39
by Jan
Hi, did you enable it in Options (it needs to be allowed in Options - Dynamic Tax Rate):
Re: Dynamic Tax Rate
Posted: 17 Sep 2018, 07:35
by JanP
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)...
Re: Dynamic Tax Rate
Posted: 17 Sep 2018, 12:37
by Jan
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:
Code: Select all
if ($taxChangedA['taxrate'] > 0 && $taxChangedA['taxtitle'] != '') {
return $taxChangedA;
}
TO:
Code: Select all
//if ($taxChangedA['taxrate'] > 0 && $taxChangedA['taxtitle'] != '') {
if ($taxChangedA['taxtitle'] != '') {
return $taxChangedA;
}
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
Re: Dynamic Tax Rate
Posted: 17 Sep 2018, 13:17
by JanP
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
Re: Dynamic Tax Rate
Posted: 20 Sep 2018, 17:26
by Jan
Ok
Re: Dynamic Tax Rate
Posted: 25 Oct 2018, 20:33
by Jan