You have created custom SolrNet calls, but may have encountered the following exception:
Exception has been thrown by the target of an invocation. ---> Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type ISolrOperations`1, key "Some_index" ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
During one of our recent projects, the customer requested that the check-out flow should call an external order service on SAP prior to saving the order to Cloudcraze. If the call to the SAP Order API fails we want to show user errors and prevent the order from proceeding.
After working on a few CloudCraze eCommerce websites, one of the most common complaints within clients is that fact that there is no feedback to the user when an 'Add to Cart' button is clicked. There are plenty of ways to design and handle an add to cart event, but in this example, we will leverage a front-end framework that is bundled with CloudCraze, Bootstrap.
In a recent project, we needed to specify how a bucketable item is to be bucketed. Luckily Sitecore provides a rule-based mechanism to configure bucketable item paths. Unfortunately, the requirements would not allow us to use the action provided from Sitecore out of the box. However, since Sitecore is so extensible, we can implement a custom bucket rule action with relatively little effort.
In this blog, I am going to list out the most commonly used pipelines when you are writing a custom plugin for Sitecore Commerce.