Shipping Range/Rate Providers
Dynamic shipping rate providers in Umbraco Commerce.
Shipping Rate Range Provider
System Shipping Rate Ranger Providers
Custom Shipping Rate Range Providers
[ShippingRateRangeProvider("myunit",
EditorUiAlias: "MyProject.PropertyEditor.MyRangeUnit",
SortOrder: 30)]
public class MyShippingRateRangeProvider : ShippingRateRangeProvider<decimal?>
{
public override Task<Attempt<int>> TryFindRangeIndexAsync(ShippingRateRangeCalculationContext<decimal?> ctx)
{
// Use the ctx.Ranges property to find the index that that ctx.Order falls within
// return Attempt.Succeed(index);
}
}Registering your custom Shipping Rate Range Provider
Localizing your Shipping Rate Range Provider
Key
Description
Shipping Rate Provider
System Shipping Rate Providers
Custom Shipping Rate Providers
Registering your custom Shipping Rate Provider
Localizing your Shipping Rate Range Provider
Key
Description
Last updated
Was this helpful?