Hi,
I'm working on a solution on DW 8.9.2.6, where I need to intercept the product search.
If an empty resultset is returned, I need to redirect the customer to another page.
The default "noresult" page is not an option, as the customer wants DW to search in other product groups, if no result is found in the current group.
I've tried making a NotificationSubscriber, by subscribing to Dynamicweb.eCommerce.Querying.AfterQuery, but it doesn't get fired at all. I've also tried subscribing to Dynamicweb.eCommerce.ProductList.BeforeRender and checking for an empty products object, but this doens't work either.
Any suggestions on how to do this?
--
Best regards
Kurt Moskjaer Andersen