Copied to clipboard

Flag this post as spam?

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


  • Puck Holshuijsen 184 posts 727 karma points
    Jan 03, 2023 @ 13:00
    Puck Holshuijsen
    0

    How to handle table rate shippingcosts?

    Hi Matt,

    First of all: happy new year!

    I am currently developing my second Vendr shop for a customer, and I am running into a bit of a head-scratcher.

    This customer needs table rate shippingcosts for certain countries, and I am out of ideas on how to do that. I want the customer to be able to set the rates himself.

    Eg: 0 - 50 total = 10 euros shipping 50 - 500 total = 50 euros shipping 500 and up = 100 euros shipping

    I was hoping you might have a brilliant idea :)

    Thanks!

    Kind regards,

    //Puck

  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Jan 03, 2023 @ 13:29
    Nik
    1

    Hi Puck,

    I've had to do something like this. The approach I took was to allow the client to upload a CSV that contains columns such as:

    'min qty, max qty, currency code, value'

    This would then be stored in a custom DB table.

    Then, add a custom Shipping Calculator to Vendr for calculating the shipping price for the order.

    In the scenario I did this for, there were some countries where it was free shipping, or the calculation were applied. So it sounds fairly similar to what you are after.

    Nik

  • Puck Holshuijsen 184 posts 727 karma points
    Jan 03, 2023 @ 13:59
    Puck Holshuijsen
    1

    Hi Nik,

    Well that's an interesting idea!

    That way the customer will be able to adjust the prices when needed without my intervention.

    This gives me some ideas to work from :)

    //Puck

  • Puck Holshuijsen 184 posts 727 karma points
    Jan 10, 2023 @ 13:14
    Puck Holshuijsen
    101

    Well, I went with a slightly different route to achieve this.

    Basically what I did was this, I am using the SKU to get the range. enter image description here

    Each shipping has a base price, and for the countries that need a custom price you can set a custom price. enter image description here

    Then in the front-end I am filtering the allowed shipping methods based on the total weight of my products and the range (this range is based on weight). This keeps the whole shipping method structure as is, I just don't show as much on the front-end :)

    I hope this might help somebody in the future (if ranges are not implemented in Vendr).

Please Sign in or register to post replies

Write your reply to:

Draft