Posted on November 23rd, 2015 by Nirmal Hota
Microsoft Commerce Server makes use of web services to perform the e-commerce business transactions as well as other associated functionality along with the inventory and marketing. There are mainly 4 webservices as follows: 1. Catalog Webservice – Responsible for the Products and inventory management 2. Marketing Webservice-Resposible for the management of advertisements,discounts etc 3. Order […]
Posted on November 23rd, 2015 by Smruti Sahoo
The PurchaseOrderManager is a sealed class and used to retrieve and store the PurchaseOrder object in Commerce Server. This class has a method named SearchPurchaseOrders() which takes two parameters to search the Purchase Orders existing in Commerce Server and returns it as a DataSet. Parameters taken by this method: 1. SearchClause:– Specifies the conditions that […]
Posted on November 23rd, 2015 by Smruti Sahoo
The Catalog schema consists of metadata like definitions for Products, properties and categories stored in the site’s product catalog database. Commerce Server Catalog System provides a set of APIs to manage catalog schema for your e-commerce site. By using this we can create definitions of property, category and product. We can also update the properties. […]
Posted on November 23rd, 2015 by Nirmal Hota
This tip demonstrates how to format a cart at runtime and calculate the total (including discount amount) in MS Commerce Server. The steps are: Step 1: Create a new basket. For Example: Basket newBasket=OrderManager.GetBasket(Guid.NewGuid()); Step 2 : Add lineitems to the cart. For example: CommerceServerLineItem csLineItem = new CommerceServerLineItem(); csLineItem.ProductId =”1″; csLineItem.ProductCatalog = “Catalog”; csLineItem.ProductCategory […]
Posted on November 23rd, 2015 by v
This tip explains how to search for products in any catalog of CatalogManager by using free text as search criteria. The following method demonstrates it. Note: We can perform FreeTextSearch on those Properties only whose freeTextSearchable property is set to TRUE. This method returns a DataSet with all the informations of the Products as results […]
Posted on November 23rd, 2015 by Smruti Sahoo
To place the Products in CatalogManager we need a BaseCatalog. Once we have a catalog schema defined for e-commerce site then we can add actual data in form of BaseCatalogs, VirtualCatalogs, Categories, Products etc. To Create a BaseCatalog we need to provide the values to some of the parameters by calling the CreateBaseCatalog() method using […]