Navigating the vast seas of product searches in B2B and B2C marketplaces can be quite a headache, especially with loads of data from various suppliers. It’s tough for marketplaces to tweak supplier info without spending a fortune, yet when searches go awry, customers tend to blame the marketplace, not the suppliers. My new article suggests a slick new way to cut through the clutter—think product families, not just standalone products. This isn’t just about tidying up; it’s about making the search experience smoother and more intuitive for everyone involved. Let’s dive into why the old way of doing things—splitting catalogs into neat categories and individual products—just doesn’t cut it for big, diverse inventories. Take electronics and clothes: sorting shirts by color and size is straightforward, but try categorizing gadgets that way and you’re in for a real challenge. The game-changer here could be switching to a product families model, which groups related products together under one big family umbrella. This approach keeps things organized and makes shopping easier, which is exactly what we need for a smoother, more customer-friendly search process in our digital storefronts.

The Part I of this topic is about Product Families as an extension of the Variant Products concept.

Read More »

An incremental load is a form of ETL (Extract, Transform, Load) process that involves transferring only the data that has been altered since the last loading session. This approach is both more efficient and quicker than performing a full load because it minimizes the volume of data that needs to be moved and processed. 

However, implementing an incremental load necessitates mechanisms for recognizing and monitoring modifications in the source data, using methods like timestamps, flags, or versioning. Additionally, it must effectively manage issues like conflicts and duplications, for instance, when a single record undergoes multiple updates.

In this article I am focusing on my experience in implementing the optimized data loader integrated into the target system which was SAP Commerce. Simply put, it handles duplicates and minimizes the number of unnecessary database writes. 

Read More »

Imagine a world where an AI system not only listens but observes, constantly collecting data unless explicitly told not to. This “exoskeleton for the brain” is not just a tool but a transformative extension of human capability, enhancing efficiency and decision-making in everyday tasks. For some, this raises alarms about privacy and the potential for misuse in a society already wary of data overreach. Yet, the real question lingers: how will such capabilities shape the way we live, work, and interact not just with technology but with each other?

As we stand on the brink of making these integrations a reality, it’s important to consider not only the current implications but also the generational shift that might come with it. The youth of today, growing up with AI as a norm rather than an addition, might view this integration as indispensable—melding their cognitive functions with artificial intelligence to an extent previously unimagined. This narrative isn’t just about the technology we create but also about the human experiences and societal structures that will evolve with it. Dive into the full discussion to explore the profound shifts looming on the horizon.

Read More »

When exploring any topic, I tend to focus more on limitations than on capabilities. This is because capabilities are widely promoted—everything from documentation to marketing materials talks about them. But limitations have to be gathered bit by bit.

When I interview developers, I often ask not about what can be done with the e-commerce platform but about what cannot be done easily or what is difficult or what is expensive to implement. Such questions significantly better reveal the potential and capabilities of a candidate.

And now, having recently delved into CommerceTools, I make notes in the process of studying the documentation about what is missing or what requires more serious investment of effort and time than it may seem.

In this article, I share these notes.

Read More »

In this article, I want to share an interesting experience. It has nothing to do with SAP Commerce and might even be unrelated to eCommerce, but it could be useful for Solution Architects when tackling a task similar to mine. And the task was interesting.

It was a huge Excel file for generating estimates for B2B customers. A manager entered a bunch of parameters according to customers’ needs and get a printable quote. This Excel spreadsheet was really old, already about ten years old, and all these ten years, different people have been adjusting it, correcting it, adding formulas and constants. Basically, almost nobody knew how it worked in all details. All this evolved into a dozen tabs, each filled with numerous formulas. And these formulas refer to similar formulas from the adjacent tabs. It has almost a thousand formulas, mostly complex. How to untangle this knot?

There was no documentation, but even if there had been, where is the guarantee that the documentation fully matches the Excel file? After all, if it doesn’t match, finding the root causes of the discrepancies will be very difficult. Since the Excel file is the source of truth, it basically is the documentation.

These are the kinds of problems I love. In the article, you’ll find the solution and, believe me, it’s very non-trivial.

Read More »
Search Analytics: Testing and Monitoring eCommerce Search

In this article, I want to talk about my experience with how to make a website or online store search more responsive to business requirements and user expectations.

It’s common to give too much attention to technical issues, especially now, with the advent of machine learning/AI in this field. But more often than not, the deepest problems are on the surface and their solution is much simpler than a functional refinement.

One of the main challenges in managing e-сommerce websites is ensuring the product search feature works effectively. Imagine this: you notice an issue with how products are being found through search, and you decide to fix it by tweaking some settings. However, altering these settings could unexpectedly impact your business. When we talk about something being ‘broken’, it’s not just about error messages popping up. Rather, it could mean that customers are having a harder time finding what they want, which might lead to fewer sales over time. This is a subtle effect that can spread across your entire platform. But how do you pinpoint the exact cause of such a decline? Testing and monitoring changes in an ecommerce environment are complex because even small modifications can have wide-ranging effects on customer behavior and, consequently, sales performance.

