November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi Peter,
I am not sure about your question. You mean that you want to listen event and add some your custom code once a promotion start date comes and promotion end date comes, right?
Hi Binh
Yes, I'm looking to listen to an event and run custom code onStart and onEnd.
I am afraid that there is nothing like this by default. I suggest that you can create a new scheduled job for it. Your scheduled job will scan promotions and find out active and expired promotions in the day. It should be scheduled to run once a day
No, content is silenty published and expired. You can check your preconditions during the loading of the promotions. If those are met, then run the code. As long as the preconditions are efficient to run, this approach rarely becomes a problem..
Hello
Is there a way for me to run custom code on start and end of a sale?