NEW VERSION 1.0 !!!
Updates:
If upgrading from v0.4, you only need to copy the
admin/includes/modules/usps_autofill_button.php
thats the only changed file since v0.4.
- Firefox (and other browsers) now supported! Thanks to zen-cart member linksys for helping me set the code up in a more proper way with native html instead of putting it all as javascript, the contrib works with all browsers now.
- Added feature to use the order_id as the usps reference number field for the order. It will auto-populate now (no config changes)
- Rewrote/Cleaned up code to check the logic before running unnecessary functions (total_weight function won’t run if using fixed weight, subtotal query won’t run unless using the value for declaration/insurance. Removed some excess javascript code now that much of it is done with server-side php
- Attempted to cleanup the readme file to make it easier to read/understand.
Thanks to linksys' tips, I realize now that I could have been using HTML for the form the whole time and use javascript for submitting the form. So thats what I did, thus making it super compatible with most browsers. I've tested it with quite a few more browsers now as well.
Enjoy and let me know if you have any problems.
(Note that v1.0 is for zc 1.3.7 only)
I've attached a copy here until the download page approves the new version.
Bookmarks