To monitor changes, it’s essential to understand what to collect and how to extract data from the gathered information. Specifically, for e-commerce search, there are no good ready-made monitoring tools available, but there are various DIY kits that address some needs. Such tools suggest collecting and analyzing search results for reference queries and visualizing changes over time. However, this approach falls short in many respects. For instance, it only covers the most frequent queries.

When it comes to modernizing site search, there’s a big question about whether this is done from scratch or if it’s possible to use accumulated data from existing sessions. Developing from scratch is always a risk—because any assumptions you have about how users will search for content may be wrong. Therefore, regardless of how good the first version of the search turned out to be, it will need to be revised and reworked many times.

Today, I want to share the approach that I have used in several projects. I call it Search Analytics. Read More »

SAP Commerce Cloud’s modular DTO generation system, while robust, sometimes falls short for developers seeking advanced customization, such as specific annotations or dynamic DTO generation strategies. The solution? An underexplored, undocumented hints mechanism that offers a deeper level of customization by allowing the injection of custom logic into DTO generation.

This mechanism represents a significant opportunity for those looking to push beyond the platform’s standard capabilities, offering a pathway to tailor DTO generation precisely. However, navigating this feature requires insight into SAP Commerce Cloud’s DTO generation mechanism, including custom post-processors and XML configuration parsing.

Our article serves as a guide for developers eager to explore this advanced customization layer, detailing the steps to effectively utilize the hints mechanism without delving into the technical complexities here. Discover how to harness the full power of undocumented hints for your DTO customization needs in SAP Commerce Cloud by exploring our comprehensive exploration.

Read More »

A number of customers have been talking about the upgrade policies defined by SAP for SAP Commerce Cloud and the Composable Storefront. I mentioned the upgrades last year in the hybrismart.com article.

Historically, since I first met hybris 4 in 2009 I have seen clients who did not upgrade their versions of SAP Commerce for years. However, that all changes with latest policy SAP have with the CCV2 environment. 

These policies require that the merchant needs to keep on top of the upgrades which are currently being issued each month and therefore factor those upgrades into their development, testing and release cycles. Each release of SAP Commerce and the Composable Storefront has a 6 month validity period after which the release cannot be deployed.

A key question being asked is how onerous is this upgrading process ? and how often ?  There are usually two views: 1) the “little and often” approach, a view also recommended by SAP, that upgrades should be factored frequently; 2) the “if it isn’t broke don’t fix it” approach where we have seen examples SAP Commerce version they use has passed its long term support date.

In the end, it comes down to priorities and costs and we have experienced upgrade projects taking months because the version being upgraded from is quite old. 

In order to get a tangible view of the current upgrading of both SAP Commerce and the Composable Storefront I decided to undertake some sample upgrades on a local version I run. For those who are interested, I use an Oracle VirtualBox VM Debian guest running in a Windows 11 host).  I have traditionally built SAP Commerce using the various out-of-the-box recipes and accelerators using the instructions published by SAP. To an extent, what I am doing probably reflects what many project teams have undertaken, in that someone needs to undertake the “upgrade” user story  and share with their team.

In this article you will find the detailed walk-through.

Read More »
Back in March I wrote about how SAP had released Spartacus 5 in November 2022. I covered how it had been released as a commercial entity and I had analysed the release policy and then estimated that it would make sense for SAP to update the Composable Storefront package to use a newer version of Node.js during 2023 for ensuring a longer term support prospect.

I was partly correct – but I had underestimated what would happen !. In fact as of end-November 2023, there have been 9 releases of the Composable Storefront since 5.0, now being released on an almost monthly basis, and there have been 12 update releases of SAP Commerce Cloud itself, now in the form of the “Continuous Innovation” releases 2211.x, and at time of writing to 2211 updated to release 2211.15 and also released on an almost monthly basis.

I suspect that between the time I write this, and the time you read that at least one more release of Composable storefront and Commerce Cloud will have been released. In this article, I will share some important updates on this topic. Read More »

