Dynamicweb 8 Documentation
CreateOrderLine(Product) Method

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

Parameters

product
The product.

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