Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

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, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

shipping modifier by region


Go to End


2 Posts   1968 Views

Avatar
keeny

Community Member, 48 Posts

8 April 2009 at 9:48am

Hi guys,

I’d like to add shipping on a per region basis (within new Zealand) not on a country basis and am looking for advice on how to tackle this.

I thought I'd start by creating a ShippingModifier extends OrderModifier and this would contain a list of region codes. Auckland, Wellington, etc.

Then I'd need to add a drop down field to the checkout page so the user can choose their region. When this changes I'd need to update the order total.

Does this sound like the right approach? Any and all help or advice welcome.

Thanks so much,

Barry.

Avatar
wainui

Community Member, 56 Posts

14 December 2010 at 2:35pm

Trying to do the same thing... any tips on how you went about this?