Jump to content

Surtax Fix 1.4.8


Recommended Posts

There seems to be a code error in the county.php file in classes folder I have configured taxes in Florida to apply tax based on State + County but it does not work in 1.4.8.

 

I have a 1.4.7 shop on another domain that works perfectly applying State + County surtax.

 

If you are in a State where you need to configure State and County surtaxes you will most likely have this issue.

 

This issue also exist in the 1.4.9.0 SVN version which is what I actually have installed but I also checked the current download version 1.4.8.2 and the code is the same.

Versions 1.4.6.2 - 1.4.7.3 seem to be OK, I did not check any other verions not listed here.

The issue seems to have started with 1.4.8.2.

 

So it is actually a simple fix look at the lines around 168 & 169 and you will see:

 

 

AND cz.`from_zip_code` <= '.(int)$zip_code.'

AND cz.`to_zip_code` >= '.(int)$zip_code

 

Just replace with this or just edit the greater then and less then signs.

 

 

AND cz.`from_zip_code` >= '.(int)$zip_code.'

AND cz.`to_zip_code` <= '.(int)$zip_code

 

This worked for me I hope this helps someone else.

I have reported this issue to the forge so hopefully they will fix this in the next version as well as the SVN.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...