Has anyone seen this? Logged in users see USPS shipping quotes in the Shopping Cart but not unauthenticated users. UPS quotes show for both.
Has anyone seen this? Logged in users see USPS shipping quotes in the Shopping Cart but not unauthenticated users. UPS quotes show for both.
Comments
Comment #1
tr commentedComment #2
longwaveThere are no access controls on shipping quotes by default. Are you testing with the exact same set of products in the cart? Have you set up any conditions on any of the shipping quote rules? Are there any errors logged in watchdog?
Comment #3
swortis commentedGood call on "exact same set". It's not authenticated vs non-authenticated [red face]--it's the number and/or type of items in the shopping cart. I can't figure out the logic but I occasionally see USPS quotes and then do not.
There are no (obvious) errors in watchdog. No conditions on any shipping quote rules.
I'm baffled.
Comment #4
longwaveTry enabling the "Display debug information to administrators" option and test various combinations as an administrator, post the debug output for the non-working quotes here if you need further assistance.
Comment #5
tr commentedNo further information provided.
Comment #6
swortis commentedThe issue appeared to be that the 'container' column in the uc_usps_products table needs to be set to 'VARIABLE'. The site was converted from D6 to D7 and most rows had no value in that column. Some did which explained the erratic behavior. Changing all the 'containter' column values to 'VARIABLE' solved the issue and now the USPS quote appears as expected.
One might consider adding a user parameter to the conversion script which would prompt for 'VARIABLE' (or another value) to be added to that column.
-S
Comment #7
tr commentedThanks for following up and letting us know what was causing the issue!
The "VARIABLE" issue was a addressed two years ago when the USPS API changed (search the closed issues in this queue) - it only affects those sites that upgrade to D7 Ubercart from a version of D6 Ubercart that's more than two years old. Changing the column values does the right thing only if you'd never set container types on any of your products.