Display available shipping methods for the customer to select. Shipping methods can be filtered on the store and country level.
UCommerce.Api TransactionLibrary.GetShippingInformation() TransactionLibrary.GetShippingMethods(country = null) TransactionLibrary.GetShippingMetw3hod(shipmentName = null) UCommerce.EntitiesV2 Shipment ShippingMethod GetPriceForCurrency(currency) UCommerce Money(amount, currency)
Navigate to “Shipment.aspx.cs”. The method Page_Load loads the available shipment methods and populates Shipment.aspx.
UCommerce.Api TransactionLibrary.CreateShipment( shippingMehtodId, addressName = null, overwritingExisting = true) TransactionLibrary.ExecuteBasketPipeline()
In the eventhandler of the “Continue to payment”-button on the shipment page, create a new shipment based on selected shippingmethod.
{{lineitem.VariantName}} - {{lineitem.Quantity}} x {{lineitem.FormattedPrice}} {{lineitem.FormattedPrice}}