November Happy Hour will be moved to Thursday December 5th.

Promotion calculation

Vote:
 

Hi,

 

I have a question about the best practice in coding a custom promotion for EPiServer 10, Commerce 10.8.0.

 
The promotion needs to provide a user specific percentage discount (e.g. 10 pct. discount) on the order,
if a specific user specific combination of products are added to the basket alongside a campaign code.

So I need 

  1. to able to inspect the line items of the basket
  2. to see if a campaign has been applied
  3. apply an overall percentage discount to the basket

I would be pleased if you could point me in the right direction, i.e. api/classes and/or documentation?

Thanks

Michael

#192522
May 18, 2018 9:06
Vote:
 

Hi Michael

Would the built in discount “Buy products and get discount on order” suit your needs?

http://webhelp.episerver.com/latest/commerce/marketing/builtin-discounts.htm

David

#192527
May 18, 2018 10:07
Vote:
 

If you are interested in more techincal detail, this can be a start: https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-Commerce/9/Marketing/custom-promotions/ 

So basically in the processor you can have almost any logic you want. 

#192549
May 18, 2018 11: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.