November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi,
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:
http://world.episerver.com/Forum/Developer-forum/EPiServer-Commerce/Thread-Container/2014/5/Custom-Pricing-Provider/
Regards.
/Q
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
Sandeep
Thanks Sandeep, if it works for you please can you mark as answered so the comminity can benefit.
David
Hi,
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: http://world.episerver.com/blogs/Quan-Mai/Dates/2015/7/new-events-for-price-and-inventory-updates/
Regards,
/Q
http://world.episerver.com/documentation/Class-library/?documentId=commerce/8/85A3C683
http://sdk.episerver.com/commerce/1.1.1/Content/Developers%20Guide/Catalog%20System/Catalog%20How%20To%20Code%20Samples/Writing%20Event%20Handlers.htm
CatalogEventBroadcaster.Instance.LocalEntryUpdated += LocalEntryUpdated;