Posts

eSpots and cSpots

eSpots(e-Marketing Spots) ESpots are specific defined areas on a JSP page whose content can be dynamically configured based on rules. eSpots reserve space on your store pages in which content displays. Use for marketing activity. Add emaiil activity (send promotional mails for selected group in specified time), web activity(start,end date,priority,status). For calling e-marketing spot use below jsp < c : import url="${jspStoreDir}include/eMarketingSpotDisplay.jsp"> < / c:import> c-Spots (Content Spot ) -atleast one content is mandatory - -can be scheduled with start/end date -call the content spot name in jsp to display the attached content For calling c-spot use below jsp < c:import url="../Snippets/Marketing/Content/ContentSpotDisplay.jsp"> < c: param name="spotName" value="mycontent1" /> < c:param name="substitutionValues" value="{spotname},${spotName}"/> < c:param name=&
AJAX sample implementation for WebSphere Commerce Assuming the following design requirements: The AJAX handler will be /AjaxPPTGiftCardsBalanceEnquiry The command to serve the AJAX request will be com.ibm.commerce.payment.commands.ajax.DoPPTGiftCardsBalanceEnquiryCmd The equivalent implementation class will be com.ibm.commerce.payment.commands.ajax.DoPPTGiftCardsBalanceEnquiryCmImpl The store id is 10003 The AJAX request is required during checkout process and will be added to “OrderSummaryDisplay.jspf” The AJAX call is used to verify GiftCard numbers along with their pin High level implementation is shown in code snippets below with place holders on where to add your implementation Follow the steps below to add an AJAX call to your site: Add the following lines of code to OrderSummaryDisplay.jspf It is important not to forget the call to e.preventDefault() or you will end up refreshing the whole page. < form name = &quo

Order Management Module - Different ways of invoking functionality

With WebSphere Commerce feature pack 4 onward,  we now have three variations of invoking the Order Management URL's. Lets look at each of them and when and how to use them considering the performance. 1.   Struts Actions invoking WebSphere Commerce Command. Invoke the struts Action configured to a Websphere commerce command, either using the HTTP/HTTPS and passing the request parameters using a GET or a POST method. Ex: OrderItemAdd action invoking the OrderItemAdd command.           <action             parameter="com.ibm.commerce.orderitems.commands.OrderItemAddCmd"             path="/OrderItemAdd" type="com.ibm.commerce.struts.BaseAction">             <set-property property="https" value="0:1"/>             <set-property property="authenticate" value="0:0"/>         </action>        Request:  https://localhost/....../OrderItemAdd?catEntryId-123&<othe
Cleaning Up WebSphere Commerce Databases In the IBM Rochester lab, the Business Solutions Test (BST) team has implemented IBM's WebSphere Commerce in several of its customer-like scenarios. While doing so, the BST team discovered the importance of the Clean WCS Database (CLNWCSDB) command. Here, I'll explain how to use the command for both WebSphere Commerce Suite Version 5.1 (WCS V5.1) and WebSphere Commerce Version V5.4. Cleaning up unnecessary data in a WebSphere Commerce site can improve performance, decrease the amount of storage needed to host the WebSphere Commerce site, and decrease the amount of time required to do future upgrades and migrations. A number of different tables can be cleaned up, and this cleanup can be done on an individual basis, depending on the needs of the site. If rows need to be deleted from a WebSphere Commerce database, it is important to use the CLNWCSDB command in order to properly handle constraints.   CLNWCSDB works in conjunction

WebSphere Commerce V7.0 Feature Pack 6 has been released

WebSphere Commerce V7.0 Feature Pack 6 , the   announcement   was released on the IBM site a few days ago, but today it is finally available in the IBM software catalog. What’s new? New features available with WebSphere Commerce Version V7.0 Feature Pack 6 include dynamic merchandising, starter store enhancements, and enhancements to business user tools, the Data Load utility, WebSphere Commerce search, and store preview. ·          Improved capabilities to help ensure the most relevant products are offered when shoppers conduct a search ·          The ability to better target shoppers with recommendations based on their current search or navigation point ·          The ability to help business users make changes more easily to catalogs, marketing, and promotions Features: The   mobile integration   has taken a big step forward by using the IBM Worklight platform. There is a reference hybrid Android application included which I’m very excited to take a look at. I’m ve