Learn about integration with Advanced Woo Search plugin.
Advanced Woo Search is an advanced search plugin for WooCommerce stores. It supports both AJAX search results and search results page, searching inside different product fields, taxonomies search and many more.
Advanced Woo Labels has built-in integration with these search plugins. It is possible to display labels directly inside search results lists and also use special labels display conditions to hide or show specific labels for the plugin search results.
Integration with Advanced Woo Search plugin gives a feature to display labels on both search results page and AJAX results box.
There are no additional steps that you need to implement in order to display these labels. If the label display condition is matched for the current product inside search results, then this label will be visible.
Note: All labels inside AJAX results block will be displayed before product title no matter what position was set inside label settings.
So by default all labels are visible for search results. But it is also possible to use special label display conditions to hide some labels from the AJAX results box or search results page. All these conditions can be set right from the label edit page along with all other available options.
Integration with Advanced Woo Search plugin gives two additional labels display conditions:
Is inside ajax results and
Is inside results page. Meaning of these conditions is clear from their names.
Label display condition to show/hide label for products inside AJAX results box.
Simply open label edit page and inside Label condition box select
AWS: Is inside ajax results rule. Set it to Yes or No to show/hide labels for products that are inside an AJAX box.
Label display condition to show/hide label for products inside plugin search results page.
To set this display condition open label edit page, find Label condition box and select
AWS: Is inside results page rule. Set its value to Yes or No to show/hide labels for products inside the plugin search results page.
Advanced Woo Labels has a special option to disable all default
on sale badges. This is very helpful if you want to replace such badges with related AWL plugin labels.
So such an option works for Advanced Woo Search results. It is possible to hide sale badges for plugin search results and then add some custom ones created via AWL plugin.
Here is a steps to hide default
on sale badges:
1. Open Adv. Woo Labels -> Settings page.
Show default 'sale' label option and set it to
That's all! Now all your theme default sale badges and Advanced Woo Search sale badges will be hidden.
Now we can create new sale labels for all on sale products via Advanced Woo Labels plugin. Please follow these steps:
1. Open Adv. Woo Labels -> Add New page.
2. Find Label Conditions box and choose Is on sale condition. Set its value to
3. Set any other label options like label text and label styles.
4. After it is set just click the Publish button.
All is done. Now all the products that are on sale will have shiny new sale labels. Including the products inside Advanced Woo Search plugin search results ( both AJAX and search results page ).