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.GetShippingMethod(shipmentName = null)
UCommerce.EntitiesV2
Shipment
ShippingMethod
GetPriceForCurrency(currency)
UCommerce
Money(amount, currency)
Find the “ShippingController” The method Index() renders the “Views/ShippingMethods.cshtml” view. Map the shippingmethods available into the viewmodel.
TransactionLibrary.CreateShipment(
shippingMehtodId,
addressName = null,
overwritingExisting = true)
TransactionLibrary.ExecuteBasketPipeline()
In the POST method of your ShippingController you need to create a new shipment based on selected shippingmethod.
{{lineitem.VariantName}} - {{lineitem.Quantity}} x {{lineitem.FormattedPrice}} {{lineitem.FormattedPrice}}