Click or drag to resize

ShoppingCartServiceAddProduct(IProduct, IPrice, Decimal) Method

Adds a product to the shopping cart with a specific price, bypassing NetForum's price selection mechanism

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public void AddProduct(
	IProduct product,
	IPrice price,
	decimal qty
)

Parameters

product  IProduct
Product to add to the shopping cart
price  IPrice
Specific price to be used when adding the product to the shopping cart
qty  Decimal
Quantity of the product to add to the shopping cart
See Also