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

Fixing “tax total” differences

Sometimes you will need / want to display the price including tax on the line items of your cart. When you do this, you may see differences in the totals, using the calculators in Commerce, between the sum of the prices in your cart as they are displayed and the sum from the calculator. This … Continue reading Fixing “tax total” differences

One True Error

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

Validate User Generated content

With the new EPiServer Social Platform you can allow your visitors to “generate” content on your site. Of course you will need to moderate the content, with all the trolling and spamming these days. To save your moderator some work, you could (should?) do some validation before the comment enters the moderation workflow. You may … Continue reading Validate User Generated content

Smart recommendations for Commerce PT2

A little while ago I wrote a post about how you could use the  Recommendations API from Microsoft Cognitive Services to give your visitors smart recommendations. This time, as promised, I will go into the details of my implementation a bit. I must say that I am quite content with the results of the recommendations … Continue reading Smart recommendations for Commerce PT2

CMO and EPiServer 9

I got a question about CMO this week and because I never have done anything with it, I thought I would check it out. To my surprise I found that you can’t just install the package into a new website, the packages that are available ate just updates for CMO, but you will have to … Continue reading CMO and EPiServer 9

Smart recommendations for Commerce

Waiting for such things as the profile store? Don’t, want to, use Find? Related items in Commerce to basic and not smart enough? The Recommendations API from Microsoft Cognitive Services may help out if you want to show your visitors some smart recommendations. And the nice thing is that 10.000 transactions a month are free. … Continue reading Smart recommendations for Commerce

Forms and WebForms pt3

And the POC and learning continues. I did not like hiding the WebForms form, and it turns out that’s not necessary. You can include the Form controls in \Views\Shared\ElementBlocks. In the FormContainerBlock.ascx I replaced the form tag with a div tag. This will be made configurable in a upcoming version of the Forms add-on, so … Continue reading Forms and WebForms pt3