2071 Posts in 814 Topics by 448 members
|Go to End|
16 January 2013 at 10:41pm
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.
17 January 2013 at 9:20am
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.
17 January 2013 at 11:35am Last edited: 17 January 2013 11:36am
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
24 January 2013 at 12:21am
thanks very much Frank and Jedateach,i really appreciate your thoughts and help with this.
|Go to Top|