Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.22 KB

add_custom_values.md

File metadata and controls

20 lines (13 loc) · 1.22 KB

Add custom values to your indexed entity

Add custom value for a product

In our example we will add the short_description product field to the indexed content.

You will have the item.short_description variable available in your templates.

Search on the custom value

With only the decorator, you will not be able to search in the content of the new field. You have to change parameters to define the fields to search for the search page and the instant search.