New contribution can be found in the wiki.
Use this forum for comments or help.
http://www.zen-cart.com/wiki/index.p...tion_Surcharge
New contribution can be found in the wiki.
Use this forum for comments or help.
http://www.zen-cart.com/wiki/index.p...tion_Surcharge
Hi Dennis,
With the UPS rural surcharge code installed, when shipping from the US to Canada or Japan, if you forget to input a postal code, this response shows up above the shipping estimates:
Warning: strpos(): Empty delimiter. in /home/httpd/vhosts/mydomain.com/httpdocs/store/includes/modules/shipping/ups.php on line 423
Uninstalling the Area surcharge [going back to the default ups.php] makes the problem go away. Also, entering any numbers at all in the postal code area eliminates the error message [It doesn't like blanks, zeroes are acceptable.]
I have used winmerge to compare both ups.php files, but I cannot finf an obvious difference that would cause this error.
I'm hoping this is a simple estupido on my part.![]()
Thanks,
dan
Fresh install with imported, updated database.
Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1
Server OS: Linux 2.4.21-40.ELsmp
Database: MySQL 4.0.24
PHP Version: 4.3.11 (Zend: 1.3.0)
HTTP Server: Apache/2.0.46 (Red Hat)
drd
Looks like I need to add some error checking. Look for a new upload this week end. And thanks for the feedback!
The new version is at the downloads. Thanks for the error report.
Thank you Dennis! This module is working just fine. You've done a commendable service, saving us significant shippping dollars, by adding the UPS rural cost adjustments. I used the upsxml mod you contributed for prior versions of Zen for the same reasons. Tidying up this loose end keeps the international folks from being put off by a cryptic error message. Your hard and precise work is *greatly* appreciated.![]()
drd
Your words are far to great for little ol me. I forward them to the FOUNDERS!