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

Where can I get events related promotion?

Vote:
 

Hi,

Currently, I have an issue related to Promotion. Specifically, I need to Cache price of variants, and its cache 'll be removed if there is new promotion(s) (or old promotion(s) is edited) are applied on those variants. But I don't know how to listen to events of the Promotion (such as: OnChanged, OnCreated, ... something like that)

Can anyone help you or give me any suggestion?

Thank you very much :)

#196302
Aug 24, 2018 11:27
Vote:
 

Promotions and Campaigns are just normal CMS content, so if you listen to IContentEvents that would be enough for basic events.

However when Promotions and Campaigns, for example, go expired, there is no event for that 

#196303
Aug 24, 2018 11:33
Vote:
 

@Quan Mai, em cảm ơn ạ :>

#196324
Aug 27, 2018 4:13
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.