SaaS CMS has officially launched! Learn more now.

Commerce Product Price Update Event Handler

Version 8
We had a qestion regarding even handlers for catalog updates. At the moment we have a requirement for re-indexing any product that is updated. For this we are using the following feature available -

and you use some code like below 

CatalogEventBroadcaster.Instance.LocalEntryUpdated += LocalEntryUpdated;

The above works perfectly fine and triggers when content is published.  There is also a method to track relation updates when a variant is added to a product which also works fine.

However we have noticed that the price updates don't seem to trigger any of the above and there is no way to attach an event to price updates. This is critical for us as we need to do two critical things on price updates 

a) Reindex the product in EPiserver find immediately and 
b) Create a price history log.

Also just need a confirmation that if a content is publihed using the scheduler, will the event listners get trigger and would they re-index the product corectly.
Feb 20, 2015 16:32


Yes, price updates do not trigger events. If you want to handle events, you'll need to implement your own IPriceService and IPriceDetailService which will trigger events when you call save. I guess you can mimick what we are doing in PriceServiceDatabase and PriceDetailDatabase and add relevant events.

More information can be found here:



Feb 20, 2015 16:44

Hi Sandeep

I have just blogged about a potential solution for this:


Feb 23, 2015 10:24

Hi David

Thanks for the solution. I have tested and it seems to trigger correctly. Will let you know if there are any further issues.

Kind Regards


Feb 23, 2015 12:05

Thanks Sandeep, if it works for you please can you mark as answered so the comminity can benefit.


Feb 23, 2015 13:01


Stay tuned for Commerce 8.15, will be released in a couple of days. It will have new API:s to listen and fire events when prices and inventories are updated.

More information can be found here:



Jul 23, 2015 17:27
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.