Skip to Content
Sitecore Cookbook for Developers
book

Sitecore Cookbook for Developers

by Yogesh Patel, Patel Y Sunderbhai
April 2016
Beginner content levelBeginner
338 pages
7h 38m
English
Packt Publishing
Content preview from Sitecore Cookbook for Developers

Creating a custom rule and condition for personalization

Sitecore provides a couple of out-of-the-box conditions and relevant actions based on elements, for example, conditional renderings, date, context, GeoIP, visitor, and others so that most of the requirements for personalization rules can get fulfilled.

Here, to create a custom condition, let's consider an example. A marketing team wants to show a promotional offer on the continue to payment page to customers who have added any of the featured products to the cart. So, in this recipe, you will learn creating a custom condition to check whether the selected featured products exist in the cart or not.

Getting ready

This recipe assumes that you have already implemented the previous recipe to store ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Azure for Developers

Hands-On Azure for Developers

Kamil Mrzygłód

Publisher Resources

ISBN: 9781784396527Supplemental Content