Discover ‘fsdumpviewer’, a practical utility designed for developers and system administrators. This tool streamlines the process of comparing and synchronizing filesystem snapshots across different computers in a semi-manual manner. Especially it is important for the folders with the huge number of files and with the bulky files. Since we’re dealing with a blog about SAP Commerce, we can apply this to a local SAP Commerce installation that isn’t under version control. Key features include visualizing file hierarchies from standard directory listing commands – like midnight commander’s, highlighting discrepancies in file size, permissions, and checksums, and creating scripts for efficient file synchronization or archiving. Whether you’re dealing with project synchronization, system integrity checks, or selective file sharing, ‘fsdumpviewer’ offers a clear, interactive approach to finding solutions for your needs. Read More »
Our article explores a solution used by EPAM for the customer from the retail optical industry, where thousands of products require precise price calculations. The conventional SAP Commerce approach, using a database-backed cart, proved time-consuming, platform-overloading, and inefficient for that specific case. To address these challenges, a new approach was devised: the InMemoryCart solution. This capability is a part of SAP Commerce, yet surprisingly, it remains underutilized and relatively obscure. Unlike the regular Cart, InMemoryCart doesn’t rely on the database but on the memory user session bound object, JaloSession. This innovative solution helped to overcome the complexities and achieve the required level of performance of the pricing calculation process, significantly improving efficiency and page loading times. By shifting the promotional calculations to InMemoryCart, while customers still interact with a regular Cart, this solution has yielded remarkable results, including shortening calculation times on Product Details Pages (PDP) to as low as 100 milliseconds and achieving consistent results for bundles configurator. Read More »
Welcome back! Time has flown by since that first commit to the Plugin repository back in October 2022. With each new day and line of code, the Plugin has evolved, becoming a powerful tool for SAP Commerce developers.

In this article, we’re diving into the features that have emerged between versions 2023.1.1 and 2023.2.7 of the Plugin. No need for elaborate words, let’s get straight to the highlights:

  • Project Import 2.0: An upgraded import process with automatic database integration and improved module management.
  • Kotlin Integration: Now supporting Kotlin language seamlessly, making development smoother.
  • CCv2 Enhancements: New icons and seamless module imports for CCv2. Improved HAC cluster support, OCC enhancements, and better Groovy script management.
  • FlexibleSearch 2.0: A revamped FlexibleSearch language with new icons, folding, and improved formatting.
  • Type System Evolution: Fresh icons for various types and relations, and a diagramming experience for Type System in Intellij IDEA Ultimate.
  • Business Process Refinements: Better code completion, custom language injections, and enhanced scripting support for business processes.
  • ImpEx Power-ups: Improved code completion, macro handling, and sld.enabled modifier support for ImpEx files.
  • Bean System Mastery: New icons, code completion, and reference enhancements for beans, with conversion possibilities on the horizon.
  • User Rights 2.0: Revamped User Rights support in ImpEx files, making management more intuitive.
And that’s just the tip of the iceberg! Dive into the Plugin’s GitHub repository, contribute, and embrace the future of SAP Commerce development. Stay tuned for more updates and improvements as we continue this journey together! Read More »
In my previous article on the Intellij IDEA Plugin (“Plugin”), I described the huge leap forward of the free & open-source SAP Commerce Developers Toolset Intellij IDEA Plugin, documenting myriad of new features, enhancements, and fixes. This article continues the story and will cover changes included in the next version 2023.1.

The article highlights improvements such as:

  • API Usage: How JetBrains’s latest batch of deprecated APIs impacts the plugin.
  • SAP Commerce in the Public Cloud (CCv2): Dive into the new features simplifying developers’ lives, including the addition of code contributions based on JSON schema.
  • SAP Data Hub on CCv2: Explore the complexities and solutions offered for projects utilizing SAP Data Hub.
  • JavaScript Storefront: The essential tools and updates for developers working in the SAP Public Cloud.
  • Type System: Discover the new usability improvements in preview mode and items.xml.
  • ImpEx & FlexibleSearch: Understand the nuances and tweaks in action group displays and custom icons.
  • Cockpit NG System: From commons to the business process, take a look at the new references added.
  • Extension Info: Dive deep into the added extras for extensioninfo.xml.

…and a plethora of other essential updates, adjustments, and fixes to ensure smoother, more efficient operations for SAP Commerce developers.

Read More »

In the previous part, we discussed the importance of redundancy and failover in a cluster setup and introduced JGroups as a crucial component of SAP Commerce Cloud for distributed messaging and eventing. In this part, we will delve deeper into troubleshooting common issues that arise with JGroups in SAP Commerce.

In this article, we will explore troubleshooting tips for common issues related to JGroups in SAP Commerce. We will discuss how to address data inconsistencies, handle dynamic IPs and membership discovery, and effectively monitor the cluster.

It is important to highlight that these recommendations were formulated and tested for the on-premise, self-hosted SAP Commerce. This setup is now rare, as many SAP Commerce projects have already been migrated to the cloud. In the cloud setup, such challenges may never be your concern, as they fall under the responsibility of SAP CCV2 support engineers. However, understanding the limitations and constraints will still help you build the solution correctly.

