ShoppingCartServiceAddProduct(IProduct, IPrice, Decimal) Method

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

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
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