ShoppingCartService.SetShippingMethod Method

Sets the shipping method to be used for shippable items within the shopping cart. Replaces any and all previously set shipping methods. To add an additional shipping method, without replacing existing ones, use AddShippingMethod(ShippingMethod).

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public void SetShippingMethod(
	ShippingMethod shippingMethod
)

Parameters

shippingMethod  ShippingMethod
The shipping method to use

Remarks

If a shipping method has already been set, this will replace it.

See Also