In a nutshell, an entity in Sitecore Commerce is a business concept that is encapsulated in a POCO class that inherits from the Commerce Entity base class, and is persisted with a unique identifier associated to it.
As an example, have a look at the default Commerce Cart Entity:
Sitecore Commerce 8.2.1 is the first step in building a next generation e-commerce platform. I’ve already explored pricing and promotions. Underpinning all of this functionality is Sitecore’s trump card- the Commerce Engine, which is based on a microservices architecture and is built entirely in .NET Core.
The Commerce Engine has been designed to allow external entities to seamlessly interact with it through an OData RESTful web service.
There are three main APIs based on the type of role they perform:
As you know, most Sitecore functionality is built on, extended and customized through pipelines and processors. You are already accustomed to configuring pipelines through config files by defining the type of pipeline, your custom processors and processor sequence.
In Sitecore Commerce Engine, pipelines are configured through code instead of config files. Pipelines consist of blocks which are essentially a class that implements the desired functionality (more on that in a separate post).
When customizing pipelines, you need to determine where to insert your block(s). In order to do that, you need to know the existing pipeline configuration and block sequence…
I hope you’re now an an expert at pricing using the Pricing & Promotions module in Sitecore Commerce 8.2.1. Now that you have the first piece of the puzzle in place, let’s have a look at the the second one- Promotions.
Promotions in Sitecore Commerce allow you to provide certain benefits and/or discounts to your customers with multiple levels of granularity.
A promotion can be applied to either the product level or to the cart.
Let’s setup some promotions to demonstrate this functionality.
A Promotion Book is a collection of promotions, and similar to a Price Book, can be…
While recently developing a custom Commerce Engine plugin in Sitecore Commerce 8.2.1, I noticed that the engine was not producing any log files. The usual location (CommerceEngine\wwwroot\logs) had no signs of the runtime logs (files of the format SCF.*.txt), and only had Node Configuration logs.
So you’ve set up your product templates in Commerce Server, synced them up to Sitecore Commerce, and finally set up some products in the Merchandising Manager. You see a field for list price on your products, a section for pricing, and a magical ‘Price Card’ dropdown . Price what?
Price Cards, in a nutshell, are a way to create date/time based snapshots of product Sell Price that may be applied to a single item or multiple sellable items.
A collection of Price Cards forms a Price Book. Price Books, along with Promotion Books (which will be covered in another…
As soon as I heard Sitecore 9 was out, I immediately jumped on to set it up. In order to use Analytics, Sitecore requires SSL enabled Solr. The installation experience was mostly painless using the new Sitecore Installation Framework (more on that in a separate post). However, I did notice that setting up Solr with SSL took some time. To save you the hassle, here’s a simple step-by-step guide on how to go about it.
Download solr-6.6.2 and unzip to C:\Program Files\solr-6.6.2\:
Make sure you have JRE installed. If not download from:
We will use the JDK…