How to implement a customized entry promotion

Vote:
 

Hi, I am trying to create a customized entry promotion. But the code snippet on the dev manual seems obsolete. I am working on Commerce 12.17.2. Could someone please give me a sample code structure similar to this: https://world.episerver.com/documentation/developer-guides/commerce/marketing/custom-promotions/

#203644
Apr 30, 2019 19:41
Vote:
 

What part of it do you feel is obsolete? :) At a quick glance it looked like that's the components for the new promotions

#203651
Apr 30, 2019 23:43
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.