Hey @anandmongol!
Thank you for contacting us about our WooCommerce Extra Product Sorting Options plugin. I’m happy to help!
It’s a good question, simple products and variable products use two different “keys” to indicate if they’re on sale. As a result, we can’t order products using two different meta keys, so we’ve used the key that indicates a simple product’s sale price in this plugin.
We don’t anticipate changing this in the foreseeable future, as we’ve spent a couple of hours trying to get the custom search query to work, but WooCommerce core adds search parameters that conflict with it, and we haven’t found a suitable workaround.
I’m happy to log a feature request on your behalf though! These are passed to our product team for review. I can’t guarantee that this will make it onto our development roadmap, as we base our product improvements on a number of factors, including how many times we receive a particular request. I’d recommend keeping an eye on the changelog, and checking out our email newsletter, as we send out regular development updates.
Again, thank you for the feedback! Is there anything else I can help out with?
Cheers,
Simon.