Sitecore Commerce Plugin to leverage Sitecore Personalization Rules Engine


Personalization is one of the key challenges for many Businesses as customers are nowadays looking for more than just an online store. They are looking for a personalized experience.

Sitecore offers a rule-based personalization engine that enables you to deliver targeted content to your visitors based on several criteria such as Dates, Geo-Localization, Browsing Behavior, Personas.

For more information on Sitecore Personalization : https://doc.sitecore.com/users/90/sitecore-experience-platform/en/personalizing-components.html

But what if you want your personalization to go beyond content and control product information itself, such as Pricing, Images, Inventory? This plugin was built to unlock this possibility.

The plugin i'm describing in this blog post, will help you achieve that.

The idea of this plugin consists in 3 simple steps:

  1. For targeted products, create a new variant and assign a personalization Id. ('Personalization Id' is an extension to the Variant Entity provided by this plugin).
  2. Create/Duplicate ProductList and/or ProductVariants DataSources and assign same Personalization Id as Step 1. (Templates were extended with 'Personalization Id' and package is provided with this plugin).
  3. Personalize PLP and/or PDP components by adding new Personalization Rules that will show specific DataSources created previously.

In this post i'll walk you through a usage example where i will enable a Discount Price on a product, only when used in the context of a Sitecore Campaign.

Expected Result:

While opening the Product detail page in a regular context, the page would display like below. As you can see the regular price is displayed.

 

No Campaign

 

When coming from a campaign context, the same Product detail page would look like below. As you can see, a discount is being applied.

Campaign

 

Configuration Steps:

Step 1: Create a campaign using Sitecore Campaign Creator : https://doc.sitecore.com/users/91/sitecore-experience-platform/en/the-campaign-creator.html

Step 2: Select product(s) targeted by your campaign and create new variants for personalization:

1-Create a new Entity Version at the SellableItem level.

2-Create a new Variant and copy values from existing Variant or from Parent Sellable Item.

3-Add a Personalization ID with a Live Date and Expiry Date.

 

Variant Personalization

4- If your intention is to attach a discount to the campaign, add a Price Card to the newly created variant to reflect that.

 

Variant Price Card

Step 3: Add personalization Id to Data Source:

Packages installed with this plugin provide a new Data Source template '/sitecore/templates/Feature/Commerce Experience Accelerator/Catalog/Datasource/Personalization' to be used with 'Product Price' Rendering.

For this example, you need to create a new Data Source from 'Personalization' template and use same Personalization Id used in BizFx.

 

 

Personalization Data Source

 

Step 4: Create Personalization Rule:

Select Personalization rule and associate with Data Source created earlier as shown below.

 

Personalization Rules

 

Reporting:

This plugin includes a new report that allows you to measure your personalization efficiency as shown below:

 

Report

 

Conclusion:

  • This plugin extends Sitecore Commerce Engine with ‘Variant Personalization’ Component.
  • It also Extends Sitecore Commerce SXA Pipelines with the logic for filtering the Variants based on Personalization.
  • It adds a ‘Personalization’ Report to Experience Analytics, to provide insights on Personalization usage and efficiency.
  • It can easily be integrated with your project and customized if needed to meet your specific requirements.
  • Check Github repo for Installation Steps and more information: https://github.com/XCentium/Leveraging-Sitecore-Personalization-Rules-in-Sitecore-Commerce

 

 

View more blogs and tutorials about Sitecore Commerce

 

Learn about our Sitecore Commerce work

SEARCH ARTICLES

CATEGORIES

Sitecore 144
Commerce 100
Web Development 100
Sitecore Commerce 83
Sitecore Experience Commerce 9 64
Sitecore Experience Commerce 59
Content Management 55
eCommerce 48
B2B eCommerce 42
Sitecore Experience Platform 39
Sitecore Platinum Partner 39
Architecture 34
Insite 29
User Experience 26
Strategy 22
B2C eCommerce 21
B2B Commerce Blogs 21
commerceconnect 21
CloudCraze 20
SaaS (Software as a Service) 20
Cloud 17
Commerce Server 17
Salesforce B2B Commerce Cloud 16
Mobile 13
Search 13
Plugins 12
Analytics 12
Application Development 12
Digital Transformation 11
Sitecore Symposium 11
SPEAK 10
Helix 10
DMS 8
Social 8
Business Process 7
Authentication 7
5 Reasons 7
BI and Big Data 6
Data Visualization 6
Sitecore Presentation 6
Coveo 6
NET Development 5
Microsoft Azure 5
Automation 5
Front-End Development 4
SaaS (Software as a Service) 4
Digital Strategy 4
Brightcove 4
Press Release 4
Avalara Tax 3
Sitecore Experience Accelerator (SXA) 3
Sitecore Layouts 3
Video 3
SPE 3
Multi-site 3
Multi-lingual 3
Accessibility 3
Habitat 3
Vault 3
Identity 2
Managed Services 2
CDN 2
SMB 2
Cryptocurrency 2
Sitecore Forms 2
Sitecore Experience Commerce 9 Promotions 2
Uncategorized 2
EXM 2
Conversational Commerce 2
Sitecore SaaS 2
Security 2
Unit Testing 2
Headless Architecture 2
Sitecore Experience Awards 2
Google 1
Content Delivery Network 1
Configure Price Quote 1
CPQ 1
Blockchain 1
Coupons 1
Sitecore Rss 1
Artificial Intelligence 1
Machine Learning 1
Okta 1
RFP Process 1
NoSQL 1
Flex Accelerator for Sitecore 1
Reviews 1
SEO 1
Page Labels 1