Jump to:

23450 Posts in 18899 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Has anyone gotten weight based shipping to work?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 576 Views
  • Digital-Punk.co.uk
    Avatar
    Community Member
    51 Posts

    Has anyone gotten weight based shipping to work? Link to this post

    Has anyone gotten weight based shipping to work?

    It looks like you need to use an array to pass the weight and price values, however there is no example code that demonstrates how it should be done?

    /**
    * Calculates the shipping cost of an order, by taking the products
    * and calculating the shipping weight, based on an array set in _config
    * ASSUMPTION: The total order weight can be at maximum the last item
    * in the $shippingCosts array.
    */

    Any clues / ideas?

    Thanks in advance

    576 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.