Build a product listing base with products in a given category. You will gain knowledge about APIs relevant to efficient loading of products and categories from Ucommerce, as well as dealing with prices and simple discounts.
UCommerce.EntitiesV2.ProductPrimaryImageMediaIdThumbnailImageMediaIdUCommerce.Runtime SiteContext.Current.CatalogContext CurrentCatalog CurrentCategoryUCommerce.Api CatalogLibrary.GetProducts(category)UCommerce.Extensions Product.DynamicProperty() Product.DisplayName() Product.ShortDescription() Product.LongDescription()UCommerce Money
In the MasterClassCategoryController, map the Products property on the CategoryViewModel to hold the list of products in CurrentCategory.
Display product images using Umbraco APIs.Does the ProductViewModel contain enough fields to do so or do you need to add extra fields?
{{lineitem.VariantName}} - {{lineitem.Quantity}} x {{lineitem.FormattedPrice}} {{lineitem.FormattedPrice}}