Hi Michael,
To my knowledge there is no such event, just like there is no such event when content expires. Instead you probably want to index the valid from / until dates together with the price.
/T
Tobias is correct, there is no such event. And it would be quite challenging doing so - figuring out which prices are obsolete can be very tricky.
There might be a smart (read, hacky) way to do, but how much do you want it?
Thanks Tobias and Quan.
I figured my best option is to index it, I was just hoping to do as little server side processing as possible and assume the Find index is correct.
Thanks again.
http://vimvq1987.com/2017/08/reindex-obsolete-prices/
This might be a way to solve it
Quan,
Thanks for that. I believe we are going this route since indexing the dates with prices still leaves invalid data for the facets and the faceted results.
We're using Find and are indexing prices for custom faceting/display. We're currently triggering a reindex when a price gets updated, but they have begun using the valid from / valid until properties more often and want to make sure the index is as up to date as possible at all times. Are there any events that trigger when a price becomes valid/invalid?
We are using Commerce 10.6.0.0, CMS 10.9.2.0, Find 12.3.3.0