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

Advertisements

Designing your Commerce catalog

I had the pleasure of giving a talk at Ascend UK and Ascend Benelux about designing your Commerce catalog. For those who attended, and for those who didn't and would like a quick primer, you can download the slides of the presentation here.

Las Vegas Ascend lab

At this year's Ascend in Las Vegas, I had the pleasure of hosting a lab about personalizing Episerver Find by means of Episerver Social. I have put the lab on GitHub, in case you were not there and would like to do it, or if you want to get the code if you were attending … Continue reading Las Vegas Ascend lab

What the FAQ are you talking about?

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?

Add the average rating of content to your Find index

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

Personalize Find with Social, POC

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

Add an order dropdown to Forms

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

Automatically tag images after uploading

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

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

Buy products, get gift

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