Typing suggestions

Adjust per-locale price formatting in the Translations json.

<script>
function LBInitAutocomplete() {
  AutoComplete({
    Layout: 'heromobile',
    TrackerId: '179075-204259',
    Locale: 'en',
    TypingSuggestions: true,
    Translations: {
      en: {
        types: {
          item: {
            name: "Products",
            heroName: "Top product"
          },
          query: {
            name: "Searches"
          },
          category: {
            name: "Categories"
          }
        },
        priceFilter: {
          minimumFractionDigits: 0,
          maximumFractionDigits: 2,
          prefixed: true,
          symbol: '$'
        }
      }
    },
    Types: [
      {
        type: 'product',
        size: 7
      },
      {
        type: 'query'
      },
      {
        type: 'category'
      }
    ]
  }, '#q')
}
</script>

<script src="https://cdn.luigisbox.com/autocomplete.js" async onload="LBInitAutocomplete()"></script>
Previous example
Grid
Hero layout examples

Try it out →

Next example
Customizing no results message
Hero layout examples

Try it out →