Dynamicweb 8 Documentation
CreateOrderLine(Product,Double) Method

The product.
The quantity.
Adds a new OrderLine to the OrderLineCollection of this Order based on the given Dynamicweb.eCommerce.Products.Product. The Products DefaultUnit is used.
Syntax
'Declaration
 
Public Overloads Function CreateOrderLine( _ 
   ByVal product As Product, _ 
   ByVal quantity As Double _ 
) As OrderLine
public OrderLine CreateOrderLine( 
   Product product,
   double quantity 
)

Parameters

product
The product.
quantity
The quantity.

Return Value

The OrderLine that was added to the Order.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Order Class
Order Members
Overload List

Send Feedback