Page 33 of 66 FirstFirst ... 23313233343543 ... LastLast
Results 321 to 330 of 655
  1. #321
    Join Date
    May 2005
    Posts
    361
    Plugin Contributions
    2

    Default Re: Local Sales Tax Mod - Support Thread

    Tesla,
    I haven't had time to test this, but you can give it a try.
    Open the following file:
    includes\modules\order_total\ot_local_sales_taxes.php

    at about line 170 look for the following:
    $debug2 .= $myfield."<br>";

    right above that line place the following code:
    PHP Code:
    if($taxmatch == "postcode"){
    $myfield substr($myfield05); 

    See if it does the trick.

    LadyHLG

  2. #322
    Join Date
    Apr 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    I recently installed Zen Cart and dealing with Washington State city sales taxes is the last step. It seems the Local Sales Tax mod will do the trick. My Zen Cart folder within my website is titled "store" so I uploaded the "FullVersion" folder within this folder.

    I then went to "Install SQL Patches" and pasted the following in the box:
    CREATE TABLE `tax_rates_local` (
    `local_tax_id` int(11) NOT NULL auto_increment COMMENT 'tax id',
    `zone_id` int(11) default NULL COMMENT 'zen cart zone to apply tax',
    `local_fieldmatch` varchar(100) default NULL COMMENT 'name of field from delivery table to match',
    `local_datamatch` text COMMENT 'Data to match delievery field',
    `local_tax_rate` decimal(7,4) default '0.0000' COMMENT 'local tax rate',
    `local_tax_label` varchar(100) default NULL COMMENT 'Label for checkout',
    `local_tax_shipping` varchar(5) default 'false' COMMENT 'Apply this tax to shipping',
    `local_tax_class_id` int(1) default NULL COMMENT 'Apply to products in what tax class',
    PRIMARY KEY (`local_tax_id`)
    );

    The system returns the following message:
    CREATE TABLE zen_tax_rates_local ( local_tax_id int(11) NOT NULL auto_increment COMMENT 'tax id', zone_id int(11) default NULL COMMENT 'zen cart zone to apply tax', local_fieldmatch varchar(100) default NULL COMMENT 'name of field from delivery table to match', local_datamatch text COMMENT 'Data to match delievery field', local_tax_rate decimal(7,4) default '0.0000' COMMENT 'local tax rate', local_tax_label varchar(100) default NULL COMMENT 'Label for checkout', local_tax_shipping varchar(5) default 'false' COMMENT 'Apply this tax to shipping', local_tax_class_id int(1) default NULL COMMENT 'Apply to products in what tax class', PRIMARY KEY (local_tax_id) );

    Am I putting the folder in the right place? I can't seem to get this installed. Thanks for your help in advance.

  3. #323
    Join Date
    May 2005
    Posts
    361
    Plugin Contributions
    2

    Default Re: Local Sales Tax Mod - Support Thread

    Inside the FullVersion folder are 2 folders catalog and sqlfiles.
    You need to copy all the files and folders inside the catalog folder, but not the folder itself, into your shop folder.

    LadyHLG

  4. #324
    Join Date
    Apr 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    That sounds simple...but I encountered an issue. You were right about the catalog and sqlfiles folders. If I understand correctly, I am to take the contents of the catalog folder and move them to the top level (in may case a folder titled, "store"). The problem is that the two files in the catalog folder are titled, admin and includes. The "store" directory already contains folders with these names.

  5. #325
    Join Date
    May 2005
    Posts
    361
    Plugin Contributions
    2

    Default Re: Local Sales Tax Mod - Support Thread

    Its ok if you already have folders with the same name (in fact thats exactly what you need). There is nothing in the mod folders that will overwrite anything it will just copy the new content into the folders where they need to go.

    Good Luck!

    LadyHLG

  6. #326
    Join Date
    Dec 2009
    Location
    Near Rochester, NY
    Posts
    5
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Solution with 9 digit zip codes (zip+4).

    This WORKS! I need to test it more but wanted to thank you again for saving our collective behinds! If you ever need any electrical engineering, please let me pay you back. For others, make sure you edit this in version 2.4 of ...\ot_local_sales_taxes.php ....Tesla
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Quote Originally Posted by LadyHLG View Post
    Tesla,
    I haven't had time to test this, but you can give it a try.
    Open the following file:
    includes\modules\order_total\ot_local_sales_taxes.php

    at about line 170 look for the following:
    $debug2 .= $myfield."<br>";

    right above that line place the following code:
    PHP Code:
    if($taxmatch == "postcode"){
    $myfield substr($myfield05); 

    See if it does the trick.

    LadyHLG

  7. #327
    Join Date
    Apr 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Thanks LadyHLG.
    When I try moving the files from the "catalog" folder (admin and includes) to the shop folder I get the message: "The directory "admin" already exists. Would you like to replace it? Overwriting a directory will replace all files contained in it with the new directory contents."

    The folders already located in the shop folder have a lot of files and folders in them (admin has 80 and includes has 28). The ones I am moving have (admin 2 and includes 3).

    I'm kind of an ameteur here, so please reconfirm that I should replace the current directories.

  8. #328
    Join Date
    May 2005
    Posts
    361
    Plugin Contributions
    2

    Default Re: Local Sales Tax Mod - Support Thread

    distinctivedog,
    I would say you have two options.
    1. Backup all the files and folders somewhere and then go ahead and upload the mod, if for some reason it removes all the existing files (normally FTP does not do this) then you can restore from the backup.
    or
    2. Upload the files and folders (new ones) individually.

    Good Luck

    LadyHLG

  9. #329
    Join Date
    Apr 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Thanks. Glad I backed up. It did indeed overwrite. I replaced the original files and added the files from the mod. Seems to be installed. Thanks for the help.

  10. #330
    Join Date
    Feb 2009
    Posts
    166
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    The attached zip contains a plain text file with a current list of 2010 Florida county surtax rates broken down by zipcode. It's already formatted for use with the Local Sales Tax Mod.

    -The list is current until the end of 2010.

    -Changes from 2009? Only one: Marion county changed from 6.5% to 6.0%, so the Marion county zipcodes have been removed from the list.

    Please Note:

    -Florida counties and zipcodes aren't contiguous; i.e., hundreds of zipcodes span 2 or even 3 counties. In these instances, the list assigns the zipcode to the county containing the greater population (for that zipcode). If a buyer says they've been charged an incorrect surtax, don't assume they're wrong; do a little investigating with google maps.
    Attached Files Attached Files

 

 
Page 33 of 66 FirstFirst ... 23313233343543 ... LastLast

Similar Threads

  1. v151 Tax getting added twice after installing Local Sales Tax mod
    By RFree190 in forum General Questions
    Replies: 0
    Last Post: 19 Mar 2013, 05:10 AM
  2. v150 Problem with Local Sales Tax mod
    By pwithers in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Jun 2012, 10:16 PM
  3. local sales tax mod not working
    By sharpie82 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 12 Dec 2011, 11:43 AM
  4. New York State Sales Tax by Zip Full Database for Local Sales Tax Mod 2011
    By SCHNiKEN in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 11 Apr 2011, 04:51 AM
  5. Local Sales Tax Mod and Reward Points Mod
    By retched in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Feb 2011, 02:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR