Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Søren Linaa 255 posts 208 karma points
    Mar 18, 2019 @ 10:06
    Søren Linaa
    0

    Shippingprice based on weight and country

    Hi,

    I know there's no build in way of differentiating the shipping price based on weight and the shipping provider (and country).

    I want the customer to be able to update the custom shipping prices in weight intervals. I have already build a CustomShippingCalculator but the values are hardcoded for now.

    What would be the best/correct way to achieve this.

    /Søren

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Mar 18, 2019 @ 10:13
    Matt Brailsford
    0

    Hi Søren,

    How many potential weight ranges will there be? My initial thought would be to create a shipping method per weight range and have your calculator select the apprpreate shipping method accordingly.

    Alternatives could be a custom DB table and a dashboard or use something like Fluidity to manage the values https://our.umbraco.com/packages/backoffice-extensions/fluidity/.

    Matt

  • Søren Linaa 255 posts 208 karma points
    Mar 18, 2019 @ 10:26
    Søren Linaa
    0

    Hi Matt,

    At the moment I dont know how many ranges, but I think 5-6 per country/region, so it could be a solution.

    I also like your idea with a custom db and Fluidity. But the customer needs to maintain in a different section then.

    /Søren

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Mar 18, 2019 @ 10:43
    Matt Brailsford
    0

    Hey Søren,

    I've never tried, but in theory it's possible to register a fluidity tree to an existing section so it could exist in the same section. But whether that would make logical sense I don't know. It probably would be better in it's own section, but then yea, it is hidden away from the rest of the Tea Commerce tree.

    Unfortunately there is no current means of attaching additional content to a shipping method (without injecting some cutom UI elements) so the other approach of multiple shipping methods might be the only logical option. Or like i say, a custom dashboard that shows in the Tea Commerce section for managing it, but similar to fluidity, that doesn't feel the right place.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft