Jump to:

2082 Posts in 1002 Topics by 452 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » possible to calculate shipping costs based on weight and postcode?

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1055 Views
  • kread
    Avatar
    Community Member
    8 Posts

    possible to calculate shipping costs based on weight and postcode? Link to this post

    is there any way to calculate shipping costs based on product weight and customer's postcode? i've seen this done in wordpress sites (an example being http://naturallybetterfoods.com/). is there anything that can do the same for silverstripe? i've been working on a site (a programmer is doing all the silverstriping of it) and he's put in a module that allows me to put in weights per product, but it doesn't allow for postcode variations. This means a carton of wine going to a customer 5km away costs the same in shipping as if it was going to someone on the other side of the country. i'm hoping there's a better way?
    thanks very much.

  • frankmullenger
    Avatar
    Forum Moderator
    51 Posts

    Re: possible to calculate shipping costs based on weight and postcode? Link to this post

    I've done this as a shipping module for a client using SwipeStripe in the past. Not sure what ecommerce module you are using but the general approach we took:

    Save weight for products/product variants in one unit (grams in our case)
    Set up some countries and regions to ship to
    Set up shipping rates for each country/region that also had a weight bracket
    At checkout get the destination country/region, calculate the weight of the order and pick the correct shipping rate accordingly

    So there is a little bit of work involved but that approach should work with most SilverStripe ecommerce modules I think as they all probably have a way of setting shipping rates and picking shipping rates at checkout.

  • Jedateach
    Avatar
    Forum Moderator
    227 Posts

    Re: possible to calculate shipping costs based on weight and postcode? Link to this post

    The SilverStripe 'shop' module also allows such shipping calculations, with it's latest improvements (on develop branch). https://github.com/burnbright/silverstripe-shop

    We currently have available two basic shipping methods: TableShipping and ZonedShipping, which are both flexible and capable of what you are wanting to achieve. The shipping framework is currently a separate module: https://github.com/burnbright/silverstripe-shop-shippingframework

    Here is a screenshot of the ZonedShippingMethod:

    We also have a 'regional data module', which may be of use. It basically supplies a database of countries and sub-regions. https://github.com/burnbright/silverstripe-regionaldata

  • hc
    Avatar
    Community Member
    6 Posts

    Re: possible to calculate shipping costs based on weight and postcode? Link to this post

    thanks very much Frank and Jedateach,i really appreciate your thoughts and help with this.

    1055 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.