SyliusElasticsearchPlugin icon indicating copy to clipboard operation
SyliusElasticsearchPlugin copied to clipboard

Missing template files mentioned in the documentation of the plugin

Open SofianeHamlaoui opened this issue 6 months ago • 1 comments

You have 2 files that are mentioned in the documentation but they're not available anymore in Sylius 2.

_verticalMenu.html.twig & _horizontalMenu.html.twig

SofianeHamlaoui avatar May 28 '25 08:05 SofianeHamlaoui

+1

How its possible to add faceted search to left menu now?

integritty avatar Jun 25 '25 12:06 integritty

Yes. The menu should display by default for the route: /{_locale}/taxons/{slug}

For example: host/en_US/taxons/t-shirts/women

It is important that the routing.yml from the plugin are loaded before sylius_shop:

bitbag_sylius_elasticsearch_plugin:
    resource: "@BitBagSyliusElasticsearchPlugin/config/routing.yml"

sylius_shop:
    resource: "@SyliusShopBundle/Resources/config/routing.yml"
    prefix: /{_locale}
    requirements:
        _locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$

tomkalon avatar Jul 03 '25 13:07 tomkalon

@tomkalon Working for me, but i am missing now category tree from default Sylius. How i can show them up back?

And i also missing some products which are be previously showed up on taxon detail (after routing fix you provided). I maked new populate using bin/console fos:elastic:populate.

integritty avatar Jul 06 '25 15:07 integritty