WordPress.org

Support

Support » Plugins and Hacks » WooCommerce Weight Based Shipping » [Resolved] proportional Incrementation in weight and price

[Resolved] proportional Incrementation in weight and price

  • Hi, I’m needing help as something I’m doing is not right.

    101g to 250g – £3.70
    500g – £5.15
    750g – £6.60
    1kg – £8.05
    1.25kg – £9.50
    1.5kg – £10.95
    1.75kg – £12.40
    2kg – £13.85

    For every 0.25kg, 1.45£ is added. I’m starting with min weight as 0.101, max 2kg. I’m testing with a product that is 0.05gr. Somehow at some point the prices don’t match accurately even though they should grow proportionally.
    What settings should I use to make this right? I’m sorry to ask it but I’ve waisted some hours on this with no success.

    I have other non incremental tables that handles lesser values than these.
    I know I could set a new additional configuration for each row, for european union and other for rest of the world. Meaning that I needed to create 16 tables when it could be simply only two, If I could get this right.

    Thanks in advance

    https://wordpress.org/plugins/weight-based-shipping-for-woocommerce/

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

    @dangoodman

    Hi,

    It seems the following config might suffice:

    Min Weight: 0.101
    Max Weight: 2
    Shipping Rate: 5.8 (so that every 0.25kg adds 1.45£)
    Weight Step: 0.25 (so that price is incremented step by step, not continuously)

    Thanks for the quick reply,
    I’ve already used the configuration you sent, It makes sense, but it doesn’t match for some reason. It fetches my configurations under 100gr just fine, but as soon as I add another item and it becomes more than 100gr, fetches this new configuration but I get £1.45 not £3.70.

    Plugin Author Dan

    @dangoodman

    Could you describe it in more details? Especially configurations you currently have, experiments you do, results you get and what you expect instead (just couple examples). That would help me to figure out what’s wrong here.

    I have a configuration that states that between 0.05-0.1 is £3.20 of handling fee.
    It works very well.

    Then for the prices below, I’ve made another configuration:
    101g to 250g – £3.70
    500g – £5.15
    750g – £6.60
    1kg – £8.05
    1.25kg – £9.50
    1.5kg – £10.95
    1.75kg – £12.40
    2kg – £13.85

    Configuration:
    Min Weight: 0.101
    Max Weight: 2
    Shipping Rate: 5.8
    Weight Step: 0.25
    Handling fee: is blank

    As soon as the cart gets more weight than 100gr, fetches the configuration above but the shipping price is £1.45 instead of £3.70 like i was expecting.
    Ive played around with numbers but i never got it right.
    Does this make sense?

    Thank you

    Plugin Author Dan

    @dangoodman

    Ok, I think I got it. Please try to alter the configuration by setting Handling Fee to 2.25. That would “shift” all prices up.

    Thank you! Very helpful! After setting other stuff up, the following question is probably a feature request.

    I’ve made another configuration which applies to the rest of the world, so I set the availability to “all allowed countries”. But for some reason my own country is selected by default (even with clean cache) and then both configurations (local country configuration and Rest of the World) are visible with radio buttons to chose from, which shouldn’t happen.

    Is there currently a way that allows me to exclude my own country from “all allowed countries” so both options don’t appear together?

    I was thinking making a ROW configuration by selecting all the countries from the dropdown menu manually (in order to get rest of the world), but my own country and the ones that are in EU.
    But I’m afraid this won’t work, because the dropdown on the availability > specific countries doesn’t show options within a country.

    So if a person is from united States and selects Florida, this person can’t calculate the shipping, because I didn’t selected “Florida” as part of my ROW configuration.

    Let me know any fix for now, I hope the way I’ve explained isn’t confusing.

    Thanks again

    Plugin Author Dan

    @dangoodman

    Glad to help you!

    Currently there is no way to exclude countries. As you mentioned you need to select all countries manually except for ones you want to exclude.

    WRT Florida issue. If USA is selected in Availability dropdown and user selects Florida state as their location the shipping option does appear to user. I’ve just double checked this on default WooCommerce installation. Isn’t that the case for you?

    Hi there,

    I’ve just made the configuration by excluding countries manually. Yup it works for options underneath countries!

    Thanks a ton! 🙂

    Plugin Author Dan

    @dangoodman

    Great!
    You’re welcome!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] proportional Incrementation in weight and price’ is closed to new replies.
Skip to toolbar