Sounds like for the blank after the checkbox the admin language file isn't updated, or updated properly.rotaryracer wrote: ↑Thu Sep 28, 2023 8:27 pmNaturally...spoke too soon. Bizarrely, this works perfect in my test environment which is a close (but not exact) copy of my production environment. When I make the same changes in production, the option for USPS Ground Advantage doesn't show up in the admin screen at all. Not sure if I have another extension or XML suppressing adding options, but I've gone through all domestic and international (just in case) options and it resolutely refuses to show itself.I'll play around a bit more...may consider nuking Parcel Post (since that's no longer a thing) and replacing with Ground Advantage to see if that changes anything. If not, I might end up having to suck it up and buy a module, which would be frustrating because I know Mike's tips can work.
Any thoughts on why it may not display in the admin screen? Debug is showing correct responses with "1058" data, and the edits made in production are exactly the same as before.
Thanks...
Jason
UPDATE - Tried replacing all instances of 'Parcel Post' (CLASSID=4) with 'USPS Ground Advantage', including changing the class from 4 to 1058. If I go back into the admin screen, the line for Parcel Post is completely blanked out with no text, although the checkbox is still there. If I select the blank checkbox, it still does not show Ground Advantage in the checkout. There must be something goofy with this module being "protected" from changes (or another XML causing havoc) on the production side, as it works with no issues at all in the testing site.
For why it doesn't show up on the cart side I'd say something also isn't completely updated.
Are you SURE the line in catalog/model/extension/shipping/usps.php
looks like:
$allowed = array(0, 1, 2, 3, 4, 5, 6, 7, 12, 13, 16, 17, 18, 19, 22, 23, 25, 27, 28,1058);
If you turn on debug in the module you should log entry that has something like
Code: Select all
<Postage CLASSID="1058"><MailService>USPS Ground Advantage</MailService><Rate>15.85</Rate></Postage><Postage CLASSID="2058"><MailService>USPS Ground Advantage Hold For Pickup</MailService><Rate>15.85</Rate></Postage><Postage CLASSID="6058"><MailService>USPS Ground Advantage Parcel Locker</MailService><Rate>15.85</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail Parcel</MailService><Rate>5.42</Rate></Postage><Postage CLASSID="6076"><MailService>Media Mail Parcel Parcel Locker</MailService><Rate>5.42</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail Parcel</MailService><Rate>5.14</Rate></Postage><Postage CLASSID="6075"><MailService>Library Mail Parcel Parcel Locker</MailService><Rate>5.14</Rate></Postage>
If it isn't there in the error log, AND you have debug turned on & ran a test to get rates, then is something wrong in the admin files.
Lastly did you ensure you cleared caches to make sure?
Mike