Quote Originally Posted by margecc View Post
I've been trying to figure this out for a while. Right now, what you type in the input field for the state gets put in the address_book table under the column entry_state, and the zone_id get filled in as zero. Problem is that the zone_id is where Zen looks for the taxes to be calculated from, hence everyone manually entered is not being charged taxes (and apparently the correct freight). The person in post # 119 changed the country to the drop down list using Zen's codes. I've tried following what they did, changing the names of the tables and columns according, but it doesn't work (big shock for me). I know it has to do with this section in the add_customers.php file:

Code:
    if (ACCOUNT_STATE == 'true') {

        echo '<tr>
            <td class="main">' . ENTRY_STATE . '</td>
            <td class="main">';

        $entry_state = zen_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state);

        echo zen_draw_input_field('entry_state', zen_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state)).'(Full Name)';
    }
Can anyone work this out? I'm sure it's a super speedy fix, but it would make my life so much easier since orders keep going through without taxes, so I am either loosing money cause I've missed it or having to manually adjust things.
Hi everyone,
I'm new to this and have found this forum extremely helpful and educational. It almost always points me in the right direction and I'm making progress in my customization abilities daily. I am using ZC 1.3.9d and downloaded both "add customer from admin 1.07 and "encrypted master password 1.2" because I do many face to face transactions and wanted to be able to set up a customers account on the spot and use it as a substitute POS system. The issue with acfa not entering a zone in entry_zone_id in table zen_address_book makes this addon useless for states that have a sales tax and for shipping calculations. If you have encrypted master password installed you can use it as a temporary fix for now by logging into the customers account and updating the state field under change entries in my address book. If you used acfa to create the account you'll notice that the state/province field is blank. Use the dropdown to enter a state, click update, and voila.....the database gets updated with the correct zone and the full state name from acfa is removed in the database.
The state entry in acfa serves no function whatsoever but placing the full state name in the entry_state field in the database. Customer created accounts have no entry in this field. So I now understand what the problem is and have the logic figured out. I should be able to have a fix including a dropdown this week sometime. I'm not a professional but I will make sure it's functional and tested before I post the fix. Aside from this one shortfall this addon is perfect for my needs. In the meantime install encrypted master password 1.2 and just update the state from the customers account. A pain, but it works.

rclakeman