Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have something similar, which sorts based on subcategory position and also sorts based on attribute value position (not attribute value name). Mysql it works fine, ElasticSearch - I've tried using using both afterSetCollection and aroundSetCollection, however I have been unsuccessful at reordering the ElasticSearch results. Did you get any futher?
You'd have to think about it the other way round. So if treat the product price as 0 - but you customise it to add $200. In this case you would add 0. But your other options may add $200 Example. Product price: 0 Add Installation: $200 No Installation: 0
Poster just said M2... Anyway, 2.2 - 2.4 should be fine. But tested on 2.3 - 2.4. 2.2 was just terrible branch of M2 and hopefully everyone has upgraded to 2.3 now.