<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rameez Akram on Medium]]></title>
        <description><![CDATA[Stories by Rameez Akram on Medium]]></description>
        <link>https://medium.com/@rameez.akram?source=rss-1b724e57deac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*q6LbtCdq2ER5PxZ7XZdGxA.png</url>
            <title>Stories by Rameez Akram on Medium</title>
            <link>https://medium.com/@rameez.akram?source=rss-1b724e57deac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 13:31:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rameez.akram/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Sitecore Commerce Entities Explained]]></title>
            <link>https://medium.com/redhotminute-australia/sitecore-commerce-entities-explained-b98b229ff002?source=rss-1b724e57deac------2</link>
            <guid isPermaLink="false">https://medium.com/p/b98b229ff002</guid>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[commerce-policy]]></category>
            <category><![CDATA[sitecore-development]]></category>
            <category><![CDATA[commerce-entity]]></category>
            <category><![CDATA[sitecore-commerce]]></category>
            <dc:creator><![CDATA[Rameez Akram]]></dc:creator>
            <pubDate>Mon, 27 Nov 2017 22:21:33 GMT</pubDate>
            <atom:updated>2017-11-27T22:21:33.725Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3BFtUkHhcQNF9EBvxzR79g.png" /></figure><p>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.</p><p>As an example, have a look at the default Commerce Cart Entity:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*WPUfa-cDV-_v3sZDviOomg.png" /><figcaption>Commerce Cart Entity Inheritance</figcaption></figure><h4>Persistence</h4><p>Commerce entities are serialized into JSON and stored in a persistent store such as SQL Server. The Commerce EntityStore persists and retrieves entities.</p><blockquote>Tip: You can inspect persisted entities in the CommerceEntities table in the Sitecore Commerce SharedEnvironments database.</blockquote><h4>Commerce Entity Properties</h4><p>Along with other information such as a unique Id, an entity also has list of Components and Policies. This allows the Entity to be extended by either composition or policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I04rTmKGHV72D_nXvZ_bJg.png" /><figcaption>Commerce Entity Properties (Source: Sitecore Commerce Developer’s Guide)</figcaption></figure><h4>Extension by composition</h4><p>Entities can be extended by adding components to the Components property on the entity. Components are simply classes that are injected into the entity by a plugin through a Pipeline Block (more on how to create custom plugins in a separate post). A good thing about this pattern is that it allows us to inject components into an entity without interfering with components injected by other plugins.</p><h4>Extension by policy</h4><p>Entities can also be extended by adding Policies. A policy is basically a set of rules for an entity. It is a class that defines a set of data that can be used by business processes to determine behavior. E.g. you could define a policy for the cart entity that sets the maximum cart value or the maximum number of line items. In essence, policies are code based configuration settings.</p><p><em>Stay tuned and hit the follow button- in future posts I will show you how to create custom plugins and define policies.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FAjENkIub26Tp6%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FAjENkIub26Tp6%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FAjENkIub26Tp6%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a7527790f026a0bfc4efee607b50ac1/href">https://medium.com/media/8a7527790f026a0bfc4efee607b50ac1/href</a></iframe><h4>About the Author</h4><p>Rameez is a Sitecore specialist &amp; ScrumMaster with over 8 years of experience in the digital, investment banking and high-tech start-up spaces. You can connect with him on <a href="https://www.linkedin.com/in/rameezakram/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b98b229ff002" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redhotminute-australia/sitecore-commerce-entities-explained-b98b229ff002">Sitecore Commerce Entities Explained</a> was originally published in <a href="https://medium.com/redhotminute-australia">redhotminute australia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[All you need to know about Sitecore Commerce Service APIs]]></title>
            <link>https://medium.com/redhotminute-australia/all-you-need-to-know-about-sitecore-commerce-service-apis-56cc108498b5?source=rss-1b724e57deac------2</link>
            <guid isPermaLink="false">https://medium.com/p/56cc108498b5</guid>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[sitecore-commerce]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[sitecore-development]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Rameez Akram]]></dc:creator>
            <pubDate>Mon, 27 Nov 2017 00:28:48 GMT</pubDate>
            <atom:updated>2017-11-27T00:30:18.634Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sC5uw8oJI-ehNm41y5YaBw.jpeg" /></figure><p>Sitecore Commerce 8.2.1 is the first step in building a next generation e-commerce platform. I’ve already explored <a href="https://medium.com/redhotminute-australia/show-me-the-money-a-guided-tour-of-pricing-in-sitecore-commerce-8-2-1-part-i-price-cards-7974dc42765f">pricing</a> and <a href="https://medium.com/redhotminute-australia/how-to-offer-value-to-your-customers-using-promotions-in-sitecore-commerce-8-2-1-fb4b9a0bb8e5">promotions</a>. 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.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3og0IxJFTW8rr80944%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FBounce-TV-bounce-saints-and-sinners-3og0IxJFTW8rr80944&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3og0IxJFTW8rr80944%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="243" frameborder="0" scrolling="no"><a href="https://medium.com/media/45533c2127b96dffd2f3698ccccffe0f/href">https://medium.com/media/45533c2127b96dffd2f3698ccccffe0f/href</a></iframe><p>The Commerce Engine has been designed to allow external entities to seamlessly interact with it through an OData RESTful web service.</p><h4>Service APIs</h4><p>There are three main APIs based on the type of role they perform:</p><ul><li>CommerceAuthoring API is focused on the business user experience such as merchandising, creating and updating content.</li><li>CommerceShops API provides functionality for the web storefront.</li><li>CommerceOps API is geared towards DevOps tasks such as managing environments and policies.</li></ul><p>Go ahead and run the following to retrieve Sitecore Commerce metadata.</p><pre><a href="http://{{servicehost}}/%7B%7BShopsApi%7D%7D/$metadata">http://{{ServiceHost}}/{{ShopsApi}}/$metadata</a></pre><pre>e.g. <a href="http://{{servicehost}}/%7B%7BShopsApi%7D%7D/$metadata">http://localhost:5000/api/$metadata</a></pre><h4>Postman collection</h4><p>To make your life easy, the Sitecore Commerce SDK comes with a Postman collection which contains an extensive list of calls that can be made to the APIs. This is extremely valuable during development and debugging. It allows you to quickly retrieve information as well as perform any actions required, such as adding items to cart, creating orders, retrieving cart etc. I’ll leave it to you to explore the API in detail.</p><p>Here’s an overview of the key elements:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6imA1osMMa1UNgQUbHllfA.png" /><figcaption>Sitecore Commerce SDK Postman Collection</figcaption></figure><p>In order to establish the context of the call, you need to set the headers on your requests. You can either pull in values from environment variables, which I’ll show you shortly, or set them directly if specific to a call.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*LQu4f2fJC3qMXW7WspYZiA.png" /><figcaption>API Headers</figcaption></figure><h4>Set up Postman environment</h4><p>Once you have retrieved and loaded the collection into Postman, you need to set up your environment variables.</p><p>(1) Click on the gear icon on the top right of the window to open environment options, and select <em>Manage Environments.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*krPW6QDHw8ZXMX-4uEBHrQ.png" /></figure><p>(2) Locate <em>Habitat Environment</em>, and click on the duplicate environment icon to create a base copy for your own environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rgfM8zSeGxWruOqTQfzUlA.png" /></figure><p>(3) Click on the newly created <em>Habitat Environment Copy. </em>Update the environment name, host names and other variables such as language and currency if required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*LdYWxr7dx1bQH9CeyEhcCw.png" /></figure><p>(4) Once done, switch to your new environment by selecting it from the top right of the window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*Dq4w3CkfWtDNM4dOZ2aerQ.png" /></figure><p>That’s it! Fire away- you’re now ready to get hands on with probably one of the most frequently used tools you’ll be using as you work with Sitecore Commerce!</p><p><em>Stay tuned and hit the follow button- in future posts I will show you how to create custom plugins and tell you all about Actions, Commands, and Pipelines.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3o7aTtzyBVUQn7PzDa%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3o7aTtzyBVUQn7PzDa%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F3o7aTtzyBVUQn7PzDa%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="184" frameborder="0" scrolling="no"><a href="https://medium.com/media/62e2b414838fb17f7b28e3b4691fd2bd/href">https://medium.com/media/62e2b414838fb17f7b28e3b4691fd2bd/href</a></iframe><h4>About the Author</h4><p>Rameez is a Sitecore specialist &amp; ScrumMaster with over 8 years of experience in the digital, investment banking and high-tech start-up spaces. You can connect with him on <a href="https://www.linkedin.com/in/rameezakram/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56cc108498b5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redhotminute-australia/all-you-need-to-know-about-sitecore-commerce-service-apis-56cc108498b5">All you need to know about Sitecore Commerce Service APIs</a> was originally published in <a href="https://medium.com/redhotminute-australia">redhotminute australia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to view pipeline configuration and sequence in Sitecore Commerce Engine]]></title>
            <link>https://medium.com/redhotminute-australia/how-to-view-pipeline-configuration-and-sequence-in-sitecore-commerce-engine-5cf63dcb14f4?source=rss-1b724e57deac------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cf63dcb14f4</guid>
            <category><![CDATA[commerce-engine]]></category>
            <category><![CDATA[sitecore-development]]></category>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[block]]></category>
            <category><![CDATA[sitecore-commerce]]></category>
            <dc:creator><![CDATA[Rameez Akram]]></dc:creator>
            <pubDate>Thu, 23 Nov 2017 22:09:03 GMT</pubDate>
            <atom:updated>2017-11-24T08:16:58.747Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OkORwzsEghwt7sdB_p4nEg.jpeg" /></figure><p>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.</p><p>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).</p><p>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. Normally, in Sitecore you would do this by looking at the consolidated version of the Sitecore config (/sitecore/admin/showconfig.aspx). But how do you go about doing this for the Commerce Engine?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fa3JU1Ei1aLwVG%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fa3JU1Ei1aLwVG%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fa3JU1Ei1aLwVG%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="398" frameborder="0" scrolling="no"><a href="https://medium.com/media/d857a241e71c176d29a3ccb1b315e21a/href">https://medium.com/media/d857a241e71c176d29a3ccb1b315e21a/href</a></iframe><p>Fret not! You have two options.</p><h4>Node Configuration Log file</h4><p>This file starts with- you guessed it- ‘NodeConfiguration’, and is located under the <em>CommerceEngine\wwwroot\logs</em> folder. It contains the most recent pipeline configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uZJ2-GNjgys5O0wcU_BtWg.png" /><figcaption>Excerpt of Node Configuration Log File</figcaption></figure><h4>Calling Commerce Engine Ops Api</h4><p>The Sitecore Commerce 8.2.1 SDK provides a Postman collection with a plethora of useful methods to interact with the Commerce Engine API. Here we will be using the <em>Get Registered Pipelines</em> method which is located under the <em>SitecoreCommerce_DevOps</em> folder in the Postman collection.</p><p>I personally prefer this method since it returns additional information, and is more readable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y6CHid4VUZeiqX-6GNvNJg.png" /><figcaption>Get Registered Pipelines</figcaption></figure><h4>About the Author</h4><p>Rameez is a Sitecore specialist &amp; ScrumMaster with over 8 years of experience in the digital, investment banking and high-tech start-up spaces. You can connect with him on <a href="https://www.linkedin.com/in/rameezakram/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cf63dcb14f4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redhotminute-australia/how-to-view-pipeline-configuration-and-sequence-in-sitecore-commerce-engine-5cf63dcb14f4">How to view pipeline configuration and sequence in Sitecore Commerce Engine</a> was originally published in <a href="https://medium.com/redhotminute-australia">redhotminute australia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to offer value to your customers using Promotions in Sitecore Commerce 8.2.1]]></title>
            <link>https://medium.com/redhotminute-australia/how-to-offer-value-to-your-customers-using-promotions-in-sitecore-commerce-8-2-1-fb4b9a0bb8e5?source=rss-1b724e57deac------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb4b9a0bb8e5</guid>
            <category><![CDATA[sitecore-commerce]]></category>
            <category><![CDATA[promotion]]></category>
            <category><![CDATA[sitecore-development]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[shopping-cart-solutions]]></category>
            <dc:creator><![CDATA[Rameez Akram]]></dc:creator>
            <pubDate>Thu, 23 Nov 2017 13:08:56 GMT</pubDate>
            <atom:updated>2017-11-24T08:20:02.858Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDHmINqIjmUGJUWsxPtGjw.png" /></figure><p>I hope you’re now an an expert at <a href="https://medium.com/redhotminute-australia/show-me-the-money-a-guided-tour-of-pricing-in-sitecore-commerce-8-2-1-part-i-price-cards-7974dc42765f">pricing using the Pricing &amp; Promotions module in Sitecore Commerce 8.2.1</a>. Now that you have the first piece of the puzzle in place, let’s have a look at the the second one- Promotions.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FAyx3dO4xruVqM%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FAyx3dO4xruVqM%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FAyx3dO4xruVqM%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/9843f46c4b8fc9910385e284858fe9f2/href">https://medium.com/media/9843f46c4b8fc9910385e284858fe9f2/href</a></iframe><p>Promotions in Sitecore Commerce allow you to provide certain benefits and/or discounts to your customers with multiple levels of granularity.</p><blockquote>A promotion can be applied to either the product level or to the cart.</blockquote><p>Let’s setup some promotions to demonstrate this functionality.</p><h4>Create a new Promotion Book</h4><p>A Promotion Book is a collection of promotions, and similar to a Price Book, can be associated to one or more catalogs.</p><p>Open Pricing &amp; Promotions from the Sitecore Launchpad. Create a new Promotion Book by clicking on the ‘Add’ button. Associate a catalog to the Promotion Book.</p><h4>Add a Promotion</h4><p>In the Promotions section on the Promotion Book, click on ‘Add’ to create a new promotion. You must specify a date range for which the promotion will be valid. Additionally, there are several text fields such as Display Name, Description, Text, and Cart Text that can be utilized to display relevant messaging on your website based on the type of promotion you are creating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*mXDLl5ARAw8xy_DrSeqmig.png" /><figcaption>Add Promotion</figcaption></figure><h4>Configure Promotion</h4><p>Once a promotion is created, you need to set up the necessary qualifications and benefits that are to be provided.</p><blockquote>Qualifications are essentially a set of rules that must be met in order for the benefit to be triggered. Multiple qualifications can be be applied to a promotion.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*kaiASL1yGakIhzrnu9mM8A.png" /><figcaption>Qualifications</figcaption></figure><p>There are many types of qualifications out of the box, e.g. based on date/time, whether the customer is registered, how many items the customer has in the cart etc. This allows you to build a complex set of criteria to target your segment accurately.</p><blockquote>Benefits are the resulting set of advantages awarded to the customer who meets the qualification criteria.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*KIkOuLEx0PJRclb4UOFurg.png" /><figcaption>Benefits</figcaption></figure><p>You can provide benefits at the cart level or cart line item (product/variant) level. E.g. 10% off cart subtotal (percentage), $10 off cart subtotal (absolute) , 10% off specific item. You can also provide other benefits such as free shipping. Multiple benefits can also be provided such as discounts plus free shipping.</p><h4>Coupons</h4><p>Promotions can also be qualified using coupons. Coupons can either be public or private. You can create multi-use (public) or single use (private) coupons. Multi use coupons must be individually created and named, and single use coupons can be generated in bulk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*8ECfknYKpEeopXpmNHnt_w.png" /><figcaption>Single Use Coupons</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Da-or-tDH9Z8KSyyrvO-Uw.png" /><figcaption>Coupon Types</figcaption></figure><p>There you have it- you’re all equipped to start setting up your campaigns!</p><p><em>Stay tuned and hit the follow button- in a future post I will show you how to render product and cart level promotions to your cart details page.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3o6ZtqG8gtfdpenIPK%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3o6ZtqG8gtfdpenIPK%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3o6ZtqG8gtfdpenIPK%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="299" frameborder="0" scrolling="no"><a href="https://medium.com/media/76544096f4dd6e0a9205a598fa54b1be/href">https://medium.com/media/76544096f4dd6e0a9205a598fa54b1be/href</a></iframe><h4>About the Author</h4><p>Rameez is a Sitecore specialist &amp; ScrumMaster with over 8 years of experience in the digital, investment banking and high-tech start-up spaces. You can connect with him on <a href="https://www.linkedin.com/in/rameezakram/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb4b9a0bb8e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redhotminute-australia/how-to-offer-value-to-your-customers-using-promotions-in-sitecore-commerce-8-2-1-fb4b9a0bb8e5">How to offer value to your customers using Promotions in Sitecore Commerce 8.2.1</a> was originally published in <a href="https://medium.com/redhotminute-australia">redhotminute australia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The curious case of missing Sitecore Commerce Engine Log Files]]></title>
            <link>https://medium.com/redhotminute-australia/the-curious-case-of-missing-sitecore-commerce-engine-log-files-f3926bd3fab3?source=rss-1b724e57deac------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3926bd3fab3</guid>
            <category><![CDATA[sitecore-development]]></category>
            <category><![CDATA[logging]]></category>
            <category><![CDATA[sitecore-commerce]]></category>
            <category><![CDATA[commerce-engine]]></category>
            <category><![CDATA[serilog]]></category>
            <dc:creator><![CDATA[Rameez Akram]]></dc:creator>
            <pubDate>Tue, 21 Nov 2017 19:36:55 GMT</pubDate>
            <atom:updated>2017-11-23T22:11:44.764Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nPmVBUQL5ZQ232MkO2TVCA.png" /></figure><p>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.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*YZT4SJvSKnnBPlnZVU9WQQ.png" /><figcaption>Missing Log Files</figcaption></figure><p>After banging my head against the computer screen, frantically recycling the commerce engine application pool, and inflicting myself with scathing self-doubt- I realized that the problem was much deeper than I had thought. Even Google almighty was unable to give me an answer.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F13xHqoOQOdFu5a%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F13xHqoOQOdFu5a%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F13xHqoOQOdFu5a%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="411" frameborder="0" scrolling="no"><a href="https://medium.com/media/463a8a70f5bfd7146e0e8a52b7c6709c/href">https://medium.com/media/463a8a70f5bfd7146e0e8a52b7c6709c/href</a></iframe><p>So I began my journey into the rabbit hole we call <em>configs</em>. Fortunately for me, it didn’t take too long to figure out what the problem was. I hit gold on the first strike- CommerceEngine\wwwroot\config.json.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pjYLHGdRAw95gvuJEHYYYw.png" /><figcaption>Commerce Engine Config</figcaption></figure><p>On the surface, it looked fine- but it just seemed too succinct and empty. I decided to head over to the Sitecore Commerce SDK and compared it with the default config.json. Lo and behold, there was one crucial section missing- logging configuration!</p><p>If you want your Commerce Engine to log shit- be sure to have this in your config.json:</p><pre>  &quot;Logging&quot;: {<br>    &quot;IncludeScopes&quot;: false,<br>    &quot;LogLevel&quot;: {<br>      &quot;Default&quot;: &quot;Information&quot;,<br>      &quot;System&quot;: &quot;Warning&quot;,<br>      &quot;Microsoft&quot;: &quot;Warning&quot;<br>    },<br>    &quot;ApplicationInsightsLoggingEnabled&quot;: false,<br>    &quot;SerilogLoggingEnabled&quot;: true<br>  },<br>  &quot;Serilog&quot;: {<br>    &quot;MinimumLevel&quot;: &quot;Information&quot;<br>  },</pre><h4>About the Author</h4><p>Rameez is a Sitecore specialist &amp; ScrumMaster with over 8 years of experience in the digital, investment banking and high-tech start-up spaces. You can connect with him on <a href="https://www.linkedin.com/in/rameezakram/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3926bd3fab3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redhotminute-australia/the-curious-case-of-missing-sitecore-commerce-engine-log-files-f3926bd3fab3">The curious case of missing Sitecore Commerce Engine Log Files</a> was originally published in <a href="https://medium.com/redhotminute-australia">redhotminute australia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Show me the money! A guided tour of pricing in Sitecore Commerce 8.2.1]]></title>
            <link>https://medium.com/redhotminute-australia/show-me-the-money-a-guided-tour-of-pricing-in-sitecore-commerce-8-2-1-part-i-price-cards-7974dc42765f?source=rss-1b724e57deac------2</link>
            <guid isPermaLink="false">https://medium.com/p/7974dc42765f</guid>
            <category><![CDATA[sitecore-commerce]]></category>
            <category><![CDATA[sitecore-development]]></category>
            <category><![CDATA[tier-pricing]]></category>
            <category><![CDATA[dynamic-pricing]]></category>
            <category><![CDATA[ecommerce]]></category>
            <dc:creator><![CDATA[Rameez Akram]]></dc:creator>
            <pubDate>Tue, 21 Nov 2017 15:53:55 GMT</pubDate>
            <atom:updated>2017-11-24T08:22:00.229Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KeZRzs-7CWED3YI_xqmSpA.png" /></figure><p>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?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FZKg9KGpRZgvzq%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FZKg9KGpRZgvzq%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FZKg9KGpRZgvzq%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c2e24ed5897018f75ef058bc3a1018a/href">https://medium.com/media/4c2e24ed5897018f75ef058bc3a1018a/href</a></iframe><p>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.</p><p>A collection of Price Cards forms a Price Book. Price Books, along with Promotion Books (which will be covered in another post) are the heart of the Pricing &amp; Promotions module of Sitecore Commerce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*QjGeerA4laNAkyYtFrPvhg.png" /><figcaption>Pricing &amp; Promotions</figcaption></figure><p>Let’s get to it and see how to set up and use a Price Card.</p><h4>Create new Price Book</h4><p>Open Pricing &amp; Promotions from the Sitecore Launchpad. Create a new Price Book by clicking on the ‘Add’ button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*Ayc8Kgpu26JQdVlNR394eQ.png" /><figcaption>Creating a Price Book</figcaption></figure><p>Once a Price Book is created, it must be associated with a catalog.</p><blockquote>Note that a price book may be associated to multiple catalogs.</blockquote><h4>Add a Price Card</h4><p>In the Price Cards section on the Price Book, click on ‘Add’ to create a new Price Card. You will notice that a Price Card is composed of Snapshots. Each snapshot defines a set of prices for a product. When you create a snapshot, you must specify a start date and time from when it is valid.</p><blockquote>Note that if you want to add multiple snapshots, a new snapshot must have a start date later than the latest start date of all existing Snapshots.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fn96gjfF2f___8VKltwKOA.png" /><figcaption>Adding a Price Card</figcaption></figure><p>Once a snapshot is created, there are two relevant sections:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9u3dKncTWPPlbIAnNTCidQ.png" /><figcaption>New Snapshot</figcaption></figure><ol><li>You can add Tags to the snapshot. When tags are added, the Price Card is linked to items (products/variants) that have the same tags.</li><li>Set unit/tier based pricing for each currency. But wait a minute- all I see is ‘No data to display’.</li></ol><blockquote>The UX is a bit off here- it took some fiddling around to figure out how to add pricing. Click on the arrow in the top right of the snapshot and click on ‘Add’.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JJ8xUT98sZd8UroQmcLfow.png" /><figcaption>Add Pricing to Snapshot</figcaption></figure><p>This brings up a screen where you can select your desired currency, and pricing for items in that currency. Here, you can also set Tiered pricing by setting different prices based on the number of units bought. E.g. in the example below, if a customer buys 1 unit, the price per unit will be 100 AUD and if they buy 5 units, the price per unit will be 80 AUD.</p><blockquote>Note that you need to add pricing for each currency individually.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BpeLjUSfXITYr5Edcmo0MA.png" /><figcaption>Adding Currency and Tier/Unit based Pricing</figcaption></figure><p>In the end, your snapshot will look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZv90ZDX86JaNgfwkSLLow.png" /><figcaption>Snapshot with Tiered Pricing</figcaption></figure><h4>Associate Price Card to product</h4><p>Great! So now that you have set up your Price Card, you need to associate it to a product. This must be done individually at the product and/or variant level.</p><p>Open the Merchandising Manager from Sitecore Launchpad, and navigate to the product you want to associate the Price Card with. In the Details tab, select the Price Card to apply to the product.</p><blockquote>Note that when you click on the Price Card text box, you don’t see a list of options- all you get is ‘No Price Card’. In order to select a a Price Card, you must start typing to search for it (I would have preferred a dropdown as well with the most recently created Price Cards). If you still don’t see it, make sure you have associated your Price Book to the correct catalog.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*wcUhMn6c6ri8__2wkjIs7g.png" /><figcaption>No Price Card</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*AN6paMuC4qUU9TTDmojh7w.png" /><figcaption>Search for Price Card</figcaption></figure><p>Save your product after selecting your Price Card and you’re done!</p><p><em>Stay tuned and hit the follow button- in future posts I will be showing you how to set up promotions and how to render all this price data on your website.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl2R0eYcNq9rJUsVAA%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fl2R0eYcNq9rJUsVAA%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExdjY2eWowZXE4NzhmZXc3MnAxZW5rNWJtd3A2b3Rtd2trZjMzZDY2OCZlcD12MV9naWZzX2dpZklkJmN0PWc%2Fl2R0eYcNq9rJUsVAA%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="261" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7adfdd13aada05b485caa4e1403feef/href">https://medium.com/media/e7adfdd13aada05b485caa4e1403feef/href</a></iframe><h4>About the Author</h4><p>Rameez is a Sitecore specialist &amp; ScrumMaster with over 8 years of experience in the digital, investment banking and high-tech start-up spaces. You can connect with him on <a href="https://www.linkedin.com/in/rameezakram/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7974dc42765f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redhotminute-australia/show-me-the-money-a-guided-tour-of-pricing-in-sitecore-commerce-8-2-1-part-i-price-cards-7974dc42765f">Show me the money! A guided tour of pricing in Sitecore Commerce 8.2.1</a> was originally published in <a href="https://medium.com/redhotminute-australia">redhotminute australia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up Solr with SSL for Sitecore 9]]></title>
            <link>https://medium.com/redhotminute-australia/setting-up-solr-with-ssl-for-sitecore-9-acdf009edd93?source=rss-1b724e57deac------2</link>
            <guid isPermaLink="false">https://medium.com/p/acdf009edd93</guid>
            <category><![CDATA[sitecore]]></category>
            <category><![CDATA[sitecore-9]]></category>
            <category><![CDATA[ssl]]></category>
            <category><![CDATA[sitecore-development]]></category>
            <category><![CDATA[solr]]></category>
            <dc:creator><![CDATA[Rameez Akram]]></dc:creator>
            <pubDate>Thu, 09 Nov 2017 05:58:23 GMT</pubDate>
            <atom:updated>2017-11-24T08:22:32.766Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*o5qifz6gxeKw6_BS6ulJLw.jpeg" /></figure><p>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.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3og0ITQOC5wlyk8ffy%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3og0ITQOC5wlyk8ffy%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F3og0ITQOC5wlyk8ffy%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3f2162c1c7e592128e454fc0272ac2c/href">https://medium.com/media/c3f2162c1c7e592128e454fc0272ac2c/href</a></iframe><h4>Get Solr</h4><p>Download solr-6.6.2 and unzip to C:\Program Files\solr-6.6.2\:</p><p><a href="https://archive.apache.org/dist/lucene/solr/6.6.2/solr-6.6.2.zip">https://archive.apache.org/dist/lucene/solr/6.6.2/solr-6.6.2.zip</a></p><h4>Install JRE</h4><p>Make sure you have JRE installed. If not download from:</p><p><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">http://www.oracle.com/technetwork/java/javase/downloads/index.html</a></p><h4>Create Keystore</h4><p>We will use the JDK Keytool command to create the required certificates. Run the following in command prompt with administrative privileges. Change the path to the executable based on the path of your JRE installation. You may also want to update the password and the certificate attributes (CN, OU etc):</p><blockquote>“C:\Program Files\Java\jre-9.0.1\bin\keytool.exe” -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity 9999 -keystore solr-ssl.keystore.jks -ext SAN=DNS:localhost,IP:127.0.0.1 -dname “CN=localhost, OU=Organizational Unit, O=Organization, L=Location, ST=State, C=Country”</blockquote><p>After running the above command, a keystore file called <em>solr-ssl.keystore.jks</em> will be created in the current directory.</p><h4>Generate certificate</h4><p>Run the following in command prompt with administrative privileges. Update the password if you changed it from the default during the previous step:</p><blockquote>“C:\Program Files\Java\jre-9.0.1\bin\keytool.exe” -importkeystore -srckeystore solr-ssl.keystore.jks -destkeystore solr-ssl.keystore.p12 -srcstoretype jks -deststoretype pkcs12</blockquote><p>This will generate a certificate called <em>solr-ssl.keystore.p12 </em>in the current directory</p><h4>Install certificate</h4><p>Double click on the generated <em>solr-ssl.keystore.p12</em> file and follow the wizard to import the certificate. When you reach the Certificate Store window, make sure to place the certificate in the Trusted Root Certification Authorities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*qqpcO4RDvcyqMtBv_PSNzw.png" /></figure><h4>Move keystore and certificate to Solr</h4><p>Copy the generated certificate and keystore files (<em>solr-ssl.keystore.jks</em>,<em> solr-ssl.keystore.p12</em>) to C:\Program Files\solr-6.6.2\server\etc\.</p><h4>Enable SSL in Solr</h4><p>To enable SSL, edit the file C:\Program Files\solr-6.6.2\bin\solr.in.cmd. Uncomment properties starting with Solr_SSL_*:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*QTRckoMPhNXfD3XG-cEXAg.png" /></figure><h4>Test start Solr</h4><p>To start SOLR, run the following in command prompt with administrative privileges:</p><blockquote>C:\Program Files\solr-6.6.2\bin\solr.cmd -p 8984</blockquote><p>Once successfully started up, you should be able to navigate to <a href="https://localhost:8984/">https://localhost:8984</a> to make sure that the instance is running.</p><p>If no errors are encountered and Solr started successfully, stop Solr by running the command:</p><blockquote>C:\Program Files\solr-6.6.2\bin\solr.cmd stop -all</blockquote><h4>Setup Solr to run as a Windows service</h4><p>Download and extract Non-Sucking Service Manager from <a href="https://nssm.cc/download">https://nssm.cc/download</a>.</p><p>Run the following in command prompt with administrator privileges. Update path to where you extracted nssm:</p><blockquote>“C:\nssm-x.xx\win64\nssm.exe” install SOLR6</blockquote><p>Set the path to ‘C:\Program Files\solr-6.6.2\bin\solr.cmd’ and Arguments to ‘start -f -p 8983’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*vY9iMIn9gi7UW79IDa3yGQ.png" /></figure><p>Finally, start the SOLR6 windows service and navigate to <a href="https://localhost:8983/">https://localhost:8983</a> to make sure Sorl is running.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3o7btNa0RUYa5E7iiQ%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3o7btNa0RUYa5E7iiQ%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia0.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExangyN3FpbTM2MHhqMHRzM2MwdG1kbHBvcG9teTh3anoybXQ0OGZvbiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2F3o7btNa0RUYa5E7iiQ%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/d001754c664e3f68da1a3ab6eb47009b/href">https://medium.com/media/d001754c664e3f68da1a3ab6eb47009b/href</a></iframe><h4>About the Author</h4><p>Rameez is a Sitecore specialist &amp; ScrumMaster with over 8 years of experience in the digital, investment banking and high-tech start-up spaces. You can connect with him on <a href="https://www.linkedin.com/in/rameezakram/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acdf009edd93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/redhotminute-australia/setting-up-solr-with-ssl-for-sitecore-9-acdf009edd93">Setting up Solr with SSL for Sitecore 9</a> was originally published in <a href="https://medium.com/redhotminute-australia">redhotminute australia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>