IList<OrderItem> CreateForProduct( int productId, int quantity, string optionList, string kitList )
Parameters
- productId
- The id of the product to add.
- quantity
- The quantity of the product to add.
- optionList
- List of option choice ids if this is a variant
- kitList
- List of kit products if it is a Kit
Return Value
The order items that would result from the addition of the given product to an order