Magento Autocomplete Dropdown Adding SKU


I have the SKU attribute set as a searchable attribute,

How can I show the product SKU in the auto complete drop down menu?

I’m unable to find a tutorial for displaying custom attributes in the autocomplete dropdown menu.

Thank you,


Hello Ben,

you’ll have to update the template which displays products in autocomplete menu.
You can learn how to do it in documentation:

HI Jan,

I’ve completed this now and successfully added the SKU to the autocomplete dropdown.

Thank you,


I did found a way to fix it. Changes in the file below show how to fix it.

I did get it working with the code below on my : Windows 10 system, so i hope you others can get it working also on your sites.