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.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public void AddProduct(
IProduct product,
IPrice price,
decimal qty
)
Public Sub AddProduct (
product As IProduct,
price As IPrice,
qty As Decimal
)
public:
virtual void AddProduct(
IProduct^ product,
IPrice^ price,
Decimal qty
) sealed
abstract AddProduct :
product : IProduct *
price : IPrice *
qty : decimal -> unit
override AddProduct :
product : IProduct *
price : IPrice *
qty : decimal -> unit
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