The one thing missing from Woocommerce filter widgets is the ability to search by items on sale. Users want a way to view sale items in their filtered search. Having this as a part of your plugin could really help.
Add On Sale Filter to Widgets
lifebeforeplastic shared this feature
November 24, 2017
March 1, 2021 @ 5:41 pm
This was added in the beta version about 6 months ago – I’ve still to document how it works, although it’s pretty clear from the settings page – you can either have ?onsale=1 (or whatever URL parameter you wish) or you can have /sale/dogs/ etc so /sale/ would come before your filters.
In addition, the beta version allows you complete control over how these on sale pages behave for googlebot – e.g. you have separate control over indexing the onsale pages as well as canonical, nofollow and noindex control. You can ommit onsale pages from googlebot if they have fewer than X items, or if they have more than Y attributes selected, or if they have more than Z values per attribute selected.
The on sale pages will be included in the upcoming complete top & bottom text control feature upgrade which will allow you granular level control over text above and below your product pages.