Read More »
It has been over three years since Mykyta Kostiuk published his article that launched the SAP Commerce Developers Toolset IDEA Plugin (“Plugin”) as EPAM’s “give back” to the Hybris community. EPAM has been providing continuous support to the Plugin, ensuring its compatibility with each IDEA release, enabling developers to work seamlessly on SAP Commerce (Hybris) & SAP Commerce Cloud. In this article, Mykhailo Lytvyn shares the latest updates following the active development that began in October 2022. You will find a comprehensive overview of the changes made to the Plugin from version v2022.2 to v2022.3.1, along with upcoming plans and ideas for the future. Read More »
SAP Commerce Data Models in Memory. Part I. What does the IDE Debugger give you?

This article focuses on how SAP Commerce stores models in memory, which is a vast topic. To begin with, we will explore a relatively simple aspect, such as the unusual structure that appears in the debugger when trying to view the contents of any SAP Commerce model. We will also discuss how to access all the object properties contained within it.

Read More »
This article contains an overview of the latest updates in SAP Commerce Cloud, version 2211. The update is only available for SAP Commerce Cloud in the Public Cloud and cannot be used for On-Prem or other non-SAP managed infrastructures/servers. The update includes deprecating the accelerator storefront and related addon extensions and introducing the SAP Commerce Cloud, Composable Storefront based on the Spartacus open-source project. The article goes on to detail the improvements made in Backoffice and SmartEdit, CMS, B2B Commerce as well as other features such as audit logging and HTTP session failover in the platform module, improvements in the yForms module, and new product recommendations in Intelligent Selling Services for SAP Commerce Cloud.  Read More »
For those who have been following the development progress of Spartacus, the Angular/Node.js front-end to Commerce Cloud, you may have followed the roadmap information on the SAP GitHub Spartacus repository documentation pages. For many months during 2022 the roadmap statements indicated that release 5 would be towards the end of 2022 comprising a number of user experience and feature improvements, architecture improvements including the need to upgrade the underlying technologies such as the Angular framework. However, I was a bit surprised (and I suspect other readers also) when SAP announced:
  • stopping support on the previous Spartcus versions (4.x);
  • that Version 5 would be only available within an authenticated policy to SAP partners / customers; and
  • Spartacus is renamed to Composable Commerce.
I will explore each of these areas in more detail in this article.
Read More »
I have been discussing where the merchants have multiple instances of SAP-Commerce (hybris) and they want their non-production environments to be “more representative” of the production environment in terms of the data. In the previous part of this article, I looked at the rationale of why data migration is important and a number of various initiatives that have supported this over the years. In this part, I look at the areas of data for migration and the necessary concerns to consider when data is migrated.

Read More »
I want to focus on a requirement I have met on several projects over the years where the merchant has multiple instances of SAP-Commerce (hybris) and they want their non-production environments to be “more representative” of the production environment in terms of the data.

Many merchants have 3 such environments typically defined as development, staging and production and as time passes by, the production environment receives multiple BAU changes to core data areas such as web content, products/categories/classifications undertaken by merchandising teams or product management and of course a lot of data is generated through customer registrations and orders placed.

However, the non-production environments are frequently not kept in line in terms of web content, product data or representation in terms of quantities of customers or orders.  I’m not referring here to the code and core configuration related data that is included in builds.
Read More »

Taking advantage of back-in-stock notifications, customers are informed that a product they were interested in recently has become available again. Alternatively, a customer may want to get subscribed to the product price updates and get notified when the price drops on a product. 

As a result, customers are more likely to return to make a purchase. These two features are often considered as must-have for almost any marketplace solution. 

Their implementation and design are also considered to be quick and easy. In fact, it is not so — there are many points for consideration easy to miss in the design phase. In this article, I focus on the potential pitfalls and best practices in implementing “Back-in-stock notifications” and “Price drop alerts”.  Read More »

A Look Into the 2205 SAP Commerce Cloud Release
SAP have been consistent with the major releases in recent years. SAP Commerce version 2205 has landed exactly a year after the scheduled release date of 2105, although 2105 was several weeks later than planned. In this article from Tejaskumar Patel, you will know about the key additions and improvements. Read More »
Recently, our team successfully completed a CCv1 (SAP private cloud) to CCv2 (public cloud on Microsoft Azure) SAP Commerce Cloud (Hybris) migration project for one of our manufacturing customers. Though this was not a new experience for EPAM in general, there are always new things to be learned as unique circumstances, customizations, configurations, etc. generate new problems & challenges to solve. In this article, we summarize the lessons learned and obstacles encountered. Read More »
End-to-End Test Automation: Why Was It Worth to Write Our Custom Framework

There are dozens, even hundreds of test automation frameworks available, and we developed our own. Why? Why? Was it worth the effort? 

This article describes our needs and our solution, E2E CLI: the architecture of the API testing tool which has been used by our team for about 2 years. Back in 2020, it was developed by me from scratch over the course of a weekend — In other words, it is a very simple piece based on very simple ideas. That first version was supporting 80% of the functionality available today in the last version (and described below). We don’t add features without good reason.

