Customizing ElasticSearch in HCL Commerce: A Comprehensive Guide with Examples

Introduction: ElasticSearch is a powerful search engine used in various applications, including HCL Commerce. With its rich features and scalability, ElasticSearch enhances the search capabilities of HCL Commerce by providing fast and accurate results. In this blog post, we will explore how to customize ElasticSearch in HCL Commerce, allowing you to tailor the search experience 

Continue Reading →

A Technical Guide to Creating a Payment Plugin in HCL Commerce/WCS

Introduction: HCL Commerce is a powerful e-commerce platform that offers extensive customization options. One crucial aspect of any e-commerce website is payment gateway integration. In this technical guide, we will walk you through the process of creating a payment plugin in HCL Commerce, enabling seamless integration with a custom payment gateway. Step 1: Understand HCL 

Continue Reading →

StringUtils.isNotEmpty() VS StringUtils.isNotBlank() in WCS

StringUtils.isNotEmpty() StringUtils.isNotEmpty() is used to find if the String is not empty/String is length 0 and not null. Example:StringUtils.isNotEmpty(null)      = falseStringUtils.isNotEmpty(“”)         = falseStringUtils.isNotEmpty(” “)       = trueStringUtils.isNotEmpty(”  lol  “) = trueStringUtils.isNotEmpty(“lol”)     = true StringUtils.isNotBlank() StringUtils.isNotBlank() takes it a step forward. It not only checks if the 

Continue Reading →

What is data bean, access bean, session bean and entity bean in wcs

Data beans: Data beans implement one or all of the following Java interfaces: com.ibm.commerce.SmartDataBean com.ibm.commerce.CommandDataBean com.ibm.commerce.InputDataBean (optional) Instantiating databean in JSP Instantiating databean in Java Access Beans: Access beans are wrappers over the entity beans. Finding data by primary key Using a refreshcopyhelper method Do not need to use the refreshCopyHelper() if we are using 

Continue Reading →