Checkout - Update Basket

Display available shipping methods for the customer to select. Shipping methods can be filtered on the store and country level.

 


Relevant APIs

UCommerce.Api
TransactionLibrary.UpdateLineItem(orderLineId, quantity)
TransactionLibrary.ExecuteBasketPipeline()
MarketingLibrary.AddVoucherCode(voucherCode)

Hands-on

In the POST method in your MasterClassBasketController, update each line item with either the new quantity or remove it if the user clicks the remove button. Execute the basket pipeline so the order is kept up-to-date.

You can read more about pipelines here:

http://docs.ucommerce.net/ucommerce/v6.8/getting-started/transaction-foundation/pipelines-explained.html

{{lineitem.ProductName}}

{{lineitem.VariantName}} - {{lineitem.Quantity}} x {{lineitem.FormattedPrice}} {{lineitem.FormattedPrice}}

Your cart is empty ;(
Total {{basket.FormattedProductsTotal}}
Checkout