lifestyle/sylius-base-theme-plugin

There is no license information available for the latest version (1.2.0) of this package.

Extensions for Life-Style Sylius Base Theme

1.2.0 2019-04-16 08:32 UTC

This package is not auto-updated.

Last update: 2020-07-31 20:42:18 UTC


README

Requirements

Sylius 1.3

Installation

The repositories are private. You have to add them to your projects composer.json. Make sure you have access to the repositories.

{
  "name": "your-project",

  ...

  "repositories": [
    {
      "type": "git",
      "url": "ssh://git@stash.life-style.de:7999/lcp/lifestylesyliusbasethemeplugin.git"
    }
  ]
}

Install the package.

composer require lifestyle/sylius-base-theme-plugin

Configuration

If product-lists are handled by Sulu, implement your customized route-generator. The class has to implement the Lifestyle\Sylius\BaseTheme\Templating\Helper\BreadcrumbPathHelperInterface and overwrite the service lifestyle.sylius.base_theme.breadcrumb_path_generator. Then enable the router:

_config/packages/lifestyle_sylius_base_themeplugin.yaml

lifestyle_sylius_base_theme:
  product_list_in_sulu: true