• Resolved lesi2000

    (@lesi2000)


    So one month ago i configured all the shipping rules. Today i tried to make an order for more than 2 kg package. and it says “There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.” while there IS a setted shipping option. If the packege is under 2 kilos everithing is working fine (side note: i splited my rules in two – under 2 kg and more than 2 kg.) So basicly some rules work, other dont? i have no idea why.

    Please help.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Dan

    (@dangoodman)

    Could you please gather more details?

    Thread Starter lesi2000

    (@lesi2000)

    1. WordPress: Version 5.4.1, WooCommerce: Version 4.1.0 , Weight Based Shipping: Version 5.3.4.1,

    2. the rules: https://imgur.com/a/m8UcDrs
    the countries (note India) https://imgur.com/JIjoSGq
    the checkout : https://imgur.com/koJLgW6

    3. I’m testing it with the order:
    Item #1: 1.1kg , no shipping class, 2
    Item #2: 0.01 kg, no shipping class, 5
    etc
    Total order weight: 2.25kg
    Order subtotal: NO PRICE (it should be 30Euro)
    Shipping destination: India bihar

    4. I expect to see
    — Economic Shipping: Euro30

    5. I do see instead:
    —No available shipping option

    Plugin Author Dan

    (@dangoodman)

    Thank you.

    I don’t see any issue with the configuration. It should be working as you expect it.

    A couple of reasons why the expected shipping option doesn’t appear:

    1. The total weight of the order is actually not 2.25 kg. To check what value receives the plugin temporarily add a rule with Weight Rate set to ‘charge 1 per each 0kg over 0kg’ (keep everything else in its default state). The price it’s expected to show is equal to the total order weight.

    2. Some third-party code affects shipping options processing. To check it disable all other plugins temporarily. Then, return things back one by one until you notice the problem is here again.

    Thread Starter lesi2000

    (@lesi2000)

    Hello, i tried all of the things you suggested, none of them works. I disabled most of the plugins (without woocommerce of course) and nothing changed.
    And i created a tuke specialy for canada and i didnt work.

    Please help

    Plugin Author Dan

    (@dangoodman)

    What shipping price do you get for the ‘charge 1 per each 0kg’ rule?

    Thread Starter lesi2000

    (@lesi2000)

    Nothing appears

    Image of the rule:1# https://imgur.com/a/xq6Jugw
    2# https://imgur.com/d6D2jLu
    Checkout

    View post on imgur.com

    It should appear like “all” instead i got only shipping Speedy which is from another rule.

    Plugin Author Dan

    (@dangoodman)

    Ok. First of all, it would be good to make sure it’s not a caching issue. For that, change something in the checkout form, update it and revert the change back.

    I’m also wondering if the ‘all/Bulgaria’ shipping zone is the first in the list of shipping zones? Since in another case, it might be that WooCommerce never reaches it.

    If so, and you still see no WBS shipping options after that, it means something interferes with the plugin.

    It might be another plugin, your current theme, a custom code snippet. Please try disabling all your other plugins, and switch to the default theme at the same time. Make sure to reset the WooCommerce shipping cache as described above every time you check the shipping options.

    If that still doesn’t help, make sure you have no changes in the code of the plugin, WordPress or WooCommerce.

    Thread Starter lesi2000

    (@lesi2000)

    Okay, so i think i saw the problem.
    Its connected to:” also wondering if the ‘all/Bulgaria’ shipping zone is the first in the list of shipping zones? Since in another case, it might be that WooCommerce never reaches it.”

    So i got rulles for bulgaria
    And then i created the second rule “all”
    The end result is when “all” is above “Bulgaria” the woocommerce gets “all” but doesnt get “Bulgaria”

    I have the simmilar distribution between the other countries,
    For example i have rule “Uganda under 2 kilos” (which contains the rules between 0gr and 2000gr )and under it “Uganda above 2 kilos” (which contains a rule for every kilo)
    and that explains why when i have order under 2 kilo it shows the price and above two kilos not. Most of my Non european countries rules are made like “Uganda”
    Here is photo: https://imgur.com/2A6ObNd

    So the rules i have for every non european country:
    1 rule with all countries under 2 kilos (bacouse for post delivery is the same to everywhere) You can see it on the picture
    6 rules (because they are 6 main shipping zones) for the different non-european countries “Shipping by Land”. You can see it in the picture
    6 rules (because they are 6 main shipping zones) for the different non-european countries “Shipping by Air”. Its not in he picture but i think you get it.

    So any suggestions how can i fix that? 2 months ago the plugin and woocommerce were working fine.

    Plugin Author Dan

    (@dangoodman)

    Ah, ok. Glad we have found it.

    WooCommerce looks for the first matching zone and stops. That was always the case. So you have to merge and/or rearrange your shipping zones so that more specific zones come before wider ones.

    Just FYI, you can have more than one shipping method in each shipping zone.

    Thread Starter lesi2000

    (@lesi2000)

    Just FYI, you can have more than one shipping method in each shipping zone.

    I cant do that becuse its a lot of work… i mean my prices for under 2 kilos are equal for all countries and i thought that it would be good if i can merge all countries in one rule under 2 kilo and then to make more rules for different countries above 2 kilo.

    Please explain this in the description of the plugin because i think is very important, and people should now so they can plan the rules before they create them.

    Plugin Author Dan

    (@dangoodman)

    WBS doesn’t control this. That’s how WooCommerce works. You can read more in the docs.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Not Showing Options’ is closed to new replies.