Share via


CreateProduct Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates a root product in the catalog.

Overload List

  Name Description
ms986592.pubmethod(en-US,CS.70).gif CreateProduct(String, String) Creates a root product in the catalog with the specified Product definition and product identifier. The product is created with a List Price =0.
ms986592.pubmethod(en-US,CS.70).gif CreateProduct(String, String, Decimal) Creates a root product in the catalog with the specified Product definition, product identifier, and List Price.
ms986592.pubmethod(en-US,CS.70).gif CreateProduct(String, String, Decimal, String) Creates a root product in the catalog with the specified Product definition, product identifier, List price, and parent category name.
ms986592.pubmethod(en-US,CS.70).gif CreateProduct(String, String, Decimal, String, String) Creates a root product in the catalog with the specified Product definition, product identifier, List price, parent category name, and the display name for the product.
ms986592.pubmethod(en-US,CS.70).gif CreateProduct(String, String, Decimal, String, String, Decimal, StockStatus, Decimal) Creates a root product in the catalog with the specified Product definition, product identifier, List price, parent category name, the display name for the product and adds inventory information for the product.

Top

Remarks

Use this method to create a new product within the catalog according to the specified parameters.

See Also

Reference

BaseCatalog Class

BaseCatalog Members

Microsoft.CommerceServer.Catalog Namespace