locastic / sylius-comparer-plugin
Sylius plugin for comparing different products and allowing user to decide which product to put further in cart.
Installs: 1 083
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 7
Forks: 10
Open Issues: 1
Type:sylius-plugin
Requires
- php: ^7.1
- sensio/generator-bundle: ^3.1
- sylius/sylius: 1.1.*
Requires (Dev)
- behat/behat: ^3.3
- behat/mink: ^1.7
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- friends-of-behat/context-service-extension: ^1.0
- friends-of-behat/cross-container-extension: ^1.0
- friends-of-behat/service-container-extension: ^1.0
- friends-of-behat/symfony-extension: ^1.0
- friends-of-behat/variadic-extension: ^1.0
- lakion/mink-debug-extension: ^1.2.3
- phpspec/phpspec: ^4.3
- phpstan/phpstan-shim: ^0.9.2
- phpunit/phpunit: ^6.5
- se/selenium-server-standalone: ^2.52
- sylius-labs/coding-standard: ^1.0
- symplify/easy-coding-standard: ^2.4
This package is auto-updated.
Last update: 2024-10-15 21:06:49 UTC
README
Demo
To Do
Overview
Locastic comparer is Sylius Plugin for comparing store products. This plugin allows you to easily embody action of comparing products before adding them into cart in Sylius.
Installation
$ composer require locastic/sylius-comparer-plugin
Add plugin dependencies to your AppKernel.php file:
public function registerBundles() { return array_merge(parent::registerBundles(), [ ... new \Locastic\SyliusComparerPlugin\LocasticSyliusComparerPlugin(), ]); }
Usage
Inside Sylius shop add links to access comparer, and link to add shop product to comparer. Accessing comparer through link allows user to see comparer page with table of compared products and theirs attributes. Also, user has option of removing single product from comparer, or adding it further to shop cart.
Testing
$ composer install $ yarn install $ yarn run gulp $ (cd tests/Application && bin/console assets:install web -e test) $ (cd tests/Application && bin/console doctrine:database:create) $ (cd tests/Application && bin/console doctrine:schema:create -e test) $ (cd tests/Application && bin/console sylius:fixtures:load) $ (cd tests/Application && bin/console server:run 127.0.0.1:8080 -d web -e test) $ open http://localhost:8080 $ bin/behat $ bin/phpspec run
Contribution
Learn more about our contribution workflow on http://docs.sylius.org/en/latest/contributing/.
Support
Want us to help you with this plugin or any Sylius project? Write us an email on info@locastic.com