I have to create some custom promotion Discounts which does not fall in the category of DiscountTypes provided out of box from Commerce Server. Is there a way for creating your own Custom Discounts like custom Pipeline Components. Any ideas are helpful.
Thanks!
Yes, you can create custom promotion discounts, but there are several things to bear in mind.
The Commerce Server discount engine is (mostly) a closed box so you cannot extend it. You will likely want to create a new custom pipeline component (as Massimiliano Peluso mentions). This gives you two broad options. Either a) you replace the Commerce Server out of the box functionality entirely, or b) you will apply your discount engine pipeline component before or after the Commerce Server one has executed. This latter option brings up issues of the ordering of application of discounts, and how to apply interaction rules between Commerce Server discounts and your own.
Note that there are limited options for extending Marketing Manager, so adding new types of discounts there would be difficult. You will likely need to have a different data repository in which you store your new discounts and a new tool to manage them.