Skip to main content

Posts

Showing posts from April, 2014

Create Page layout in WCS 7.0

Page layouts are arguably  one  of the best features to be introduced into WebSphere Commerce. They allow the marketing staff to quickly change or schedule the layout for page types or the entire site with a few basic steps. What has to be done today is a developer has to create the page layout first – which will not be the case in a future release (more to come on that later). So what are the steps and skills needed to create a new template? The good news is the code is extremely well structured and easy to follow. If this is all new to you, you should check out  this PDF  to learn about layouts and widgets. The Aurora store provides modular UI widgets that can be plugged into store pages. These UI widgets are independent, self-contained entities ( IEA ). A page layout is a store page created for a particular layout type such as a category page, product page, or home page. A page layout has widgets associated with it and each widget has a set of configurable properties that can

Creating Shipping XML in WCS 7.0

Creating shipping assets using an XML file Create your shipping assets in the format of XML files that can be loaded into the database using the loading utilities. If you are creating a globalized store, you may want to create separate XML files for each locale your store supports. The locale-specific file should specify all description information, so it can be easily translated. About this task The starter stores, from which many of the examples in these tasks are taken, use one  shipping.xml  file for all information that does not need to be translated, and another  shipping.xml  file for each locale the store supports, for the information that needs to be translated. The locale-specific files contain all the description information, so it can be easily translated. To create shipping assets for your store using an XML file: Procedure Create an XML file that follows the wcs.dtd file. The DTD file is located in the following directory: WC_installdir /schema/xml  

Understanding the WCS Calculation framework at a high level

The idea of calculation framework starts off with understanding of two main concepts: Calusage and Calmethod. CALUSAGE_ID DESCRIPTION -1 Discount -2 Shipping -3 Sales Tax -4 Shipping Tax -5 Coupon -6 Surcharge -7 Shipping Adjustment -8 Installment Adjustment List of Task Application Initialization Combination Qualification Calculation Summation Finalization                      General flow of calculation methods The general flow of calculation methods, when they are used as part of the order process, is as follows: 1.      InitializeCalculationUsage 2.      ApplyCalculationUsage calls: a.      CalculationCodeCombine calls:                                        i.          CalculationCodeQualify b.      CalculationCodeCalculate calls:                                        i.          CalculationRuleCombine calls: