@ChuckPhillips it's easy to change the $300 from a hardcoded number to a value in your Admin's Configuration screens. See
https://docs.zen-cart.com/dev/plugins/adding_config/
@ChuckPhillips it's easy to change the $300 from a hardcoded number to a value in your Admin's Configuration screens. See
https://docs.zen-cart.com/dev/plugins/adding_config/
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
This is super rare but I have seen logs from K11d when $uspsQuote['Package'] is not set on line 539.
--> PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/CUST/public_html/includes/modules/shipping/usps.php on line 539.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Hi @swguy, I received the exact same warning last week. It might be due to the USPS API glitch?
I changed the nearby line
if ($this->is_us_shipment) {
To the following line
if ($this->is_us_shipment && $uspsQuote['Package']) {
And it seems working without generating new logs.
In the past, I only received warning regarding un-countable $uspsQuote['Package']['Service'] (for intl quote), not un-countable $uspsQuote['Package'] (for US domestic quote).
> It might be due to the USPS API glitch?
Certainly could be. Let's sit tight until it starts happening with regularity.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
usps 1st class won't show? i am using PHP version 7.4. and usps version is 2022-08-07 K11e.
I selected domestic first class letter, first class package retail, and priority mail, but only priority mail shows.
my product weight unit is oz. i tried 3oz, 9oz,.. etc but first class never show.
i registered and got use ID for the API, but i don't see anywhere to enter anything else. so the user ID (which looks something like 008XPRAV6385) is the only thing i've entered into the settings. i have entered my site URL for registration. I have not contacted USPS for permission like i've read somewhere. i just need to get the shipping cost. so i suppose i don't need to?
i've changed Tare from 0:3 to 10:0 and nothing changed.
i've changed Minimum Length to 0 from the default 8.625, and nothing changed.
i've changed 'Enable USPS First-Class filter' to false, and nothing changed.
this is my site: https://xtrava.us
btw, also if i use flat rate shipping on 1 item, then order with multiple products will all have the same flat rate. how do i change that?
thanks
What is the weight of the product(s) in question?
A screenshot of the site's current USPS configuration would help, too. Thanks for your patience.
Bookmarks