Get “linked” product url

Imagine a scenario where you have a main catalog containing all your products and several "sub" catalogs with products linked from the main catalog.When you do a search for a product in the sub catalog and you would want to get the link to a product, you would get the link to the product within … Continue reading Get “linked” product url

“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

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)

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

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

Filter your commerce campaigns for access

A customer wanted to have access rights on the campaigns in Commerce, so marketing managers for one market could not make changes to the campaigns for other markets. As this is not possible out of the box, I tried to find another way. I remembered a post by David Knipe about restricting access to markets … Continue reading Filter your commerce campaigns for access

Limit the total amount of discounts applied

Sometimes you're in need of some business rules when applying promotions. You can do this by overriding the calculation of the discounts, but that could be a lot of work. For a simple rule, like "the total amount of discounts can't be more than half of the order total" you could use a different approach. … Continue reading Limit the total amount of discounts applied