Okay, I *JUST* downloaded and installed v1.11 again, following your instructions exactly. The error I get when I try to access the customers.php page is this:
Fatal error: Call to undefined function: zen_get_customers_address_book() in <snipped>/admin/customers.php on line 1152
I would really like this to work, but I just don't have much hope at this point...
Okay, I don't get the fatal error any more!
However, there are other problems now:
1 - When I search for a customer, I get "var-type undefined: regexp(smith)" and no results.
2 - On the default customer page, the ID# column has "TEXT_INFO_ADDRESS_BOOK_COUNT1" next to each customer ID number.
Are you testing this yourself w/o problems?
Yes, tested on 1.3.8a without any problems.
Hi,
I just found out that seem like one of the line in the functions_taxes.php for V1.12 is being comment out by mistake. Can you please confirm?
if ($customer_check->fields['customers_tax_exempt'] == "ALL") {
return 0;
} else if ($customer_check->fields['customers_tax_exempt'] != "") {
if ($tax->RecordCount() > 0) {
$tax_description = '';
while (!$tax->EOF) {
$match = 0;
$exempt_taxes = $customer_check->fields['customers_tax_exempt'];
$exempt_taxes = split(",", $exempt_taxes);
foreach ($exempt_taxes as $exempt_tax) {
if (trim(strtolower($exempt_tax)) == trim(strtolower($tax->fields['tax_description']))) {
$match++;
}
}
if ($match == 0) {
$tax_description .= $tax->fields['tax_description'] . ' + ';
}
//The below should be not comment out?
//$tax_description .= $tax->fields['tax_description'] . ' + ';
$tax->MoveNext();
}
$tax_description = substr($tax_description, 0, -3);
return $tax_description;
} else {
return TEXT_UNKNOWN_TAX_RATE;
}
} else {
No, that is incorrect. If you uncomment it then CTE will not work, nor will non-exempt taxes.
I'm having trouble getting this contribution to work. It installed smoothly and there are no obvious issues except my exempt customers are still getting charged tax. In otherwords the installation had no effect.
Because there were no specific installation or usage instructions in the download I used this procedure to install v1.12a (downloaded from Numinix site):Problem:
- Copied contents of install.sql and pasted to the ZenCart admin-> tools/Install SQL patches window and clicked on SEND.
- FTP'd the files to the web server (making sure that the admin folder was renamed to match my admin folder name). (did not upload" install.sql, uninstall.sql, the 'previous SQL patches' folder nor the Documentation shortcut to the server)
- Pulled up my test customer record in ZC admin and entered "ALL" (without parenthesis) in the box labeled 'Customer Tax Exempt'.
- Created an order as a customer using the test customer account. Made sure both the shipping and billing addresses were within a normally taxable jurisdiction.
The taxes are still displayed in the checkout pages. I have up to 4 applicable tax rates depending on the buyer's location (ie: state, special, county and city). Store is located in the US in Colorado Springs, Colorado.
After much code reading and comparing I could not find any errors. None of the modified files (customers.php and functions_taxes.php) were previously modified by other contributions. I verified that "ALL" does show up in the customers_tax_exempt field of the customers table of the database.
Because this contribution appears to work for everyone else, I took extra effort to try to track down the problem by comparing code, etc. but was unable to figure out why the taxes are still appearing for a record that is marked "ALL". So I installed this contribution on another shop on a different web server and got the same result.
The contribution does not appear to interfere with the regular operation of the shop (taxes appear or don't appear as normal, I just can't make particular customers tax exempt for some reason.) Is there a configuration parameter that needs to be turned on? Couldn't find one.
Using ZenCart v1.3.8a for both websites. I'm thinking there must be some setting I haven't made. I didn't find any usage instructions in the download.
www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a
The instructions should be quite simple:
http://www.numinix.com/forum/viewtopic.php?t=15
numinix,
Thanks for the reply. Yep, I reviewed that entire thread and didn't find a clue to my problem.
Your posting on your forum time stamped Tuesday, Dec 18, 2007 4:55am was followed exactly.
As I understand this contribution, if I enter "ALL" (without the quote marks) in the Customer Tax Exempt box of the customer record in admin then no taxes will be charged to the customer. Do I understand this functionality correctly?
I have tried entering "All" both with and without quote marks and neither cause the taxes to go away. (believe "ALL" should be entered without quotes).
I agree, the installation is quite straight-forward and simple. Because there are few postings for support on this contribution it is obvious that the software is not at fault. Since I installed the same contribution on two shops with the same result I feel there is something I am doing wrong or missed. That is why I listed every step I took during installation in hopes you could spot the error I made. I wish I had some debugging tools a former employer had so I could check the status of some of the variables, but unfortunately I don't have such tools available.
I apologize for the lengthly post. I take it you didn't find any errors in my installation based on my previous post?
Thanks for your time. Will try to keep future posts much shorter.
www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a