Thank you so much for all the help--that did it! Off to customize!
(Ahhh memories of Pascal and the semicolon....)
Printable View
Thank you so much for all the help--that did it! Off to customize!
(Ahhh memories of Pascal and the semicolon....)
Glad things are working now.
LadyHLG
Hello all,
I'm sorry to say we have discover a bug in the local sales tax mod. (Thanks to Daniel for bringing this to light!)
The bug occurs when a customer purchases a downloadable product or products only.
I am attaching a new file here that hopefully corrects this error, it also has more detailed debugging to help locate problems in the future.
Use the attached file to replace includes\modules\order_total\ot_local_sales_taxes.php
If anyone encounters any other issues please let me know asap, I will wait a few days before posting the new file to the downloads.
LadyHLG
LadyHLG, thank you very much for trouleshooting and fixing this problem. The speed at which you did that is impressive!
I would like to add to the existing documentation that, when listing towns/cities in the 'Search Data' edit box ("Search Field = city"), separating names by a semicolon, there must not be any leading or trailing spaces.
That is, the following list will work:
While the following will not work for the last two in the list:Quote:
Smallville;Gotham City;Metropolis
Thank you again, LadyHLG. You have done a marvelous job.Quote:
Smallville; Gotham City; Metropolis
Daniel
Thank-you Daniel for correcting this.
Also, please note that the README.txt file in the mod is incorrect as its states:
***Version 2.2 Updates***************************************
Allow for both single zip codes and zip code ranges mixed into a single record.
This update should allow for zip code entries like:
53528;53711-to-53720;53524;54302-54310 Which mixes both the ranges and the single entries in one comma delimited list.
Updated admin to allow for larger data entries-- Thanks to sublime19 for this!!
Changed local_datamatch field to text to allow for more data
**************************************************************
It should say "semi-colon delimited list".
I will make sure this is corrected in the next version, and see if we can do some error checking to remove spaces just incase.
LadyHLG
The spacing issue with the delimited lists actually revealed a problem with the file posted above.
I am attaching a new file for everyone to try.
That also checks for spaces in the delimited list.
LadyHLG
Hi,
I'm new to Zen but not new to web programming and db stuff in general.
I've installed the mod and uploaded the data for FL. Everything seems to be ok from the database side. I only have one tax class.
The problem I'm seeing is that the local sales tax isn't showing up on the Payment Information page. I saw in an earlier post you mentioned changing the mod sort order. But I'm unsure of what/where that is.
Any help is greatly appreciated.
Lee
Check in the admin under
Modules -> Order Total
First, make sure the mod is turned on then try changing the sort order number I have mine set to 299, but it can vary depending on what other Order Total mods you have.
(Also be sure to download the file from post #46 above which has a bug fix!)
LadyHLG
ok thanks.. it wasn't on but I'm still not seeing the tax. I turned on debug and it seems the mod is hitting the db.
Did you adjust the sort order?
LadyHLG