# Showing featured products first

To display featured products over non-featured within the results, a [priority group](https://documentation.ajaxsearchpro.com/result-priority-settings/priorities-by-rules-priority-groups) needs to be created. This tutorial will go through all the steps to achieve that.

Under the Ajax Search Pro menu, click on the `Priorities` submenu, then on the `Add New` button.

<figure><img src="https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9rmHbZfTKVQ7YzbIZL%2Fuploads%2FkiGfQd5h3uckVlTgEkn6%2Fimage.png?alt=media&#x26;token=db4f34b8-f4fa-4592-aed2-b3f2b3e58296" alt="" width="375"><figcaption><p>Add new priority group</p></figcaption></figure>

A popup will open. Set the following values first (see screenshot below):

* Ruleset name: **WooCommerce Featured**
* Set results priority matching the rules to: **101**
* Click on the **New rule** button afterwards

<figure><img src="https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9rmHbZfTKVQ7YzbIZL%2Fuploads%2FG1XSv4qLFhVCQizrJAp1%2Fimage.png?alt=media&#x26;token=b1da839d-5470-42e8-b71b-86035ac2f9e3" alt="" width="375"><figcaption></figcaption></figure>

Set the following Rule values (see screenshots below):

* Rule name: **Featured first**
* Rule type: **Taxonomy term**
* Operator: **IN**
* Select taxonomy terms: **Product visibility**
* In the search terms enter **featured**, and select it
* Click **Save rule** button
* Click **Save**

<figure><img src="https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9rmHbZfTKVQ7YzbIZL%2Fuploads%2FqIyHjPe1kw6qfejKJqNE%2Fimage.png?alt=media&#x26;token=16e3448e-2823-4231-a881-7758d0b25f7c" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://1744076133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9rmHbZfTKVQ7YzbIZL%2Fuploads%2F4YN6Oz285HatFVOyOQb2%2Fimage.png?alt=media&#x26;token=168cacd5-8e52-42c9-96e2-d9c77a453b28" alt="" width="375"><figcaption></figcaption></figure>

After that don't forget to click the Save Groups button, and it's done.

The plugin will now display featured products first in the search results whenever they match.
