• Resolved dave

    (@mozdzanowski)


    I have three shipping zones:

    1. Nassau County, NY – set to “New York, US” with 100+ zip codes listed below – only shipping option is Free Shipping.
    2. United States – set simply to “United States” – shipping options are: USPS, and two Free Shipping options—one min spend, and one eligible coupon.
    3. International – set to every other continent/country not covered above – shipping option is USPS.

    I’m getting the There are no shipping methods available. Please double check your address, or contact us. error on the cart shipping calculator, and a similar There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help. error on the checkout page.

    I’ve read a bunch of other posts about similar problems people have, and which they’ve fixed by reordering the shipping zones or options within zones, or by removing a duplicate zone(eg. Australia zone set to WCServices, and another Australia zone set to free shipping), but I can’t simply remove the Nassau County zone because it’s technically a different zone with different options.

    I’m wondering if the fact that the sub-set of Nassau County, NY zip codes is messing with the United States zone—which encompasses all of New York as well.

    If so, how would one accomplish this type of sub-set shipping zone? Do I need to add all other US states/territories manually in the “United States” zone, as well as every other NY zip code outside of Nassau County, just so I can cover the rest of the US without duplicating the Nassau County, NY sub-set I have in the other zone? It seems WooCommerce Services is “smart” enough(ie. should be smart enough) to resolve duplicate zones based on the order in which we set the zones and options.

    Does this make sense? Is there something I’m missing? Any help is much appreciated.

    • This topic was modified 5 years, 7 months ago by dave. Reason: Refined details about shipping zones
    • This topic was modified 5 years, 7 months ago by dave.
    • This topic was modified 5 years, 7 months ago by dave.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter dave

    (@mozdzanowski)

    I think this could now be attributed to not having every dimension and weight set for all of my products. Still need to enter all of them just to get it working to test, so I’ll try to update here once I get them all updated if that’s the case.

    UPDATE: I tried one product to test, and I still get the error even with dimensions and weight added. So, refer to original problem above.

    • This reply was modified 5 years, 7 months ago by dave.

    I wouldn’t expect dimensions and weight to be relevant to the availability of shipping methods.

    What should happen is that a customer inside the Nassau zone should be offered both Free Shipping and US shipping to choose from. Both apply in this case. To remove the US shipping if Free Shipping is available needs a small snippet of code to loop through the shipping methods and remove US if Free is present. Come back if you need this.

    Exactly why you are getting the methods not available message is difficult to tell without screenshots of the shipping methods setup screens. Hopefully you have been able to progress this issue since posting.

    Thread Starter dave

    (@mozdzanowski)

    @lorro, thanks for your reply.

    Yea, I suspected dimensions and weight weren’t the cause, but had to consider them a possibility.

    And, yes, you are correct with what should happen. I’m not worried about hiding other shipping methods if free is available at this time, but I’m aware of the snippet on WooCommerce docs to do this.

    Below is a link to a screenshot of my shipping zones setup. I’m still at a loss as to why it’s giving me the “No shipping methods available” error for anything outside of Nassau county. I failed to mention that I do get free shipping working perfectly fine if you input a zip listed in the Nassau county zone, but anything outside doesn’t move then to the US or International zones.

    https://www.dropbox.com/s/0ivieozkbiwwr0y/Screen%20Shot%202019-07-30%20at%202.05.50%20PM.png?dl=0

    If you click “United Staes” to get to the its methods setup screen, what do you see?

    Thread Starter dave

    (@mozdzanowski)

    I tried similar on mine. For the Nassau zone, my Region column shows the Region to be “United States (US), 123, 345, 678, etc”, so not Nassau, etc, which isn’t a region, just a zone name. Any chance of a view of the method setup for the Nassau method?

    Forget last, I see New York is a region. Still looking…

    Thread Starter dave

    (@mozdzanowski)

    Yea, so I have “New York, US” as the zone region in my Nassau county zone: https://www.dropbox.com/s/5b4k50yln8h8kzg/Screen%20Shot%202019-07-30%20at%202.35.36%20PM.png?dl=0

    Tried setting it to “United States” instead, but still not getting shipping methods.

    EDIT: Just saw your last comment. Is it necessary to clear WC transients every time I change these things to get them updated on the front end?

    • This reply was modified 5 years, 7 months ago by dave.
    • This reply was modified 5 years, 7 months ago by dave.

    In the Shipping tab, Shipping Options sup-page, I would enable debug mode. At least it will show a banner stating which zone has been matched to the customer address, even if no method matches.

    I think I would then simplify the US methods, remove all the methods and put in just one method only, no coupons or minimum spend. Deactivate the USPS module. Strip it back until it works, then enable the tweaks one-by-one and check to try to identify where its going wrong. Maybe start by putting back the USPS module to ensure its not that that’s causing a conflict. Sorry not to be able to give a more focussed suggestion.

    I would expect transients to clear themselves after changes, but its only a click so clear them anyway while debugging.

    Thread Starter dave

    (@mozdzanowski)

    Yea, I had enabled debug when I posted originally, and it said it was matching to the United States zone, but still said no matching methods.

    I stripped it back to only USPS, but it’s saying the same thing.

    I’m gonna do the whole deactivating all plugins, etc, and see if I can isolate the problem.

    Thanks for your time and suggestions. I’ll post back if I find anything.

    Thread Starter dave

    (@mozdzanowski)

    So I still have only USPS enabled for the United States zone, and I went in and enabled the debug info for the USPS shipping option(plugin), and get the following:

    For REQUEST:

    API=RateV4&XML=<?xml version="1.0"?>
    <RateV4Request USERID="XXXXXXXX">
      <Revision>2</Revision>
      <Package ID="0:1:4:2:4:1:flatrate:priority:">
        <Service>PRIORITY</Service>
        <ZipOrigination/>
        <ZipDestination>11693</ZipDestination>
        <Pounds>1</Pounds>
        <Ounces>0.00</Ounces>
        <Container>PADDED FLAT RATE ENVELOPE</Container>
        <Size>REGULAR</Size>
        <ShipDate>31-Jul-2019</ShipDate>
      </Package>
      <Package ID="0:1:4:2:4:1:flatrate:express:">
        <Service>PRIORITY MAIL EXPRESS</Service>
        <ZipOrigination/>
        <ZipDestination>11693</ZipDestination>
        <Pounds>1</Pounds>
        <Ounces>0.00</Ounces>
        <Container>PADDED FLAT RATE ENVELOPE</Container>
        <Size>REGULAR</Size>
        <ShipDate>31-Jul-2019</ShipDate>
      </Package>
    </RateV4Request>

    For RESPONSE:

    <?xml version="1.0" encoding="UTF-8"?>
    <Error>
      <Number>-2147219100</Number>
      <Source>clsRateV4:UnpackRateNode</Source>
      <Description>Missing value for ZipOrigination.</Description>
      <HelpFile/>
      <HelpContext/>
    </Error>

    I have the zip field filled in the business address section of WooCommerce > Settings > General, so I’m not sure why it’s missing the “ZipOrigination”.

    Any idea what might be going wrong with that?

    • This reply was modified 5 years, 7 months ago by dave.

    A business address is not necessarily the business’ warehouse/distribution address, particularly for bigger businesses. Does the USPS plugin have a settings screen where the distribution centre zip can be entered?

    Exactly which USPS plugin are you using? If its the WooCommerce one then this forum’s members don’t have access to it and its not supported here. You would need to go to the woocommerce.com support service. At least you are homing in on the culprit.

    Thread Starter dave

    (@mozdzanowski)

    Nope, the USPS plugin only has an option field for user ID, and an “Enable debug” checkbox. That’s it.

    Yea, it’s the WooCommerce plugin, so I’ll have to contact them.

    Thanks.

    Thread Starter dave

    (@mozdzanowski)

    Ok, so, talked with WooCommerce support, and it seems I didn’t fill in the required “sender postcode” field in the USPS method settings which need to be set for each zone: https://cld.wthms.co/2pFrot (screenshot)

    Pretty simple and obvious fix, but I missed it. Sorta figured the plugin would at least take into account the WC General settings business address, or at least default to that with the option for a different distribution origin, etc.

    Anyways, hope this helps someone else.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘There are no shipping methods available. Please double check your address, or co’ is closed to new replies.