Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default address zone_id tax error

    I appreciate this is not a current build, I have tried the search function but can't find an answer or similar bug report.

    If a customer has an address that was created before a zone existed in the database for that country, a zone of 0 was placed in the database when the address was created.

    Now since the customer created their address, a list of zones was created for their country in the shop and therefore they should no longer have a value of 0 in the database.

    The problem is tax is calculated based on the store checking the zone and a value of 0 is allowing the customer to checkout without tax being applied.

    A "fix" would be to delete all offending addresses, however is there a code based solution that would detect that the country they have chosen has zones and therefore a value of 0 is not allowed and alert the customer to fix their address in the address book.

    If this has been fixed in a later version than 1.5.3, I apologise.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: address zone_id tax error

    Not aware of a current automated "fix" to address this situation.

    However, if you can get the customer to click "Edit Address" and simply click save to re-save their address, that should update the zone data for them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: address zone_id tax error

    35000 customers, there could be a thousand customers in this position.

 

 

Similar Threads

  1. IE Error on Page 'elements.zone_id' is null or not an object
    By limelites in forum General Questions
    Replies: 1
    Last Post: 3 Sep 2009, 12:04 PM
  2. Replies: 8
    Last Post: 1 Apr 2009, 05:26 PM
  3. Tax based on Product rather than address?
    By rbobzin in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 2 Jul 2007, 04:25 AM
  4. Tax based on Shipping Address
    By nowie in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 26 Jun 2007, 02:50 PM
  5. Tax not changing with Shipping address
    By arpeggio in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 4 Jan 2007, 06:36 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