Posts

Showing posts from February, 2025

Extensions in SAP Commerce [Hybris]

Image
In this article, I will explain in details about the extensions in SAP Commerce and demonstrate how to create our own custom extension using ant extgen command. SAP Commerce has a modular architecture, where new business logic is developed in a separate, function specific modules called extensions. Extension in SAP Commerce is very similar to project in Java. An extension contains business logic, type definitions, back-office configurations and some configuration files like xml, properties and etc. SAP Commerce ships with a number of template extensions and we can use ant  extgen for generating new extensions based on these template extensions. Every extension in Hybris contains one important file called extensioninfo.xml file which contains information about extension name, extension module and its dependencies.  To make any custom as template extension using below meta tag: <meta key=’extgen-template-extension’ value=’true’/> Create a New Extension: Creating a new e...