Skip to content

synolia/SyliusSortingPlugin

 
 

Repository files navigation

Sorting Plugin

Features

  • Sort products in taxons by simple drag and drop
    • Well-arranged overview of all products in the taxon
    • Disabled products greyed out
    • Direct links into product details
    • Optionally hidden taxon tree to get even more space

Installation

  1. Run $ composer require mangoweb-sylius/sylius-sorting-plugin.
  2. Register \MangoSylius\SortingPlugin\MangoSyliusSortingPlugin in your Kernel.
  3. Import @MangoSyliusSortingPlugin/Resources/config/routing.yml in the routing.yml.

Usage

  • Log into admin panel
  • Click on Sorting products in the Catalog section in main menu
  • Select taxon
  • Drag and drop cards
  • Click Save positions button in the top right corner

Development

Usage

  • Create symlink from .env.dist to .env or create your own .env file
  • Develop your plugin in /src
  • See bin/ for useful commands

Testing

After your changes you must ensure that the tests are still passing.

$ composer install
$ bin/console doctrine:schema:create -e test
$ bin/behat
$ bin/phpstan.sh
$ bin/ecs.sh

License

This library is under the MIT license.

Credits

Developed by manGoweb.

About

Sort products in taxons simply by drag & drop

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 62.1%
  • Twig 17.9%
  • JavaScript 9.2%
  • Shell 5.4%
  • Gherkin 3.4%
  • CSS 2.0%