# Search By Product SKU

```
Search Sources -> Post Type Search -> Search in custom fields
```

### Regular engine (default)

* Under the **Search Sources -> Post Type Search** panel scroll down a bit until you see the **Search in all custom fields? ..or search in selected custom fields** option.
* Into the search input, type "sku". The field "\_sku" should show up.
* Drag the \_sku field to the right side and save the settings.

<figure><img src="https://1706764988-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9jkFgNo4lpUof35gvS%2Fuploads%2F7MV0TysEP2inPGKYZ0CE%2Fimage.png?alt=media&#x26;token=28ab9090-e5dc-4fef-9b56-5efd4c0f3de6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1706764988-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9jkFgNo4lpUof35gvS%2Fuploads%2FTt1J2ILfEncEhSk2eWDt%2Fimage.png?alt=media&#x26;token=f6eebab3-50b0-415c-ace7-e91cbab18b6e" alt=""><figcaption></figcaption></figure>

### Index Table engine

For this to work, you need to have a [configured](https://documentation.ajaxsearchpro.com/index-table#index-table) and [enabled](https://documentation.ajaxsearchpro.com/index-table/enabling-index-table-engine) index table engine.

* On the Index Table -> General panel scroll down until you see the **Index Custom Fields** option
* Into the search input type "sku"
* The field "\_sku" should display
* Drag the field to the right side, and save the settings
* Click the "Create new Index" button (green button on the top) to index the newly added field

![](https://1706764988-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9jkFgNo4lpUof35gvS%2Fuploads%2FGz6AM3PXFwdRYBj5Rwnn%2Fimage.png?alt=media\&token=743e501b-2543-4ec4-a00a-72add856a850)