We use this tool to end-to-end test all our services and integration flows. Whenever we make changes to a software system, we need to ensure that they do not break what was already working.

As the architect and lead developer, I designed and developed it from the ground up, so, of course, I am very proud of my brainchild. But the field cannot be well seen from within the field. You know, reinventing wheels is not always bad. When you build something on your own, you are in full control over what is being built, what its purpose will be, and when it is finally conceived and executed as you wish. It has been two years since I have encountered any alternative to our solution. 

To reach a wider audience, I found it beneficial to share key concepts hoping to get some feedback from the community and enhance the product.

Technically, the tool has nothing to do with SAP Commerce; it’s for testing. However, our entire team, which uses this tool daily, is focused mainly on SAP Commerce development. And the tool is tailored to be used with SAP Commerce.

While the client (for whose benefit the tool is being used) has authorized me to share high-level details, I cannot disclose names or code. In spite of this, the conceptual view should be useful on its own and might become a good foundation for your own solution.

Read More »
In solidarity, we ask that you consider financially supporting the organizations below: EPAM’s Global Partners for the Ukraine Humanitarian Crisis   Read More »
Shopping Cart in SAP Commerce: Performance, Architecture, Pitfalls, Testing

A shopping cart is the centerpiece of almost every e-commerce website.

In fact, this component is the first thing that makes an e-commerce store different from just an online catalog. Working with issues and challenges related to the cart is something you’ll never forget. 

The Russian novelist Leo Tolstoy, at the opening of his novel Anna Karenina, writes ‘All Happy families resemble one another, but each unhappy family is unhappy in its own way.’ You know, the diversity of cart-related issues I have been observing in the SAP Commerce projects, made me think that Tolstoy meant the developers as well. The diversity of the issues and challenges in this component is so vast that every case is different. However, when it comes to building or optimizing the shopping cart processes, understanding the limitations,  pitfalls, and peculiarities is a huge plus. 

Let’s have a look at how a shopping cart works in SAP Commerce under the hood and how to avoid making mistakes in shopping cart customization.

Read More »

It all started with the idea of making the built-in flexible search console more convenient for a developer. It is common to find ourselves forgetting the name of an attribute or its type. Imagine my surprise when I found the traces of this feature in the HAC source code. SAP left them unfinished and probably abandoned. For example, for the Impex console, suggestions are basically implemented and almost ready, but for some reason, they have not been finished and not enabled.

In this article, I’m filling this gap and document how to enable autosuggestions in the Impex console. Additionally, I introduce my custom solution for Flexible Search suggestions and autocomplete. Read More »

