Zen Cart Logo
Forums / Addon Shipping Modules / USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Views: 12,976

Results 1 to 20 of 31
24 Apr 2013, 02:56
#1
jmwiley avatar

jmwiley

New Zenner

Join Date:
Apr 2013
Location:
California
Posts:
11
Plugin Contributions:
0

USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

FYI Start

  • Using USPS module: USPS V15 Ratev4 2013_0127 R2013_0422
  • I have the USPS module in "Debug mode=screen"
  • I believe I have the "Zones" configured correctly.
  • I BELIEVE I have the USPS module configured correctly, since it looks like it's calculating rates and I have the "Web Tool User ID" entered and I phoned the USPS and had them set it to "production".

FYI End

*** Now for my issue ***

The below "Debug mode results" shows in a pop-up window when I have an item in my shopping cart that's 2.22lbs and I click "estimate shipping" button to calculate USPS shipping.

Debug mode results
sourceZipdestinationZip01LETTERREGULAR5First///etc. omitted that large line to save room on here.

View Source:
Server: production Quote Request Rate Type: Online Cart Weight:2.22 Tare Rates: Small/Medium: 0:0 Large: 00:0 Decimals: 2 Total Weight: Pounds: 0 Ounces: 1 Length: 8.625 Width: 5.375 Height: 1.625 ZipOrigination: shipped from zip ZipDestination: Customer Zip City: Customer City State: California Order Total: $1.08 RESPONSE FROM USPS:

sourceZipdestinationZip01LETTERREGULAR5 First-Class Mail Letter
0.66
9Certificate of Mailingtruefalse1.2001Insurancetruefalse1.950truefalse5Registered Mailtruefalse11.200truefalse4Registered without Insurancetruefalse11.2000Certified Mailtruefalse3.1006Collect on Deliverytruefalse6.450truetrue

** End Debug mode (truncated) results**

PLEASE correct me if I'm wrong, but it ?IS? figuring out the USPS shipping calculations?

FOR MY QUESTION:
If it's showing calculations then why is my table empty? (see below)

Estimate Shipping Costs

Total Items: 1 Weight: 2.22lbs Amount: $1.00

