Forums › Forums › Search & Filter Pro › filter for sale products
- This topic has 6 replies, 2 voices, and was last updated 5 years, 6 months ago by
Trevor.
-
Trevor(Private) October 28, 2019 at 2:31 pm #224789
Sadly, WooCommerce does not have a meta key to indicate ‘on sale’ (AFAIK) so there is not a lot that can be done.
If you were to look at the code for the WooCommerce
[sale_products]
shortcode, you would see how convoluted it is to work out which ones are on sale. It also creates a lot of query calls to the database.Anonymous(Private) October 28, 2019 at 2:52 pm #224808Sorry for license expiration. It should be active now.
I understand. But all other filter plugins has this option.
It could be enough to check if sale_price is not NULL.I think that as robust filter as S&F is, should have this option, even for the “price” of more DB requests (maybe with warning note for users).
Is it really impossible to achieve this feature with S&F (nor with simple plugin update) ?
Maybe if you can hint me for plugin update I should shift these hints to my programmer.I hope, that my license reactivation was not useless :/
-
AuthorPosts