SAP Commerce released version 2011 of Commerce Cloud. As usual, the version number refers to November 2020. How big is this update? Should we rush with the upgrade? What new will the update of the platform bring you?  Read More »
Today I am sharing three great open source projects:
  • FlexibleSearch builder (Java Library),
  • HAC VCS Info (extension),
  • jHac (a console app for automating HAC operations).
  • Read More »
    In this article, we’re going to continue on the recent theme on using native SQL in SAP Commerce.

    The essentials were thoroughly explained in the first part of the series. Since the topic is controversial and should be used with caution, we highly recommend reading the introductory part before going further with this piece.

    You need to be aware of the potential risks, limitations, pitfalls, and caveats of the  ORM engine. In this work, we are explaining those details. We’d like to touch upon a few elements or aspects, you need to take into account when considering using native SQL in your SAP Commerce code. In this part you will learn more about the SAP Commerce L1 cache, multitenancy aspects, service layer direct, and performing faster bulk updates.

    Read More »

    Come take a look into the v2005 release of SAP Commerce Cloud. I’ll cover cool and interesting new features, enhancements, and changes, and offer some commentary on what I like and what I like… less. Judge for yourself what SAP did well and what might warrant some extra polish.

    Read More »
    Being at Crossroads, Take a Perspective View
    I often interview strong Java developers who were offered a move to SAP Commerce. What I see regularly is uncertainty and sometimes reluctance to learn SAP Commerce.

    Some say they believe they won’t be able to use the knowledge and experience anywhere else in their careers.

    Some of them see this move as ‘boxing’ themselves in. 

    It is generally believed that focusing on the niche product may cause taking a lot of time in the future to get re-trained for a different product or technology if the current market conditions change and SAP Commerce will fade in relevance and popularity. Proprietary platforms come and go, and developers feel afraid to find themselves with useless knowledge and meaningless experience. 

    Even though I generally share the view and arguments above, I also believe that SAP Commerce is a special case. What I want to leave you, then, is with the explanation of why I think so. 

    Read More »
    On May 19th, 2020, Forrester released their Forrester Waves™ for B2C Commerce Suites and B2B Commerce Suites. Find out how SAP Commerce Cloud (Hybris) fared. Would you score it the same?
    Read More »
    In today’s article, we talk about things normally considered as controversial and inapplicable. We explain the techniques on how to bypass the Commerce Cloud ORM layer and directly interact with database tables to provide faster reads and writes. This article explains how to do it and how to do it properly if using direct database access is the best solution for the task. When is it the best solution and what things you need to take into account if you decide to go this way? Read More »
    In a continuation of my previous research article on insights into the usage history of various SAP Commerce Cloud (Hybris) versions over a period of years, let’s see how the recent release of SAP Commerce Cloud v2005 impacts my previous commentary. Read More »
    This research article takes a look at the usage history of various SAP Commerce Cloud (Hybris) versions over a period of years, garnering insights into how the ecosystem of SAP Commerce Cloud (Hybris) solution owners react and respond to new releases and if/how they opt to upgrade to those newer versions. Will these insights match your expectations & experiences? Read More »
    This quick post is about how to troubleshoot issues with Cronjob, specifically on the situation when a cronjob is not started. Read More »
    Product data integration is an essential component of almost all e-commerce solutions. For large and frequently updated catalogs, there are common challenges related to concurrent data modifications. In this article, I explain one of them: how to update the products and categories in a safe and reliable manner. Read More »
    If you need to create complex behavior from the simulated virtual users in the load test, the built-in capabilities of out-of-the-shelf products may not be sufficient. For example, parsing output formats from an API response to create the formatted inputs for an API request may be difficult for a particular load testing tool, but a quick and easy exercise for a high-level programming language.One of the possible ways is using designated libraries to write our own simple load generator from scratch. For our project, this approach has proven to be a faster and reliable way to address the concurrency issues in the SAP Commerce Cloud custom code.  In this article, we explain how to write a load generator from scratch with Python.  Read More »

    When the coronavirus outbreak happened in China, it boosted local e-commerce as many stuck at their homes forced to buy their goods online. Sales of fresh food on JD.com reportedly jumped 215% during the 10-day period and counting. The ability to serve a large number of customers is growing every year. The traffic may be doubled in a week. How to make sure your system is capable to serve high traffic demand? In today’s article I’m sharing my experience with Tsung, a high-performance testing framework.

    Read More »

    The SAP Commerce Cloud APIs are highly customizable, and even smallest changes in configuration, data model or Java code may result in performance degradation. Performance testing is especially important in cases where concurrency may be the source of the problem. To recognize and fix such issues timely, it is recommended to perform regular performance testing, ideally integrated into the build and deployment pipelines. This article is devoted to Apache JMeter, one of the well-known tools for automated (and) performance testing.

    Read More »

    Any SAP Commerce Cloud setup is based on a multi-server setup organized as web cluster. This product comes with clustering support out of the box since very early versions. However, many years in a row, it is still one of the most challenging topics. 

    JGroups is an essential component of SAP Commerce Cloud. It is widely used as an embedded solution for distributed messaging and eventing in the cluster. It is hard to say that it is underdocumented or it has some quirks that nobody knows how to encounter. However, almost every large project stumbles with JGroups. This article is aimed to shed some light on the internals of the SAP Commerce Cloud clustering and JGroups.  

    Read More »

    SAP Commerce developers everywhere face the problem speed of building/restarting hybris. Probably everyone knows this is a long time waiting for the project to build and waiting for the server to start. In cases when the developer makes frequent changes in the code and wants to see the result immediately, the work is significantly slowed down. Many developers use JRebel and similar tools, but unfortunately, they are not suitable for everyone and don’t work for a number of cases. This article explains how to make the compile time shorter.

    Read More »
    SAP CPQ (Configure, Price, Quote) is a cloud-based unified system for sales configuration and a part of SAP C/4HANA suite. As businesses grow, to be more and more customer-centric and sales management process gets complicated. We have obtained the SAP CPQ certification and acquired the demo stand. In this article, we share an overview of SAP CPQ technical capability based on our experience. Read More »
    Product Content Hub: A Beginner's Guide to New SaaS PIM from SAP

    Product data is a core of e-commerce and integral part of the customer experience and customer journey. The well-organized product data drives customer acquisition, sales and eventually results in the increasing lifetime value of a customer.

    SAP has recently announced a new SaaS offering, SAP Product Content Hub, a cloud-based solution for product and information management (PIM). The new product relies on the SaaS model only.

    In this article, I’m basically just going to give a little bit of an introduction to what SAP Product Content Hub is as well as shed some light on what is under the hood in terms of architecture and customizability. Read More »

    What content management system you use is of a much higher importance today than it was years ago. Today’s CMS needs to contend with a multi-device world with a wide variety of tablets, mobiles, laptops, and be architecturally ready for new not-yet-existing channels in the consumer’s universe, such as AR/VR and the Internet of Things.

    A CMS typically consists of a frontend part, or a «head», and backend. The headless CMS, as their name says, don’t stick to a single predefined “head”. Theoretically, you can develop your own if it is good for your case. Another name for headless CMS is API-first because this interaction is based on APIs.  

    For example, the old hybris CMS Cockpit had both parts built with ZK Framework, which orchestrates both the HTML/Javascript “head” and was the essential part of the CMS backend. These parts were tightly connected and intertwined into a single unit called CMS Cockpit.  Later, SAP announced Smartedit, which has been a big bet and a quantum leap for Commerce Cloud’s content management. Spartacus, the open-source Javascript storefront from SAP, well complemented Smartedit. I published the comprehensive reviews of both products in the blog earlier.

    There are a number of headless content management systems that are mature enough to efficiently replace the built-in Smartedit CMS. Among them, I would highlight Contentful, Prismic, DotCMS, Cloud CMS, Amplience, and Contentstack as well-established and innovative products with a clear roadmap and good integration capabilities.

    One of my recent research projects was aimed at using Contentstack as a headless content management system for SAP Commerce Cloud. This article uncovers the key highlights of the research.  As a result of that work, I also created a data migration tool for moving existing CMS content from Commerce Cloud to Contentstack.  

    What is Contentstack? Contentstack is a SaaS headless CMS with an API-first approach that offers the approach known as Content-as-a-Service. It focuses on managing structured content into data feeds that other applications, such as Commerce Cloud, can consume. You can design a content data model interactively or via the Contentstack API and populate the structures with the content interactively or via the same API.

    In this article, I pay special attention to the data migration from Commerce Cloud’s CMS to Contentstack. This exercise helped me to see the complexity in all its glory. Because when you design a system from scratch, you can evade the platform’s constraints by designing the structures compatible only with the new CMS. When you need to migrate data, you have to find a solution on how to adapt concepts and data models to get them compatible with Commerce Cloud.


    Read More »
    Payments: A look Inside the Black Box

    Payments is a critical part of any e-commerce system. Integrating with a new payment processor is often full of unknowns for developers, and the documentation is either too cumbersome and time-consuming or, on the contrary, scanty and, to the extent it is available, tends to focus only on technical details.

    The aim of this article is to provide a primer on the key concepts and terminology of online card payments as well as shed some light on the payment integration and related complexities. It provides brief context on the payment system and key regulatory principles and best practices you need to know before designing and implementing the payment module. We also covered the oft-forgotten edge cases you need to handle for large e-commerce solutions. You will learn what to expect and how to address the payment-related issues and problems. Read More »
    In this article, we would introduce “SAP Commerce Developers Toolset” as a free open-source solution for IntelliJ IDEA IDE. Read More »
    The Challenges of Chinese and Japanese Searching
    Today I want to talk about tailoring website search functionality for Chinese and Japanese languages.  When it comes to entering “the East”, companies often face many challenges they could not have experienced before. Everything is different in China and Japan including the way how websites are built and how the users interact with them. In this article, I will cover one aspect of these challenges: how to adapt product/content search to work with Japanese and Chinese languages.  Read More »
    SAP Commerce Data Hub is an ETL integration platform introduced by SAP back in September 2014 as part of Hybris 5.3. Today it is being decommissioned because of better alternatives but many are still using it and may benefit from these insights. In this article, I am going to dissect Data Hub and turn it inside out. It is more or less a post-mortem at this point but for those who are still using Data Hub, it may be a good complement to the official documentation. I must say that nobody liked Datahub despite all the efforts being made by SAP. I think we’ve put up with it for too long. It was the only SAP-aware integration platform that comes with Hybris/SAP Commerce, and later SAP Commerce which was recommended by the vendor for master and transactional data replication. Read More »
    There are different ways to integrate SAP Commerce Cloud with SAP and non-SAP systems. The choice would depend upon the capabilities and limitations of the systems involved. These are related to the integration interfaces, data formats, extensibility, cost of changes, strategic plans and many other factors. Right now we are facing to a kind of uncertainty because one solution, SAP Commerce Data Hub, is declared retiring, and another, Cloud Platform Integration, is defined as strategic and developing that may create an impression that the product is immature and in beta (it is not so!). In fact, SAP Cloud Platform Integration is not too young as many from SAP Commerce/Hybris community think. The platform has been continuously evolving since June 2013. It went by another name, SAP HANA Cloud Integration (SAP HCI). The product was renamed at the beginning of 2017 as part of a general rebranding of SAP’s cloud offering. In 2018, SAP SCPI started showing up in the context of Commerce projects. In this article, I want to address the most common myths and objections associated with this product and explain the fundamental concepts behind the solution. Read More »
    I updated the upgrade map for SAP hybris Commerce. Using this reference you’ll be able to find a list of the capabilities you get if you upgrade your platform from the version X to the version Y, grouped by topic…. Read More »
    Back in 2016, EPAM released an Eclipse plugin that makes it easier for developers to work with SAP Commerce code. It was released in January 2017. Recently we introduced a second version of the plugin. In this article, Maxim Bilohay, one of the plugin developers, describes new features and improvements. Read More »
    Today SAP officially released a new version of SAP Commerce Cloud, 1905. “05” stands for “May”, today is 30th, so SAP barely made it on time. What is new? Read More »
    Authentication with Hardware Security Keys and WebAuthn in SAP Commerce Cloud
    In this article, I give a technical overview of hardware security key based authentication and take you through a worked example of SAP Commerce and hardware security key integration. Read More »
    Document-level access control ensures that the search results have only those products that a logged customer is authorized to see. This is a common request for B2B solutions with a large and sophisticated product and customer models. Many manufacturers and suppliers want to provide exclusive or restrictive access to products for particular partners. Such an approach reduces the number of incorrect or incomplete orders and makes navigation easier. In this article, we are discussing in detail how to support product whitelisting/blacklisting per customer in SAP Commerce Cloud for large product sets and large customer base. We also present our solution and possible alternatives. The tests showed that the solution is capable to process millions of documents, tens thousands of customers and millions of access rules saying what product is blacklisted/whitelisted for what customer. Read More »
    Takeaways from SAP SAPPHIRE NOW AND CX LIVE 2019
    Last week, the 30th annual SAP SAPPHIRE NOW conference took place March 7-9 in sunny Orlando, FL. This year, it was three in one: SAPPHIRE NOW, ASUG conference and CX LIVE. All three brought no fewer than 30,000 attendees to the Orlando’s Orange County Convention Center. More than 2400 sessions were held during the three days, spread throughout more than 1,5 million square feet of exhibition space, meeting rooms and halls. For those of you who didn’t make it to SAPPHIRE NOW and CX LIVE, I’ve pulled together key takeaways from both. Read More »
    When it comes to your overall website usability and providing good user-experience to your site visitors, the login component plays a very important role. This article explains how it should be built to provide the best customer experience. I am focusing on how to implement login forms and authentication process in the e-commerce systems built on top of SAP Commerce Cloud, but general recommendations and findings are applicable for other platforms too. Read More »
    Will you be attending the SAPPHIRE or SAP CX Live events in Orlando next week? As usual, I am highlighting some of the sessions seem interesting to me and hopefully to you also, the reader. Read More »
    Non-product content management has for many years been the weakest link of the SAP Commerce platform. Formally, the suite had a WCMS module from the very first version, but it was obvious to everybody that the solution was terribly old-fashioned and outdated. Already back in 2016, SAP Hybris Commerce was extended with a new solution, SmartEdit. On the one hand, SAP released it too early. Many commented that the product is underbaked to replace WCMS Cockpit. Even two years later, Smartedit had drawn much criticism from the users and developers. On the other hand, it was long overdue. We had been waiting for a replacement for years. In the search of the truth, in 2018, I was examining Smartedit in detail and shared the findings here on Hybrismart. There hasn’t been a lot of water under the bridge since 2018, but the situation with Smartedit has taken a definite turn for the better. However, being a “non-mandatory” component during two years, it was generally ignored by the community. After all, why should we use Smartedit if there is a good old WCMS Cockpit, time-tested and proven, albeit with known issues and poor customizability? This is why only a small percentage of developers are aware of Smartedit from the technical perspective. I hope this article will help them to move forward. Read More »
    Merging Carts When A Customer Logs In: Problems, Solutions and Recommendations
    When an anonymous customer has a non-empty cart and wants to log in, what shopping cart should they see? The question is about what should happen to the items in the account-linked carts versus the items in the anonymous carts. There are different options, and some of them come with SAP Commerce Cloud. In this article, I will review the existing implementations and propose a new one to consider as a possible alternative. Also, you will see why the merging cart strategy implemented in SAP Commerce Cloud requires additional optimization for high traffic and large volume websites. Read More »
    Come take a look into the 1811 release. We’ll cover cool and interesting new features, enhancements, and changes, and offer some commentary on what we like and what we like… less. Judge for yourself what SAP did well and what might warrant some extra polish. Read More »
    Autocomplete, Live Search Suggestions, and Autocorrection: Best Practice Design Patterns
    In the various sources, the terms like Autocomplete and Suggestions are not defined clearly. They turned out to be too wide to avoid confusion when defining design patterns and software requirements. The customers use the wrong terms in the RFPs, the partners try to use the RFP language and mix that with their own terminology. In this article, I review these topics in depth. Read More »
    Have you ever thought about a top 3 things you wanted to change in the platform? I guess Ant would hit almost 100% of your made-up lists. This article outlines details about an offline project done by a group of EPAM’s hybris enthusiasts who made a great step forward with migration from Ant to Maven as a primary build system for a platform. We are the ones who work with SAP Commerce Cloud day to day. Are we the ones who can help improve platform for the best? Read More »