Posts

Showing posts from 2015

Websphere Commerce Member Subsystem

Websphere Commerce Member Subsystem Organization Structure B2C Direct Business Model B2C Direct Business model consist of root organization, default organization and seller organization. Root organization and Default organization are created during instance creation. Seller organization and B2C organization are created during store publish process. B2C Organization Structure Root organization All organizations in the business become child of the root organization. Default organization All of the online users are owned by the default organization. The default organization is a child of the Root Organization. Seller organization A seller organization is created to own all the stores (Retailer) B2C organization A B2C organization owns a single store (Retailer). B2B Direct Model B2B Direct Business model consist of root organization, default organization, seller organization and buyer organization. Root organization and Default organization are created during instance

Contracts

Using Contracts for eCommerce in Websphere Commerce As per the request from one of the comments on the blog, this is a high level view on contracts using Websphere commerce and by no means a complete coverage of contracts as it's such a vast topic. Contracts: This is one of the most interesting concepts when dealing with both B2B and B2C eCommerce systems. Every store published out of the box is associated with a default contract. Lot of clients use contracts on B2C site, if the requirements for a B2C site include using contracts or employment purchase programs using contracts. It is a best practice to use EliteStoreFront or if you are still using V 6.0 (Advance B2B). Why are contracts required? These are good reasons. 1. If you want to use the same offer price lists as your regular customers but provide a percentage or fixed amount off of the same prices to a subset of customers such as Employees or Students. 2. If you want include or exclude a set of categories or product

Handel _ERR_INVALID_COOKIE(Cookie) error on Login and Redirect it to another page

Open : Stores\WebContent\GenericSystemError.jsp Search for key : _ERR_INVALID_COOKIE try {       ErrorDataBean errorBean = new ErrorDataBean ();       com.ibm.commerce.beans.DataBeanManager.activate (errorBean, request);       if (errorBean.getMessageKey().equals("_ERR_INVALID_COOKIE"))       {                   Cookie cookies [] = request.getCookies ();                   Cookie myCookie = null;                   if (cookies != null){                   System.out.println ("Cookies Issue");                         for (int i = 0; i < cookies.length; i++) {                               if (cookies [i].getName().equals ("WC_USERACTIVITY")) {                                     myCookie = cookies[i];                                     break;                               }                         }                   }                   if (myCookie != null)                   {                   System.out.println ("Cookies Issu

Catalog Filters with Contracts

How to create catalog filters and also mapping them with Contracts. ftp://ftp.software.ibm.com/software/iea/content/com.ibm.iea.wcs/wcs/7.0.0.2/BusinessUI/CatalogFilterOverview.pdf

WebSphere Commerce REST API

Best link for parameters details : http://www-01.ibm.com/support/knowledgecenter/SSZLC2_7.0.0/com.ibm.commerce.starterstores.doc/concepts/cwvrestapi.htm?lang=en

Dojo Refresh handler

1.  Create a refreshable div of dojo <div dojoType="wc.widget.RefreshArea" id="MiniShoppingCart" widgetId="MiniShoppingCart" controllerId="MiniShoppingCartController" onmouseover="showMiniShopCartDropDown('placeHolder','quick_cart_container','orderItemsList');" role="wairole:region" waistate:live="polite" waistate:atomic="true" waistate:relevant="all"> <%out.flush();%> <c:import url="${jspStoreDir}include/MiniShopCartDisplay.jsp">  <%-- variables come from HeaderDisplay.jspf --%>   <c:param name="storeId" value="${param.storeId}"/> <c:param name="catalogId" value="${param.catalogId}"/> <c:param name="langId" value="${param.langId}"/> </c:import> <%out.flush();%>

WebSphere tools port.

WebSphere tools port. WebSphere Commerce tool Field Default port number WebSphere Commerce Accelerator WC Accelerator Port 8000 Administration Console WC Admin Port 8002 Organization Administration Console WC OrgAdmin Port 8004 WebSphere Commerce Preview WC Preview port 8006 WebSphere Commerce Preview WC Preview port 8007 Search Preview Servlet Search preview servlet port 3738 (SSL)

CSV worksheets for catalog data

CSV worksheets for catalog data http://www-01.ibm.com/support/knowledgecenter/api/content/SSZLC2_7.0.0/com.ibm.commerce.user.doc/refs/rcacsvdata.htm?locale=en Sample worksheets attribute.csv attributeValue.csv category.csv categoryDescription.csv categoryProductRelation.csv categoryRelation.csv product.csv productDescription.csv price.csv 1. attribute.csv The attribute worksheet information maps to the ATTRIBUTE database table and contains the following fields: parentPartNumber The foreign key to the product's part number. languageId The language that this attribute pertains to. Available language components are: -1 = US English -2 = French -3 = German -4 = Italian -5 = Spanish -6 = Brazilian Portuguese -7 = Simplified Chinese -8 = Traditional Chinese -9 = Korean -10 = Japanese attributeType The type of attribute: FLOAT, INTEGER, or STRING. attributeName The name of the attribute. description A description of the attribute. descriptio

Websphere Commerce Data Load using CSV \Websphere Commerce Data Load using XML

Websphere Commerce Data Load using CSV \Websphere Commerce Data Load using XML Data can be loaded into WCS tables using data load utility. Data load utility works in the steps as mentioned below. 1.Data Reader The data reader reads the input file, and transforms the input into a data object. Data objects are typically map objects. Eg: CSV data reader \XML Data Reader 2.Business Object Builder The business object builder instantiates the business object and populates it from the data in the data object. Eg:The table object builder 3. Business Object Mediator The business object mediator converts the business object into physical object. The table object mediator is always used with the table object builder. Eg: table-based mediator 4. Data Writer The data writer writes the physical object into the database. This tutorial uses the default data writer to write the generated physical objects into the database. There are three configurations files and a i

Websphere Commerce Catalog Subsystem

  Websphere Commerce Catalog Subsystem The Catalog Subsystem contains all logic and data relevant to an online catalog, including catalog groups (or categories), catalog entries, and any associations or relationships among them.    Master Catalog It is the single catalog that contains all products, items, relationships, and standard prices for everything that is for sale in your store. Every store in the Web Sphere Commerce system must have a master catalog. It is possible to share the master catalog across stores. Master Catalog Restrictions 1)The master catalog must be a proper tree, which means that there are no cycles. e.g.The parent category "Women" has a subcategory "WomenDress". It is important that WomenDress and any of WomenDress's subcategories like tops,jeans etc are not the parent category of "Women" category. 2)A catalog entry or category cannot belong to multiple parent categories in the master catalog. To place a