fmdd / sylius-sorting-plugin
Sorting plugin for Sylius
Installs: 392
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:sylius-plugin
Requires
- php: ^7.3
- sylius/sylius: 1.7.*
Requires (Dev)
- behat/behat: ^3.4
- behat/mink: ^1.7@dev
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- friends-of-behat/page-object-extension: ^0.3
- friends-of-behat/suite-settings-extension: ^1.0
- friends-of-behat/symfony-extension: ^2.0
- friends-of-behat/variadic-extension: ^1.1
- lakion/mink-debug-extension: ^1.2.3
- phpstan/phpstan-doctrine: ^0.10
- phpstan/phpstan-shim: ^0.10
- phpstan/phpstan-symfony: ^0.10
- phpstan/phpstan-webmozart-assert: ^0.10
- phpunit/phpunit: ^6.5
- sensiolabs/security-checker: ^5.0
- sylius-labs/coding-standard: ^2.0
- symfony/browser-kit: ^3.4|^4.1
- symfony/debug-bundle: ^3.4|^4.1
- symfony/dotenv: ^4.2
- symfony/intl: ^3.4|^4.1
- symfony/web-profiler-bundle: ^3.4|^4.1
- symfony/web-server-bundle: ^3.4|^4.1
Conflicts
- symfony/browser-kit: 4.1.8
- symfony/dependency-injection: 4.1.8
- symfony/dom-crawler: 4.1.8
- symfony/routing: 4.1.8
- symfony/symfony: 4.1.8
This package is auto-updated.
Last update: 2024-10-12 16:47:18 UTC
README
FM2D - SyliusSortingPlugin
FM2D is a Web Agency publisher of Sylius plugins and open source actor. Since 2016, we strive to produce useful plugins to improve your e-commerce store. FM2D also offers you a first class technical support and customer service.
Summary
Overview
- Sort products or taxons inside a taxon by simple drag and drop
- Well-arranged overview of all taxons/products in the taxon
- Disabled taxons/products greyed out
- Direct links into taxon/product details
- Optionally hidden taxon tree to get even more space
Installation
Step 1: Download the plugin
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require fmdd/sylius-sorting-plugin
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the plugin
Then, enable the plugin by adding it to the end of the list of registered plugins/bundles
in config/bundles.php
file of your project.
<?php # config/bundles.php return [ // ... Setono\SyliusTrustpilotPlugin\SetonoSyliusTrustpilotPlugin::class => ['all' => true], FMDD\SyliusSortingPlugin\FMDDSyliusSortingPlugin::class => ['all' => true], // ... ];
Step 3: Add the plugin routing to your application
# config/routes/sylius_admin.yaml sylius_sorting_plugin: resource: "@FMDDSyliusSortingPlugin/Resources/config/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
Additional resources for developers
To learn more about our contribution workflow and more, we encourage you to use the following resources:
License
This plugin's source code is completely free and released under the terms of the MIT license.
Contact
If you have any questions, feel free to contact us by filling our form on our website or send us an e-mail at contact@fm2d.com with your question(s). We will anwser you as soon as possible !