Ship to: ME the customer
(Customer address omitted so you can't see)

**Available Shipping Methods

Rates
**

United States Postal Service (0 Boxes) (0 lbs, 1 oz) (Express Mail® (1 - 2 days)) $0.00
United States Postal Service (0 Boxes) (0 lbs, 1 oz) (Express Mail® Flat Rate Boxes (1 - 2 days)) $0.00
United States Postal Service (0 Boxes) (0 lbs, 1 oz) (Express Mail® Flat Rate Envelope (1 - 2 days)) $0.00
United States Postal Service (0 Boxes) (0 lbs, 1 oz) (Express Mail® Legal Flat Rate Envelope (1 - 2 days)) $0.00
United States Postal Service (0 Boxes) (0 lbs, 1 oz) (First-Class Mail® Letter (2 - 5 days)) $0.00

MY QUESTION

If it's showing calculations then why is my/customer's shipping rates table empty?

Please oh Please help:frusty:. Thank you. :smile:
I hope it's some dumb/stupid blunder that I did. ( a.k.a An easy fix )

24 Apr 2013, 14:09
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

It doesn't make a lot of sense that your cart reads: Weight: 2.22lbs

and the USPS module is reading: (0 lbs, 1 oz)

What other shipping modules are installed?

I would try doing:

1 Remove USPS

2 Reload the files from a clean Download

3 Install USPS

4 Configure USPS

and see if that fixes the problem ...

If not, set the debug to Logs and test the shipping, then, look in your /logs directory and post the Log file that is being created ...

25 Apr 2013, 03:30
#3
jmwiley avatar

jmwiley

New Zenner

Join Date:
Apr 2013
Location:
California
Posts:
11
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

1 Remove USPS

2 Reload the files from a clean Download

3 Install USPS

4 Configure USPS

I did the above a few nights before posting this thread, then I figured that I should do a clean uninstall of the older version of USPS module and install the newer one.... with no success to fixing the problem


Please the attachment for my latest log. Thank you very much. :D

25 Apr 2013, 12:31
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

For some reason, the weight in the Cart is not being sent to USPS ...

If you go to Modules ... Shipping ...

what module(s) are not Red icons?

what module(s) are Green icons?

what module(s) are Yellow icons?

Do you have an URL to your site that we could perhaps test and what are the products_id that you are testing?

25 Apr 2013, 13:30
#5
jmwiley avatar

jmwiley

New Zenner

Join Date:
Apr 2013
Location:
California
Posts:
11
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Module

FedEx Freight LTL fedexfreightltl
FedEx SmartPost fedexsmartpost
Flat Rate flat
Free Shipping Options freeoptions
FREE SHIPPING! freeshipper
Per Item item
Per Unit perweightunit
Store Pickup storepickup
Table Rate table

United States Postal Service (Debug is ON: Logs) usps 0
Zone Rates

Above are the modules that I have and ONLY the USPS is "green", all others are "red".

Should I do something with "Zone Rates" that's above?

Correct me if I'm wrong, but if I apply, for example, FedEx, then there should be yellows, showing shipping options?

Thank very, very much.

25 Apr 2013, 13:47
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Yellow shows on errors or if a Zone has been set on a shipping module ...

You have no need for the Zone Rate zones to be installed ...

And chance of seeing an URL to your site and the products_id that you are testing an order for?

25 Apr 2013, 14:02
#7
jmwiley avatar

jmwiley

New Zenner

Join Date:
Apr 2013
Location:
California
Posts:
11
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

And chance of seeing an URL to your site and the products_id that you are testing an order for?

http://www.gfbbq.com/shop/

ID# 98 - Test Product - It's in Traeger® Wood Pellet Grills

I have the PayPal payment mod 'off' for now.

Thank you again.

25 Apr 2013, 14:21
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

This really makes no sense ...

I just am not seeing the cause of why your shipping weight is incorrect ....

Without seeing your database and code on the server I really cannot pinpoint the nature of this problem ...

Do you have any kind of add ons on your site right now?

I would compare your files, on the server, to a clean checkout of Zen Cart v1.5.1 with something like Beyond Compare from scootersoftware.com and see if you have files that are damaged or out of date ...

Other than the shipping debug logs in the /logs directory, do you have any debug logs that might indicate a problem?

25 Apr 2013, 19:48
#9
jmwiley avatar

jmwiley

New Zenner

Join Date:
Apr 2013
Location:
California
Posts:
11
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

I believe all I have to modules/add-ons are:

FedEx modules
USPS
and Dropshipping Module

I believe that's it, I'm on another system so I'll check it out later.

I'll uninstall the Dropshipping add-on and test the site and if that doesn't work I'll upload the site again. I haven't done much but add product, create zones, inlcude taxes and some presentation.

so we'll see? :frusty:

26 Apr 2013, 03:04
#10
jmwiley avatar

jmwiley

New Zenner

Join Date:
Apr 2013
Location:
California
Posts:
11
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Ok Ajeh,

I'm REALLY against the wall on this one. I GOTTA have this thing purring by this weekend.

Want me to create a temp admin password and have you bang around in the Admin area?

Let me know what you need, if you're willing?

26 Apr 2013, 06:41
#11
jmwiley avatar

jmwiley

New Zenner

Join Date:
Apr 2013
Location:
California
Posts:
11
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Ajeh,

Thanks for all the help. I just ended up reinstalling the cart. It works now.

26 Apr 2013, 12:38
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Thanks for the update that things are working now ... :smile:

15 Dec 2013, 12:11
#13
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

How we can display both usps rates and Free shipping only for item which have "free ship" selecte

15 Dec 2013, 13:46
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

What version of Zen Cart are you using?

Do your Products have both Always Free Shipping YES as well as Product Weight set?

15 Dec 2013, 15:48
#15
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

All products have weight for them. For some products we have selected "Yes, Always Free Shipping" in listing creation process.

and when we add such product (s) into cart shopping cart shows only "Free Shipping only" as available ship method + UPS shipping methods but does not shows usp

15 Dec 2013, 15:50
#16
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

PS: before login shopping cart page shows only "FREE SHIPPING! (Free Shipping Only)"
after login or or entering customer details with "no account" it shows both FREE SHIPPING! (Free Shipping Only) and ups but never usps.

15 Dec 2013, 16:28
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Could you perhaps share with us the Zen Cart version that you are running? :lookaroun

15 Dec 2013, 18:49
#18
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

1.3.9h zencart version

15 Dec 2013, 18:54
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

You would need to customize the shipping class to re-add in the Free Shipping weight in the file:
/includes/classes/shipping.php

with the code in RED:

[B]// bof: add back in Free Shipping Weight
[/B]      $shipping_weight = $total_weight [B]+ $_SESSION['cart']->free_shipping_weight()[/B];
[B]// eof: add back in Free Shipping Weight
[/B]

then you need to edit the individual shipping modules such as:
/includes/modules/shipping/usps.php

    // disable only when entire cart is free shipping
[B]// bof: add back in Free Shipping Weight
[/B]    if ([B]true || [/B]zen_get_shipping_enabled($this->code)) {
      $this->enabled = ((MODULE_SHIPPING_USPS_STATUS == 'True') ? true : false);
    }
[B]// eof: add back in Free Shipping Weight
[/B]
15 Dec 2013, 19:05
#20
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: USPS Module - Rates Calculate but doesn't show in "Available Shipping Methods" table

Thanks Linda.
I did that and its working now except one page.
On shopping cart page before customer login or no account customer details provided it still shows

Shipping quotes are based on the address information you selected:
UNITED STATES
Available Shipping Methods Rates
FREE SHIPPING! (Free Shipping Only) $0.00

After customer login or custoner details provided on no account page it shows all usps, ups and free ship method. So how I can have all shown on shopping cart page?

Another question: When page loads it automatically select USPS priority mail as shipping method, how I can make it no auto select so customer can select of their choice.