As you may have noticed I like the Microsoft Cognitive Services a lot. There is quite a nice, preview, service called QnA maker, which takes your QnA items on e.g. a FAQ page and applies some Machine Learning to it. The great thing is that you can very easily attach a bot that can answer … Continue reading What the FAQ are you talking about?
Tag: EPiServer
If you are using Episerver Social on your site, you may want to add the average rating of a page to the find index. The code is based on the SocialAlloy sample. This is the way how to make that work First add an extension method that gets the average rating of your content item. … Continue reading Add the average rating of content to your Find index
If you are using Episerver Social on your site, it's possible to "personalize" search results for a logged in user. Or more accurately, boost e.g. contenttypes or categories of content the user has rated. It's possible to get a list of content the user has rated on your site. With this list you can retrieve … Continue reading Personalize Find with Social, POC
I wanted an adjustable contact form with a dropdown containing the order numbers of the current user. With a custom data feed this is very easy accomplished within the forms module. See this post for more information about data feeds. For the LoadItems implementation you can use the following: Now you will be able to … Continue reading Add an order dropdown to Forms
Getting editors to properly tag the images they upload can be quite a challenge, if you need/want them tagged of course. The Computer Vision API can be of assistance. It only supports English and Simplified Chinese at the moment though, as you can read in the API reference. You could of course use the translation … Continue reading Automatically tag images after uploading
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
In the "configuring promotions" lab at Ascend 2017 in Vegas, there was an exercise I created for a custom promotion. It's a fairly easy promotion: to be able to give a give a gift on an entry level, instead of on an order level. You can find the full code to the promotion in this … Continue reading Buy products, get gift
Have you ever been digging through log files just wondering what the root cause of the exception was? Most of the time there is not a lot of context to give you a clue. Last week I came across a great logging framework / tool. One True Error. It gives you a lot of extra … Continue reading One True Error
As from EPiServer 9.4 you can make use of the notification api. It’s mainly used within the projects feature as far as I can tell, but I found another use for it. NOTE: It's still in beta. Imagine you have a scheduled job e.g. It does some important processing, e.g. sending order information to SAP … Continue reading Using the new EPiServernotification API
So you want to update your EPiServer Commerce site, but you don’t want to lose orders. That’s still not really possible, a little downtime is still needed, or I missed something. So I did a little POC. I created a “messaging” service. You can send a cart to it. The cart will be put into … Continue reading POC: Upgrade EPiCommerce without losing orders?