Download the PHP package asdoria/sylius-configurator-plugin without Composer
On this page you can find all versions of the php package asdoria/sylius-configurator-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asdoria/sylius-configurator-plugin
More information about asdoria/sylius-configurator-plugin
Files in asdoria/sylius-configurator-plugin
Package sylius-configurator-plugin
Short Description Create the Product configurator - Product customization for you shop
License MIT
Informations about the package sylius-configurator-plugin
Asdoria Configurator Plugin
Product Configurator Improve the customer experience in a visual and intuitive environment to boost your sales ! Configure complex products easily in the back office of Sylius.
Features
- We created the configurator based on our years of experience. We learned that a configurator must be flexible and easy to maintain.
That's why this configurator is built as close as possible to the Sylius model in an intelligent way. It is based on the Product Attributes and solves complex problems while keeping its simplicity.
Installation
-
Run
composer require asdoria/sylius-configurator-plugin
-
Add the bundle in
config/bundles.php
. You must put the Configurator plugin line ABOVE SyliusGridBundle -
Import routes in
config/routes.yaml
-
Import config in
config/packages/_sylius.yaml
-
Paste the following content to the
src/Repository/ProductAttributeRepository.php
: -
Configure repositories in
config/packages/_sylius.yaml
: -
Paste the following content to the
src/Entity/Order/OrderItem.php
: -
Paste the following content to
templates/bundles/SyliusShopBundle/Product/_info.html.twig
: - Paste the following content to
templates/bundles/SyliusAdminBundle/Product/_info.html.twig
:
Demo
You can try the Configurator plugin online by following this link.
Note that we have developed several other open source plugins for Sylius, their demos and documentations are listed in the following link.
Shop Usage
- In the front-office, go to /en_US/configurators/{slug} route. here!
- You can use your own Javascript (VueJs, React, etc..) with ajax requests route to get the structure of the configurator. And after POST the payload in /en_US/configurators/{slug} route
Back-office Usage
- In the back-office, go to configurators route.
- Click on Step Management and create your different steps for your configurator.
-
Create your first configurator.
- Choose your target products and your calculator.
- Go to the configurator items page to manage your rows. It is possible to create an attribute item row or an additional item row. If the attribute item row matches a multiple selection attribute, you can specify the available choices for each product in the product sheet.
- Go to the front-office /en_US/configurators/{slug} route.
Contributing
You can open an issue or a Pull Request if you want! Thank you!