New Zenner
- Join Date:
- Aug 2011
- Posts:
- 46
- Plugin Contributions:
- 0
Sorting USPS by price in Shipping Estimator
ZC 1.3.9h
First installed in June 2011
https://www.scplaceonline.com
While reading the sticky thread about USPS and UPS Beta, Ajeh provided a simple mod to sort UPS and USPS displayed rates by price. I entered the respective two line fixes into UPS.php and USPS.php respectively.
Cleared cashe and while testing on IE and Mozilla, UPS works fine, however, the order of the USPS available options has changed but are not sorted by price. Since other users have confirmed that the mod works, It seems I have something afoul. I'm a bit stumped since it was only two lines of code added into USPS.php. I've cleared, edited, and reloaded USPS.php three times in case there was a typing error. No change.
The shipping estimator with the sort by price mod displays the USPS options in this order.
United States Postal Service (1 x 0.30lbs)
$5.10
Parcel Post (4 - 7 days)
$5.10
Priority Mail (2 - 3 days)
$2.05
First-Class Mail (2 - 5 days)
$13.25
Express Mail (1 - 2 days)
Any thoughts as to what I might have set up goofy?