November Happy Hour will be moved to Thursday December 5th.

WeightJurisdictionGateway and ZipCode

Vote:
 

EPiServer 9.12.2

EPiServer Commerce 9.16.0

I'm finding the documentation for shipping not very helpful.

https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-Commerce/9/Shipping/Shipping-gateways-and-providers/

We want to get a different price for Juristiction (ZipCode only) but I can't get to to work.

When implementing a WeightJurisdictionGateway for the default country we only get the base price.

We use code similar to this page:

https://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2016/12/get-shipping-fee-based-on-weight-of-order/

Any ideas?

#190130
Apr 03, 2018 10:54
Vote:
 

I might be missing something, but you can build a table yourself. Something like this

Weight   ZipCode Price

1           12356    10

2           12356    15

1           22222    5

2           22222    10

which would be much easier for your requirements 

#190147
Apr 03, 2018 16:05
Vote:
 

Ok. Does that mean implementing our own IShippingGateway?

I get that we need to "create" our ShippingRate and set all relevant values.

#190171
Edited, Apr 04, 2018 8:51
Vote:
 

Yes!

#190172
Apr 04, 2018 8:57
Vote:
 

Ok thanks. Will try it that way :)

#190173
Apr 04, 2018 8:59
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.