“Filter” your commerce navigation

Within Episerver Commerce you can have a lot of rules for displaying a product to a visitor, e.g. if it's available for the current market. So it can happen that when you click on a main category or subcategory link there are no products displayed. To prevent this, as it can be quite annoying for … Continue reading “Filter” your commerce navigation

Offload your Episerver Find tracking

Imagine a site with 10+ instances and a lot of visitors and search requests. The find queries are tracked, to provide data for the auto suggest, and cached. And then... you get an error in Find: Too Many Requests. My first thought was to increase the value for StaticallyCacheFor. But it did not have as … Continue reading Offload your Episerver Find tracking

Auto correct a search query

So your visitor is in a hurry and makes a typo in the search box. Chances are no results might be returned. By using the Bing Spellcheck API you can auto correct typos in the query and, maybe, return a result. As with the auto correct on your phone, it kinda depends on how smart … Continue reading Auto correct a search query

Use ML.net recommender for recommendations (POC)

A while ago I wrote about how you can use ML.Net Recommender to add some smarts to your up-sell. I decided to take it a step further and make it work for general product recommendations. So I created a scheduled job that creates and trains the recommendation model, creates predictions for all available variations in … Continue reading Use ML.net recommender for recommendations (POC)

Speed up your site

When your site relies on a lot of external API's, has a lot of JavaScript, images, Redis cache... and which site doesn't have most of these things these days, the loading of a page might go slower than you would like, even with extensive caching. There are a few things that I found can speed … Continue reading Speed up your site

Use ML.net recommender for better up-sell (POC)

You may have read about ML.net by now. Among other things there is a recommendation engine. So I decided to try if it would be usable in an Commerce solution. And it is, up to a point. First I needed to get all the orders and put the products that were bought together for each … Continue reading Use ML.net recommender for better up-sell (POC)

Remember BrilliantCut?

For a client with a huge catalog I needed something to make it easier to find their products in the back-end. Then I remembered BrilliantCut by Jonas Bergqvist, which does exactly that. As it hasn't been updated to work with newer versions of Commerce, I forked and updated it. I also added the filter option … Continue reading Remember BrilliantCut?

Enrich your logging with Episerver data

Some of you may have noticed I quite like Serilog. And my NuGet package to integrate it in Episerver is used quite a few times, so I guess I am not the only one. One of the reasons I like it is that you enrich your logging with a lot of extra information. There are … Continue reading Enrich your logging with Episerver data

Add extra validation for a shortcut

Happy New Year everyone! Mine started out well... suddenly, without a deployment or Azure issues, a website went completely unresponsive.  "502 - Web server received an invalid response while acting as a gateway or proxy server" Looking at the change log there was a content change just before the site went down. The change made … Continue reading Add extra validation for a shortcut

Speed up your product imports

When you use Episerver Commerce, your products will often be imported from an external source. When you use Episerver Find and there are a lot of changes, the import process might take a while and a lot of requests to Episerver Find will be made. So usually you would turn of the Episerver Find events … Continue reading Speed up your product imports