-
USPS January 17 2016 K8 - Support Quirks
While the USPS January 17, 2016 K8 shipping module released today at:
https://www.zen-cart.com/downloads.php?do=file&id=1292
I have discovered USPS has changed a few things ...
The issues are with some country names.
USPS has always had their own, special sort of way of spelling countries and we try to provide a translation list for these quirks built into the USPS shipping module.
Unfortunately, I am starting to spot some oddities on some of the more obscure countries ... :lookaroun
Hence it would be of help if anyone else catches a country that isn't working or some other quirk and post in this support thread.
If you are reporting a Country issue, please provide enough information about what exact shipping address you are using.
The best help is to turn on the Debug Log and Zip the log created when attempting the quote and attach it to your post.
Thanks!
-
Re: USPS January 17 2016 K8 - Support Quirks
Works great!
I did have to change the international minimums to something less than the default for the priority international to show in the estimated shipping costs in the shopping cart. I used the same as the domestic minimums. L:8.625 W:5.375 H:1.625.
Thanks!
-
Re: USPS January 17 2016 K8 - Support Quirks
That was for Small Flat or something like that?
-
Re: USPS January 17 2016 K8 - Support Quirks
v1.5.0
I'm having an issue that did not exist 2 days ago. Did USPS break something? Let's find out. :smile:
Before today, using K7, shipping an 8oz First Class package from the USA to Germany was typically about $14.40. Today it is $21.88. Looking at the USPS website it should still be about the same.
I updated to this new K8 shipping module and it's still showing $21.88.
Advice? :mellow:
-
Re: USPS January 17 2016 K8 - Support Quirks
Could you turn on the Debug Log for USPS and try a quote again then then Zip the Shipping log(s) and attach it to your post?
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
I have never made a log before but I was trying it out while you were replying (in case you asked). I think I got what you need. The bad number of $21.38 is in there, so I'm hoping it's useful to you. If it's not, let me know and I can try again.
I have not tried other countries. I guess I'll do that shortly.
Attachment 15979
Edit: Just tried UK and Canada. Both were more than they used to be. UK was $21.38 instead of >$15 and Canada was $14.73 instead of >$9.
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
Here is another one. 13oz shipped from MI to CA is about $8 for Priority mail according to past sales and the USPS website. The cart just calculated it as $10.77.
Attachment 15980
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
That was for Small Flat or something like that?
This was from a discussion a few days ago.
https://www.zen-cart.com/showthread....36#post1301336
-
Re: USPS January 17 2016 K8 - Support Quirks
bodini, Here is the problem ...
The logs that you find in /logs start with SHIP_usps_Debug_ and end in .log ...
Those files are made in a specific format so I can analize and test against any other shipping log file for USPS, but when you change the content they are not a pretty thing to try to read and compare.
Is there any chance that you can Zip the actual shipping logs generated by the USPS module and attach them to your post so that I do not have to try study them in such a manner?
It looks like you set your Debug to Email rather than Logs and could not get them from the /logs directory ...
The Debug Mode set to Logs contains all kinds of additional information about your shipping and settings and what exactly is sent to USPS and received etc. as well as other information to help pinpoint the problem ...
Thanks! :smile:
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
spifflifkin
Does that mean you changed your International dimensions and now it works correctly?
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
bodini, Here is the problem ...
The logs that you find in /logs start with SHIP_usps_Debug_ and end in .log ...
I hear you, but I can't get it to work (sorry, I fumble my way through this, but it's not my day job). Nothing new is being written to /logs that I can see (that's why I did the email thing). Is it a permission issue for the /logs? If so, what should the settings be? Thanks.
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
Oh snap, it's in .com/cache/. :blush: Here you go.
Attachment 15982
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
bodini
You must be using an older version of Zen Cart ...
Let me peek at these ...
-
3 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
I must be cracking up. :blink:
Now for 12oz on USPS.com it shows $22.50.
Check the attached log. For 12oz ZC wants $21.38
That's less bad, but ZC has always been spot on before today.
Attachment 15985
Attachment 15984
Attachment 15986
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
Does that mean you changed your International dimensions and now it works correctly?
Yes, that is correct.
-
Re: USPS January 17 2016 K8 - Support Quirks
bodini? Are you sure that the problem isn't just the Price increases that happened recently, as in January 17, 2016?
-
Re: USPS January 17 2016 K8 - Support Quirks
Jeesh, I don't know now. I see by using the calculator at USPS.com that 7 or 8oz to Europe is $13.50 and 9oz and up is $22.50. That's a heck of a thing when your shipments are typically either 8 or 9 ounces.
I guess I'll just have to keep track of it closer now and see. Sorry to have used up some of your time today. I still think things aren't what they were, but without better facts, I guess I can't prove anything. :sadwalk:
Onward and upward. :cheers:
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
bodini
Jeesh, I don't know now. I see by using the calculator at USPS.com that 7 or 8oz to Europe is $13.50 and 9oz and up is $22.50. That's a heck of a thing when your shipments are typically either 8 or 9 ounces.
I guess I'll just have to keep track of it closer now and see. Sorry to have used up some of your time today. I still think things aren't what they were, but without better facts, I guess I can't prove anything. :sadwalk:
Onward and upward. :cheers:
Let us know if it is the USPS shipping module or just the new January 17, 2016 Rate changes ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Thanks. Donation coming your way. :cheers:
-
Re: USPS January 17 2016 K8 - Support Quirks
The Zen Cart Team greatly appreciates the coffee and donuts any time, thanks! :cool:
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
bodini
One other question. Your logs say your USPS settings are set to Online but the images you attached are for Retail ... does that difference account for anything?
-
Re: USPS January 17 2016 K8 - Support Quirks
The USPS K8 January 17, 2016 module has a few quirks related to the First Class for > 13 oz and < 16 oz ...
If you look at post #17 on:
https://www.zen-cart.com/showthread....z-lt-15-999-oz
I have a solution to test ...
Please keep discussion for the First Class for > 13 oz and < 16 oz issue on that other thread, for now ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Hi
I am testing the cart, and get:
"Sorry, we are not shipping to your region at this time."
On post #3 of
https://www.zen-cart.com/showthread....-configuration
you can see my settings, and I configured the USPS like this:
All default, save for:
USPS tool ID: the ID given by USPS
Decimal settings: 2
Shipping zone: International (all countries all zones)
International rates: checked only 1st-Class Package Intl Service (min=0 max=4 handling=0)
I know the address used correct, and this is how it is displayed
Name Lastname
Corso Porta Nuova 70
Verona, 37122
VR, Italy
In the form to register, and to edit the account address it is asked for state/province and there it is reported Verona instead of the displayed VR, Verona is in the province of Verona, and is abbreviated with VR.
Some more info:
When clicking on "shipping estimator" in cart and selecting the above address it only displays the heading:
Available Shipping Methods Rates
Whereas in the same window if I select a second (USA) address I created for testing it displays correctly:
Available Shipping Methods Rates
Table Rate (Best Way) $4.99 Which is correctly displayed in the cart as well (I have installed "shopping rate in cart" module).
To help me double check my settings, and do further testing do you have a working international address I could use?
Thank you
-
Re: USPS January 17 2016 K8 - Support Quirks
Could you go to Modules ... Shipping ... and click on USPS and down at the bottom turn the Debug to Logs and then try a quote and look in /logs (this is /cache in old versions of Zen Cart) and Zip the Shipping log files created when you try a quote and attach it to your post?
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
Thank you.
Yes I had it turned on already, sorry I missed attaching it before.
The attached log is the only one for the date, so it must be the one, anyhow I'll clear the logs and retry in case.
-
Re: USPS January 17 2016 K8 - Support Quirks
I just run another test, and same outcome, but no log file generated, so perhaps the previously attached one was generated by some other event?
-
Re: USPS January 17 2016 K8 - Support Quirks
Did test two more addresses, one Italian and One British, both return same message, and no log file:
"Sorry, we are not shipping to your region at this time."
Starting to think I am missing something in the module settings?!
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
keneso
I just run another test, and same outcome, but no log file generated, so perhaps the previously attached one was generated by some other event?
With that logging setting enabled, it should generate a USPS_xxxxxxxxxxxxx.log file which contains all the details of what was submitted to USPS and what response came back.
If it's not creating that file and you have the logging on, then either the logs folder isn't writable or whatever symptoms you're encountering are completely preventing the USPS module from even attempting to ask for quotes ... such as zone restrictions which are telling the module that it's not needed because of the details in the customer's address.
-
Re: USPS January 17 2016 K8 - Support Quirks
Thank you DrByte.
The log folder is writable, as I have other logs in it, some generated by Authorize.net, and Paypal.
As for other causes my thread https://www.zen-cart.com/showthread....-configuration was intended to being advised of the configuration/settings to use, and as I gathered they seem correct, though I wouldn't be surprise if I missed something ... shall I open a new thread to troubleshoot?
Most probably your suggestion
Quote:
whatever symptoms you're encountering are completely preventing the USPS module from even attempting to ask for quotes
is correct as at this point my description of the popup window in post #23 of this thread seems to be confirming that:
Quote:
Some more info:
When clicking on "shipping estimator" in cart and selecting the above address it only displays the heading:
Available Shipping Methods Rates
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
keneso
Did test two more addresses, one Italian and One British, both return same message, and no log file:
"Sorry, we are not shipping to your region at this time."
Starting to think I am missing something in the module settings?!
You showed in one of you posts:
Quote:
Shipping zone: International (all countries all zones)
If you look at the Zone Definitions and click on DETAILS what do you see? On the bottom of the list of Countries set there should be something like:
Displaying XX to XX (of XXX countries)
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
Thank you
Quote:
Originally Posted by
Ajeh
If you look at the Zone Definitions and click on DETAILS what do you see? On the bottom of the list of Countries set there should be something like:
Displaying XX to XX (of XXX countries)
locations/taxes >>> countries
-- Displaying 1 to 20 (of 244 countries)
locations/taxes >>> zones
-- Displaying 1 to 20 (of 296 zones)
locations/taxes >>> zone definitions >>> details of any of listed definitions
-- There is no "Displaying XX to XX (of XXX countries)"
Please see attached images
In case needed I can set up a partial admin access for you.
-
Re: USPS January 17 2016 K8 - Support Quirks
For your Zone Definition of:
Rest of the World
Do you want that to be All Countries except the US?
Or what do you think you want that to be?
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
For your Zone Definition of:
Rest of the World
Do you want that to be All Countries except the US?
Or what do you think you want that to be?
Thank you
I'd say all except US, since US is covered by the other two.
-
Re: USPS January 17 2016 K8 - Support Quirks
What you really want is the definition defined here:
https://www.zen-cart.com/content.php...ne-definitions
These definitions can be pasted in your Tools ... Install SQL Patches ... and then you will see them in the Locations / Taxes ... Zones Definitions ...
Next, try using that as the Zone and see if the other countries outside of the US are now getting the shipping showing ... The US is the only country that will not show on that shipping module ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
What you really want is the definition defined here:
https://www.zen-cart.com/content.php...ne-definitions
These definitions can be pasted in your Tools ... Install SQL Patches ... and then you will see them in the Locations / Taxes ... Zones Definitions ...
Next, try using that as the Zone and see if the other countries outside of the US are now getting the shipping showing ... The US is the only country that will not show on that shipping module ...
Thank you
I encountered a problem with the patch when sending to execute I get 403, I'll try using phpMyAdmin
-
Re: USPS January 17 2016 K8 - Support Quirks
What version of Zen Cart are you using?
Who is your hosting provider?
I have not had an issue with running any of these in a lot of different Zen Cart versions on a lot of different hosting providers ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
What version of Zen Cart are you using?
Who is your hosting provider?
I have not had an issue with running any of these in a lot of different Zen Cart versions on a lot of different hosting providers ...
1.54
ezpzhosting
I never had similar issues either, or at least I don't recall any.
Anyhow I used phpMyAdmin, and now I have the two extra zones:
50 states
Rest of the world
They have yellow dots, so I guess I need to set the tax, and change the zones in the shipping modules, I'll update.
Thank you
-
Re: USPS January 17 2016 K8 - Support Quirks
NOTE: If you do not need those Zones for Tax, you do not have to set Tax on them ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Thank you very much.
The estimator works, and reports back, and the shipping price shows correctly in the checkout process.
There is one issue for which I'll open new thread in the general forum if you please follow me there, it's about the free shipping and USPS both displaying.
-
Re: USPS January 17 2016 K8 - Support Quirks
Glad to hear that this is now working for you ... :smile:
-
Re: USPS January 17 2016 K8 - Support Quirks
Hello,
Does anyone happen to know if the discounts for online/commercial pricing are no longer available? When I get quoted for a 1lb package from 92110 to 15063 with the new USPS module I get $7.16 back for the online price and $7.85 back as the "rate". When I go to check the rates on USPS.com -> calculate a price I get back $7.85 for both the retail and the online price, even when logged in. Is this a glitch with the USPS site, or does anyone happen to know if they are doing away with the online discount? I also tried USPS.com calculate a price with a 1 lb package from 92110 to 92107 and got the same price for online and retail for every service as well. For now I will just keep the setting for Retail pricing or Online pricing? to Retail to match the quotes provided by USPS when we buy the labels.
Thanks,
Kyle
-
Re: USPS January 17 2016 K8 - Support Quirks
The USPS site is only showing Retail rates and Click-N-Ship which is also Retail rates ...
What are you seeing on your website for the quotes?
You might turn on the USPS shipping module for Debug and set to Logs then try a quote and look in the /logs directory (this is /cache in older versions of Zen Cart) and Zip it and attach it to your next post ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Sorry, guess I should have contacted USPS first. I just confirmed that prior to Jan 17th they offered discounts for using click n ship online compared to buying shipping retaill through the post office, but after Jan 17th the pricing is the same, which is why they still have the 2 columns for pricing, even though they are the same, just in case anybody wanted to know. Maybe the label on the settings for "Retail pricing or Online pricing?" should now read "commercial" instead of "online" pricing.
Thanks,
Kyle
-
Re: USPS January 17 2016 K8 - Support Quirks
Unfortunately, USPS was not really clear about removing the online (commercial quotes) from their quotes page so it is still labeled as Online vs Retail and I have not received from them a link to get easy to read quotes for the Online (commercial quotes) other than reading a pdf file at:
http://pe.usps.com/cpim/ftp/manuals/.../Notice123.pdf
-
Re: USPS January 17 2016 K8 - Support Quirks
Good Night. My website is Oldnewmagazine.com and I am using 1.5.4 version of zencart. I saw that there was an update to the usps and did the recommended steps to save my info and remove to re-install the usps plugin. . After doing that and everything looked good. when I tried to test the shipping( I only have the USPS plugin working) I am not getting any information when I use the shipping estimator.
Please can someone point me in the right direction. I will await your reply I am online
-
Re: USPS January 17 2016 K8 - Support Quirks
I see estimates to ship to zipcode 71457 in the shipping estimator.
Quote:
USPS (Priority Mail™ (2-day)) |
$6.20 |
USPS (USPS Retail Ground™ (4 - 7 days)) |
$6.89 |
USPS (Priority Mail Express™ Flat Rate Envelope (2-day)) |
$20.66 |
Zone Rates (Shipping to US (1 x 1.00lb(s))) |
$8.50 |
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
wayne65
Good Night. My website is Oldnewmagazine.com and I am using 1.5.4 version of zencart. I saw that there was an update to the usps and did the recommended steps to save my info and remove to re-install the usps plugin. . After doing that and everything looked good. when I tried to test the shipping( I only have the USPS plugin working) I am not getting any information when I use the shipping estimator.
Please can someone point me in the right direction. I will await your reply I am online
Could you edit the settings on the USPS shipping module and set the Debug to Logs and then try a quote ... once you have tried the quote, look in the /logs directory and Zip the Shipping logs and attach them to your next post ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Hello Ajeh, having a quite unusual situation with the new version of the plugin I hope you can help me with.
For what I can gather, the shipping module is duplicating the shipping weight of each product, therefore providing not only the wrong weight but super expensive rates.
Product A weights 5 oz, and it's entered in the product weight field as 0.3125.
If I add 1 unit of Product A to the shopping cart, and turning on Display Weight on the USPS shipping module, the weight shows as 0.65 which is twice the weight of a single item.
My settings for on Configuration>Shipping/Packaging are both 0:0.
My setting on the USPS module
USPS Version Date
2016-01-17
Enable USPS Shipping
True
Full Name or Short Name
Short
Enter the USPS Web Tools User ID
XXXXXXXXXXXX
Which server to use
production
Quote Sort Order
Price-LowToHigh
Handling Fee - US
0
Handling Fee - International
0
Handling Per Order or Per Box
Order
Decimal Settings
2
Tax Class
Michigan Taxes
Tax Basis
Shipping
Shipping Zone
--none--
Sort Order
0
All Packages are Machinable?
True
USPS Options
Display weight, Display transit time
USPS Domestic Transit Time Calculation Mode
NEW
USPS Domestic minimum Length
8.625
USPS minimum Width
5.375
USPS minimum Height
1.625
USPS International minimum Length
9.50
USPS minimum Width
1.0
USPS minimum Height
5.50
Enable USPS First-Class filter for US shipping
True
Shipping Methods (Domestic and International)
0, .21875, 0.00, 0, .8125, 0.00, First-Class Mail Parcel, 0, .8125, 0.25, 0, .8125, 0.00, 0, 70, 0.00, USPS Retail GroundTM, 0, 70, 0.25, Priority MailTM, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, Priority MailTM Small Flat Rate Box, 0, 1.95, 0.25, 0, 70, 0.00, 0, 70, 0.00, 0, 15, 0.00, 0, 20, 0.00, Priority Mail ExpressTM, 0, 70, 0.00, 0, 70, 0.00, 0, 70, 0.00, 0, .21875, 0.00, 0, 4, 0.00, 0, 4, 0.00, Priority Mail InternationalRM, 0, 66, 2.50, 0, 4, 0.00, Priority Mail InternationalRM Small Flat Rate Box, 0, 0.9375, 2.50, 0, 20, 0.00, 0, 20, 0.00, Priority Mail Express InternationalTM, 0, 66, 2.50, 0, 4, 0.00, 0, 70, 0.00, 0, 70, 0.00
Extra Services (Domestic)
Certified MailRM, N, USPS TrackingTM Electronic, N, USPS TrackingTM, N, Insurance, Y, Priority Mail Express Insurance, Y, Priority Mail Insurance, Y, Adult Signature Restricted Delivery, N, Adult Signature Required, N, Registered MailTM, N, Collect on Delivery, N, Return Receipt for Merchandise, N, Return Receipt, N, Certificate of Mailing (Form 3665), N, Certificate of Mailing (Form 3817), N, Signature ConfirmationTM Electronic, N, Signature ConfirmationTM, N, Priority Mail Express 1030 AM Delivery, N, Certified MailRM Restricted Delivery, N, Certified MailRM Adult Signature Required, N, Certified MailRM Adult Signature Restricted Delivery, N, Signature ConfirmationTM Restricted Delivery, N, Signature ConfirmationTM Electronic Restricted Delivery, N, Collect on Delivery Restricted Delivery, N, Registered MailTM Restricted Delivery, N, Insurance Restricted Delivery, N, Insurance Restricted Delivery (Priority Mail Express), N, Insurance Restricted Delivery (Priority Mail), N
Extra Services (International)
Registered Mail, N, Insurance, Y, Return Receipt, N, Electronic USPS Delivery Confirmation International, N, Certificate of Mailing, N
Retail pricing or Online pricing?
Retail
Any idea what could be causing this problem? Thank you.
-
Re: USPS January 17 2016 K8 - Support Quirks
Could you edit the USPS shipping module in your Admin and down at the bottom set the Debug to Logs and try your quote again ...
Then, look in the directory /logs and Zip the Shipping log and attach it to your post?
Is it possible to have an URL to this product on your site so that we can see this in action?
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
Sure!
The logs (Email and on screen, for some weird reason the logs folder isn't working)
Attachment 16020
URL of product
http://www.byvalenti.com/index.php?m...products_id=27
-
Re: USPS January 17 2016 K8 - Support Quirks
The shipping debug logs of USPS are made so that if you set the Debug to Logs then it creates a shipping log file in a format for easier reading of everything ...
Could you possibly generate the shipping debug log with USPS set to Debug for Logs and Zip the log files without editing them, then attach them to your post?
These are very hard to read unless they are done right ... thanks!
-
Re: USPS January 17 2016 K8 - Support Quirks
I'm trying. For some reason the logs directory on my server is not working/recording anything. I've tried deleting it, changing the file permissions, nothing seems to work. Let me try and get it working so I can get the logs for you.
-
Re: USPS January 17 2016 K8 - Support Quirks
What version of Zen Cart are you using?
In newer versions of Zen Cart the logs are put in /logs in older versions they are put in /cache ...
-
Re: USPS January 17 2016 K8 - Support Quirks
1.5.1
Something really weird is happening with the logs directory. I was able to rename it, but now I cannot create a new one. ha! I'll win, one way or another :)
-
Re: USPS January 17 2016 K8 - Support Quirks
Zen Cart v1.5.1 should be using /logs ...
Are you sure you do not have a /logs after the rename, perhaps it did not rename?
And the permissions should work with 755 ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Yes, the /logs exist, but something is wrong. I cannot access it, or delete it. I was able to rename it and created a new one. On my way to see if this time it works.
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
-
Re: USPS January 17 2016 K8 - Support Quirks
You said earlier:
Quote:
Product A weights 5 oz, and it's entered in the product weight field as 0.3125.
But the logs are showing:
.65 pounds which is 10.4 ounces
Could you double check in your Admin the Product Weight on products_id 27 ... be sure to check both the Product Weight and check the weight on your Attributes ... :lookaroun
-
Re: USPS January 17 2016 K8 - Support Quirks
Product weight is 0.3125 on attributes 0.3375. It's adding them up! I feel so dumb right now.
-
Re: USPS January 17 2016 K8 - Support Quirks
lol ... not a problem ... sometimes these surprises amaze us ... :cool:
-
Re: USPS January 17 2016 K8 - Support Quirks
LOL! Well, if I didn't do all this I wouldn't have found the /logs directory wasn't working!
Thank you for helping me out Ajeh. Sending you a donation :)
-
Re: USPS January 17 2016 K8 - Support Quirks
You are most welcome ... and thanks for the coffee and donuts!! We really appreciate the support! :P
-
Re: USPS January 17 2016 K8 - Support Quirks
You're most welcome!
I have another question. Is it possible to restrict options on a per product or master category?
Currently I have it so only certain products can be shipped on Small Flat Rate, because physically other products don't fit on this little box, but I have a product that can only ship via Parcel within the US (contains alcohol). Is it possible to add an if statement that if product X is in the shopping cart then only Parcel or Ground options are displayed?
These are the statements I have to block Small Flat Rate
PHP Code:
if (true) {
$chk_cart = 0;
//Categories
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','5');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','18');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','25');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','27');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','29');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','30');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','31');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','32');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','34');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','35');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','43');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','44');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','46');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','88');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','92');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','101');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','103');
//Products
$chk_cart += $_SESSION['cart']->in_cart_check('products_id','264');
$chk_cart += $_SESSION['cart']->in_cart_check('products_id','457');
$chk_cart += $_SESSION['cart']->in_cart_check('products_id','463');
}
PHP Code:
if (true) {
if ($chk_cart > 0 && $type == 'Priority MailTM Small Flat Rate Box') {
// echo 'USPS $type: ' . $type . ' $chk_cart:' . $chk_cart . '<br>';
continue;
}
}
Thanks a bunch :smile:
-
Re: USPS January 17 2016 K8 - Support Quirks
You could add the code in RED:
Code:
$show_hiddenCost = '';
// bof: only show Parcel & Ground if products_id 6 is in the cart
//echo 'USPS $type_rebuilt: ' . $type_rebuilt . '<br>';
$chk_parcel_ground = 0;
$chk_parcel_ground += $_SESSION['cart']->in_cart_check('products_id','6');
if ($chk_parcel_ground > 0 && ($type_rebuilt != 'Media Mail Parcel' && $type_rebuilt != 'USPS Retail GroundTM')) {
continue;
}
// eof: only show Parcel & Ground if products_id 6 is in the cart
$methods[] = array('id' => $type_rebuilt,
That would only show Media Mail Parcel and USPS Retail GroundTM when products_id 6 is in the cart ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Thank you!
But it seems not to be working (?)
No Parcel or ground options show at all on my test. Is ground not available to all addresses?
-
Re: USPS January 17 2016 K8 - Support Quirks
The Media Mail Parcel should show regardless of where the shipping is, but the USPS Retail GroundTM is dependent on the Zone you are shipping to ...
For example, I cannot ship from Ohio to Ohio and see the USPS Retail GroundTM, but I can ship from Ohio to Florida and see the USPS Retail GroundTM ...
Have you a specific Product that you are trying this with, that we can look at?
-
Re: USPS January 17 2016 K8 - Support Quirks
NOTE: you can also force USPS Retail GroundTM, but then you cannot get the other methods of shipping quoted ...
-
Re: USPS January 17 2016 K8 - Support Quirks
We don't use Media Parcel (isn't that for books, magazines, etc?)
But the test I'm doing is to ship from Michigan to Georgia and it doesn't show at all.
Is it possible to (successfully) clone the module that way pushing Parcel only on that product?
I think would be the only solution, since USPS has made it so hard to use Parcel Nationwide.
Sorry, yes, this is the product. When this product is in the shopping cart, all other shipping options need to be removed and only ship via ground the entire order.
-
Re: USPS January 17 2016 K8 - Support Quirks
Edit that USPS shipping module and uncomment the echo:
Code:
// bof: only show Parcel & Ground if products_id 6 is in the cart
echo 'USPS $type_rebuilt: ' . $type_rebuilt . '<br>';
On the methods echoed, which do you want to show when this product is in the Cart?
Have you an URL to this Product that you only want to limit the shipping methods to show?
-
Re: USPS January 17 2016 K8 - Support Quirks
If this is the product you want to force the USPS Retail GroundTM to be the only USPS shipping method, then the code I gave you above is wrong ...
Remove that code and use this code instead:
Code:
$usps_groundonly = 'false';
// $usps_groundonly = ($_SESSION['cart']->in_cart_check('products_groundonly','1') ? 'true' : 'false');
// bof: only show USPS Retail GroundTM if products_id 114 is in the cart
//echo 'USPS $type_rebuilt: ' . $type_rebuilt . '<br>';
$chk_ground = 0;
$chk_ground += $_SESSION['cart']->in_cart_check('products_id','6');
if ($chk_ground > 0) {
$usps_groundonly = 'true';
}
// eof: only show USPS Retail GroundTM if products_id 114 is in the cart
if ($usps_groundonly == 'false') {
Now if that products_id 114 is in the cart, only USPS Retail GroundTM will show regardless of where in the US it is being shipped ...
-
Re: USPS January 17 2016 K8 - Support Quirks
You're brilliant!!! It woks! Thank you so much!!!
-
Re: USPS January 17 2016 K8 - Support Quirks
Thanks for the update that this is working for ... :smile:
Sorry for the mis-understanding I wasn't fully understanding just what you were needing this to do then I recalled the setting to for USPS to always use USPS Retail GroundTM that I had built in and that you could customize that further than just on/off but could actually set a condition on it ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
One other question. Your logs say your USPS settings are set to Online but the images you attached are for Retail ... does that difference account for anything?
I'm sorry I never came back to this (until now). Anyway, after lots of transactions that were off about $0.75 I decided to look at it again today. Yes, flipping that switch did fix the problem. I'm still not sure what the difference is in that mode, but I see in the log that it was choosing "<CommercialPostage>" instead of "<Postage>". That was the difference.
-
Re: USPS January 17 2016 K8 - Support Quirks
How can Product Weight be globally set to 0.1 LBS by default? Thx
-
Re: USPS January 17 2016 K8 - Support Quirks
You want ALL products changed to 0.1 LBS or just for when adding new products?
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
You want ALL products changed to 0.1 LBS or just for when adding new products?
Good question.
Reset All Products to 0.1 LBS and then by default All New Products auto set to 0.1 LBS.
Thus, by entering any other value would override the default weight.
-
Re: USPS January 17 2016 K8 - Support Quirks
To change ALL products to 0.1 in Install SQL Patches:
Code:
UPDATE products SET products_weight = 0.1;
Change the collect_info.php line for weight to:
Code:
'products_weight' => '0.1',
-
Re: USPS January 17 2016 K8 - Support Quirks
-
Re: USPS January 17 2016 K8 - Support Quirks
Thanks for the update that this worked for you ...
-
2 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
USPS module does not recognize 16oz can be shipped 1st Class Domestic.
I have set 1oz product weight as 0.06 lbs. USPS module 1st Class max weight as 0.99 or even 1 lbs.
Up to 12 oz, it shows 1st Class.
14oz still triggers no 1st class, only Priority on up.
Can we tweak this or is USPS controlling this?
THX
-
Re: USPS January 17 2016 K8 - Support Quirks
Have you selected RETAIL or ONLINE pricing?
What happens if you enable 1st-Class Package Service COMM. ONLINE
IIRC, the 13-15.99 ounce rates are only applicable to Online pricing, not retail.
I get quotes up to at least 15.9 ounces which also includes my tare weight setting.
-
Re: USPS January 17 2016 K8 - Support Quirks
Yes, that fixed it.
With the USPS minimum shipping rate defined, max weights defined, and online pricing chosen; the USPS rates look fair.
THX!
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
webskipper
Yes, that fixed it.
With the USPS minimum shipping rate defined, max weights defined, and online pricing chosen; the USPS rates look fair.
THX!
Happy to help. Glad to hear that remedied your problem.
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
After installing the latest USPS module we discovered that Priority mail and Priority Mail Express are not giving the correct rates. I am shipping from 60098 and shipping to 53585 a package that is 2.75 lbs or 2 lbs 12 oz. The rate I'm getting in zen cart is 6.09 plus a $2 handling fee. However when I check the USPS site it should be $7.35 for priority mail and I'm getting 20.66 plus a $2 handling fee that should be $22.95. I turned on the log file and don't see anything wrong other than the rate coming back is incorrect. I did call USPS and they looked at it and reset the rates but it didn't change anything.
The website is jaciscookies.com
Attachment 16148
-
Re: USPS January 17 2016 K8 - Support Quirks
I cannot test this on your site as when I try to login I get a security warning:
Quote:
Secure Connection Failed
An error occurred during a connection to jaciscookies.com. The OCSP server suggests trying again later. Error code: SEC_ERROR_OCSP_TRY_SERVER_LATER
On my site and in your logs I see it has:
Quote:
<Postage CLASSID="1"><MailService>Priority Mail 2-DayTM</MailService>
<Rate>7.35</Rate><CommercialRate>6.09</CommercialRate><CommitmentDate>2016-03-26</CommitmentDate><CommitmentName>2-Day</CommitmentName>
Quote:
<Postage CLASSID="3"><MailService>Priority Mail Express 1-DayTM</MailService>
<Rate>22.95</Rate><CommercialRate>20.66</CommercialRate><CommitmentDate>2016-03-25</CommitmentDate><CommitmentName>1-Day</CommitmentName>
Your final quotes at the bottom of the log show:
Quote:
Rate Quotes:
Priority MailTM (2-day)
Original cost: 6.09 Total Cost: 8.09
Priority Mail ExpressTM (1-day)
Original cost: 20.66 Total Cost: 22.66
NOTE: those are Online rates vs Retail quoted by USPS
-
Re: USPS January 17 2016 K8 - Support Quirks
NOTE: you are also adding a pound to your shipping with your Tare settings:
Quote:
Maximum: 75 Tare Rates: Small/Medium: 0:1 Large: 0:0
-
Re: USPS January 17 2016 K8 - Support Quirks
So what makes it pick the Commercial Rate because that is the problem. Yes, we are adding a pound for packaging.
-
Re: USPS January 17 2016 K8 - Support Quirks
:P Oh, I got it. Thank you so much! All is working as it should now.
-
Re: USPS January 17 2016 K8 - Support Quirks
USPS LOWERS FIRST-CLASS RATES EFFECTIVE APRIL 10 :clap:
Effective April 10, 2016, the US Postal Service plans to reverse a 4.3% surcharge previously applied to certain mailing rates and services, including its First-Class Mail Parcel rate at USPS retail locations, Media Mail rate, and extra services such as Domestic Insurance and Signature confirmation.
Will the module need to be tweaked for this?
-
Re: USPS January 17 2016 K8 - Support Quirks
Of course there will ...
It'll be a few days before the Test server is even available for testing ... :cry:
-
Re: USPS January 17 2016 K8 - Support Quirks
I am having an issue with the shipping total in my order summary not pulling in the total cost for the add on service (insurance).. therefore it shows shipping in order total area as 2.45 and in the shipping section as 4.45. This only happened when I added the new usps rate update and am now using USPS Version Date 2016-01-17. (2 files) Version Zen of v1.5.4) I also use a Winchester black template and loads of other add ins..
What am I missing?
Please note, I am not a developer, but I do my best to follow directions and have to have developers install my 'tougher' modules - Ceon (which needs and update) FEC, etc..
thanks
-
Re: USPS January 17 2016 K8 - Support Quirks
Could you go to the Modules ... Shipping ... and Edit the USPS module and down at the bottom turn on the Debug to log ...
Then try a quote and in the /logs directory Zip the Shipping log(s) created and attach it to your post?
-
Re: USPS January 17 2016 K8 - Support Quirks
Looks like there was an update to USPS' prices that went into effect on Aug. 28th. Is an update needed for the plugin?
-
Re: USPS January 17 2016 K8 - Support Quirks
Does not appear to be ... just prices were updated but not code ...
-
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
Ajeh
Does not appear to be ... just prices were updated but not code ...
Ok great. So nothing has to be done on our end? Prices are updated automatically?
-
Re: USPS January 17 2016 K8 - Support Quirks
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
International Shipping Quotes for items below 1lb seem to be too high.
I got an email from a potential customer asking if the quote of $17.25 for shipping to Australia for a 7.95 item was correct. It is not. the item only weights about .03 ounce. I can't get it to quote anything less than that $17.95 (includes a $2.55 handling fee) for low weight items no matter what shipping options I make available (international letter, large env, parcel, etc.)
The item will ship in a small envelope and should only cost about 7 to 8 dollars to ship. I have tried changing everything I can think of and it still quotes way to high.
I'ved looked everywhere and can't find the issue.
Store version I'm using is 1.54
-
Re: USPS January 17 2016 K8 - Support Quirks
Doesn't sound as if 1st Class is selected for International in the USPS module.
Also check if you added a surcharge.
I always quote retail not web shipping prices to cover packaging, incidentals, credit card fees, etc.
Compare your mock order shipping quotes with the shipping quotes at USPS.com or https://www.PAYPAL.com/shipnow/
-
1 Attachment(s)
Re: USPS January 17 2016 K8 - Support Quirks
Quote:
Originally Posted by
webskipper
Doesn't sound as if 1st Class is selected for International in the USPS module.
Also check if you added a surcharge.
I always quote retail not web shipping prices to cover packaging, incidentals, credit card fees, etc.
Compare your mock order shipping quotes with the shipping quotes at USPS.com or
https://www.PAYPAL.com/shipnow/
I do have International First Class Selected and I have a surcharge. I have also checked USPS.com which is why I know it is not $17.25 shipping for only a 3-6 oz item. I have always had it set for Retail (not online) pricing .
Here are the settings I have normally and what I have tried.
Attachment 16703
-
Re: USPS January 17 2016 K8 - Support Quirks
Additional info: I ran out of time trying to reply so I have to do another post;
I went back and checked USPS.com and this time looked at the international package rate which is $13.75 then if I add to it $3.50 handling it does comes to $17.25 (like it is quoting). However, the large envelope rate is 6.75 on USPS which this item can fit into as it is flat. However, it doesn't offer that option to the customer. I have changed module to allow Ltr & Envelope options also but it still only recognizes the International Package Rate.
\