ElasticsuiteAddons

GitHub - magesuite/elasticsuite-addons

This module provides additional features for Elasticsuite.

 

Installation

This module is part of MageSuite metapackage

 

Installation if metapackage is not used:

composer require "creativestyle/magesuite-elasticsuite-addons" ^1.0.0

Admin settings

Module settings are located in several places in the admin panel:

Stores -> Configuration -> Catalog -> Catalog -> Catalog filters

Settings:

Field

Options

Comment

Field

Options

Comment

Minimum filter options qty to show filter

Default value: 0

Hide filters if filter options qty less then X

 

Stores -> Configuration -> ElasticSuite -> Catalog search -> Catalog search configuration

Settings:

Field

Options

Comment

Field

Options

Comment

Always inject autocomplete phrases into search query

Yes/No 

 

Autocomplete phrases will be always generated and added to search query typed into search field. For example when searching for "polo" autocomplete phrases like "polo shirt" will also be added to search query.

Inject autocomplete phrases into search query when original search returned no results

Yes/No 

 

If specific search finds no results, Magento will try to generate autocomplete phrases and use them as query. That way some relevant results might get returned.

Inject autocomplete phrases into search query when original search returned less than X results

Default value: 10

Autocomplete phrases will be generated and added into search query typed into search field only if less than defined in above field amount of products was returned for original search query.

 

Displayed when Always inject autocomplete phrases into search query is set to No

 

Stores -> Configuration -> ElasticSuite -> Miscellaneous -> Routing Settings

Settings:

Field

Options

Comment

Field

Options

Comment

Enable ElasticSearch Virtual Category Router

 Yes No 

 

When enabled ElasticSuite will try to display a virtual category when only part of the URL is matched against the original category URL.
For example when the original category has URL "en/women" then URL en/shirts/women will also display the same category because it will match it based on the "women" part.
Enabling this feature might cause duplicated content and SEO side effects, enable with caution.

Backend

Backend documentation in progress.

Frontend

On the frontend the only change is removal of Elasticsuite footer:

<referenceBlock name="elasticsuite_footer" remove="true"/>