How to Write Your First Cron Job with SAP Hybris Commerce?

Cron Jobs play an important role in any software development project. Cron Jobs allow developers and system administrators to create automated tasks responsible for running programming jobs in off-hours, or on a consistent schedule. In my mind, all developers should have the ability to create Cron Jobs that run important, automated tasks when needed. In this tutorial, I will walk you through the basics of creating a Cron Job with SAP Hybris Commerce. If you haven't noticed already, I like to use Groovy scripts in my tutorials. For the following reasons, they are easy to write and easy to deploy. …

How to Evaluate Your SAP Hybris Commerce Pre Go-Live Readiness?

This tutorial will help assist with your SAP Hybris Commerce go-live readiness plan. As you near your go-live date, it's helpful to ensure your Hybris implementation team has properly configured the local.properties file for production usage. This tutorial will help validate that performance, security and configuration best practices have been implemented in your local.properties file. At the heart of this tutorial is a Groovy script developed to automate the verification of performance, security and configuration best practices for any Hybris Commerce implementation. Normally well-seasoned SAP Hybris Commerce consultants are required to verify proper configuration settings have been established, but after …

How to Export Orders Using an ImpEx with a Date Filter?

Hi Everyone, This is a quick, but hopefully helpful, how-to tutorial. In this tutorial, you will learn the syntax to export orders using an Impex with a date filter. The following ImpEx Syntax will export orders after 2018-12-20. Of course, you can modify this date for your specific reporting needs. "#% impex.setTargetFile( ""Order.csv"" , true );" insert_update Order; pk[unique=true]; code ; creationtime "#% impex.exportItemsFlexibleSearch(""select {o.pk}, {o.code}, {o.creationtime} from {Order as o} where {o.creationtime} > '2018-12-20 10:10:00.0'"");" To execute the ImpEx: 1. Log into HAC 2, Once logged into HAC,  from the main menu, go to Console -> ImpEx Export then copy …

How to Configure the Order Number Range in SAP Hybris Commerce Using Groovy

If you haven't noticed already, I leverage Groovy quite a bit to configure SAP Hybris Commerce. Groovy can also be used to programatically re-define the Hybris Commerce's order number range. The OOTB Hybris order number seed value starts at zero (0), which means the first order in Hybris will normally begin at order number one (1), unless you redefine the keygen.order.code.start property in the local.properties file. There are are certain circumstances when we need to re-define the order number range dynamically, in particular for testing purposes. This tutorial will demonstrate how to configure SAP Hybris Commerce's default order number range using …

Thank You!! Thank You!!

I started the HybrisArchitect.com blog in early 2017. One of the primary reasons that I started this blog was to improve my own SAP Hybris Commerce knowledge, and in turn help those who needed assistance with their own Hybris learning journey. A year later, I am overwhelmed with gratitude with the number of visitors that have frequented HybrisArchitect.com! On a typical day, HybrisArchitect.com averages around 100 unique visitors. To date, visitors from over 90 countries have visited this "our" Hybris Commerce blog! Take a quick glance at the Google Analytics Visitor Map below to learn where our Hybris colleagues live …

How To Configure SAP Hybris Commerce to Cache Static Assets Locally Using the Browser Cache?

There are many techniques to improve the performance of SAP Hybris Commerce, but there is one (simple) client-side technique that should not be overlooked any SAP Hybris Commerce project. With Out-of-the-Box "OOTB" SAP Hybris Commerce, static files (JavaScript, CSS, images) are stored and served from the /_ui/ directory. In the project.properties, there is an important property called storefront.staticResourceFilter.response.header.Cache-Control  With OOTB Hybris Commerce, this property is set to: storefront.staticResourceFilter.response.header.Cache-Control=no-cache,must-revalidate Which is ideal for development purposes, since we want to minimize caching of any sort during development. However, as your SAP Hybris Commerce implementation is nearing its go-live deployment date, it's important to …

Video Tutorial (Premium Content): How do you add a new attribute to an existing item type in SAP Hybris Commerce?

Premium (Paid) Content Available Nine minutes of step-by-step video training Order Create Impex File used in the video Premium support by the author Register below to access premium content Register New Account Log in if you wish to renew an existing subscription. Username Email First Name Last Name Password Password Again Choose your subscription level How do you add a new attribute to an existing item type in SAP Hybris Commerce? (Video) - $19.99 -  1 Year Your paid access is valid for 1 year. Auto Renew

How do you add a new attribute to an existing item type in SAP Hybris Commerce?

With SAP Hybris Commerce, it’s very simple to add a new attribute to an existing item type. If you are new to Hybris Commerce, you might be asking yourself (rightfully so), what does this actually mean? I will give you an example, in Hybris OOTB the Order (item type) does not contain an IP Address (attribute). From an e-commerce perspective, it’s prudent to save the IP Address used by the customer as he or she places the order. In this tutorial, we will solve this problem by creating a new attribute ( the IP Address) for an existing item type …

How to Send E-Mails From Hybris Commerce Using Google Mail (Video Edition)

Hi Everyone, This article contains the step-by-step video tutorial for the previous blog article: https://hybrisarchitect.com/how-to-send-e-mails-from-hybris-commerce-using-google-mail/ Personally speaking, videos tutorials vastly improve my learning comprehension. Please let me know what you think of this Hybris Commerce video. Warm Regards, Marc Raygoza  

How to Send E-Mails From Hybris Commerce Using Google Mail?

At a recent client engagement, the client asked to review the Hybris Commerce Out-of-the-Box (OOTB) email templates' copy early in the project. During this engagement, I worked off-site on most days, and could not reliably access the client's SMTP Server to send emails from Hybris. In this situation, I decided to use my Gmail account to send Hybris emails to the client directly. In this tutorial, I will demonstrate how to send emails from Hybris Commerce using Google Mail (Gmail). Prerequisites: To complete this tutorial, you will need a Google Mail (Gmail) account. Note: Hybris Commerce 6.x OOTB has SMTP …