creating new promotion type | Community
Skip to main content
Level 4
October 16, 2015
Solved

creating new promotion type

  • October 16, 2015
  • 7 replies
  • 1330 views

can we create a new promotion type in MCM?

currently only 4 promotions are available:

Perfect Partner, free shipping,discount and free gift.

i want to add one more in the list. Please help.

thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

khalidMomin wrote...

@ShamHC @smacdonald

i just want to add a new promotion, it can be of any type. For e.g. lets say if a customer shop for one category, he gets a discount for another category.

Like if i shop for electronics product, i get a discount on home appliances.

can it be achieved by adding a new promotion type?

also can u guys tell me, where i can find promotion OOTB components and codes in CQ?

 

 

Hi khalid Momin,

    For your use case "Perfect Partner" can help partially. To meet per your exact need look at implementation at
/libs/commerce/components/promotion
and might need to implement https://dev.day.com/docs/en/cq/current/javadoc/com/adobe/cq/commerce/api/promotion/PromotionHandler.html

Thanks,
Sham
 Tweet: @adobe_sham

7 replies

Lokesh_Shivalingaiah
Level 10
October 16, 2015

are you referring to the promotions in commerce ?

Sham_HC
Level 10
October 16, 2015

AFAIK  I am not aware of documentation. The OOB reference components  "Perfect Partner, free shipping,discount and free gift." should give reference how to implement. Can you provide more details what you are trying to add & where you are stuck?

Level 4
October 16, 2015

yes.

smacdonald2008
Level 10
October 16, 2015

Agreed with Sham - this is the 1st time i have seen this request. We do not have any task-based information around this. The samples would be the best way to learn this. 

Level 4
October 16, 2015

@ShamHC @smacdonald

i just want to add a new promotion, it can be of any type. For e.g. lets say if a customer shop for one category, he gets a discount for another category.

Like if i shop for electronics product, i get a discount on home appliances.

can it be achieved by adding a new promotion type?

also can u guys tell me, where i can find promotion OOTB components and codes in CQ?

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

khalidMomin wrote...

@ShamHC @smacdonald

i just want to add a new promotion, it can be of any type. For e.g. lets say if a customer shop for one category, he gets a discount for another category.

Like if i shop for electronics product, i get a discount on home appliances.

can it be achieved by adding a new promotion type?

also can u guys tell me, where i can find promotion OOTB components and codes in CQ?

 

 

Hi khalid Momin,

    For your use case "Perfect Partner" can help partially. To meet per your exact need look at implementation at
/libs/commerce/components/promotion
and might need to implement https://dev.day.com/docs/en/cq/current/javadoc/com/adobe/cq/commerce/api/promotion/PromotionHandler.html

Thanks,
Sham
 Tweet: @adobe_sham

Level 4
October 16, 2015

thanks,

i will look into that for sure.