All Projects → monsieurbiz → SyliusSettingsPlugin

monsieurbiz / SyliusSettingsPlugin

Licence: MIT License
Provide some custom settings to your favorite Sylius shop!

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects
Makefile
30231 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to SyliusSettingsPlugin

CoopTilleulsSyliusClickNCollectPlugin
Sell and deliver securely during the COVID-19 pandemic!
Stars: ✭ 77 (+352.94%)
Mutual labels:  sylius, sylius-plugin
SyliusAkeneoPlugin
This Sylius plugin allows you to import data from Akeneo PIM
Stars: ✭ 17 (+0%)
Mutual labels:  sylius, sylius-plugin
SyliusCmsPagePlugin
A Sylius plugin to manage your CMS pages
Stars: ✭ 26 (+52.94%)
Mutual labels:  sylius, sylius-plugin
SyliusInvoicingPlugin
This plugin enables generating invoices in Sylius platform application.
Stars: ✭ 21 (+23.53%)
Mutual labels:  sylius, sylius-plugin
SyliusSchedulerCommandPlugin
Schedule Symfony Commands in your Sylius
Stars: ✭ 25 (+47.06%)
Mutual labels:  sylius, sylius-plugin
SyliusBannerPlugin
Add Banners to your Sylius projects with this plugin
Stars: ✭ 13 (-23.53%)
Mutual labels:  sylius, sylius-plugin
SyliusWishlistPlugin
This plugin allows you to integrate wishlist features with Sylius platform app.
Stars: ✭ 51 (+200%)
Mutual labels:  sylius, sylius-plugin
SyliusReportPlugin
Report Plugin for Sylius. This plugin add a report interface to the Sylius administration. Some reports comes with this bundle but you can create your custom reports.
Stars: ✭ 25 (+47.06%)
Mutual labels:  sylius, sylius-plugin
SyliusFeedPlugin
Create feeds in your Sylius shop
Stars: ✭ 20 (+17.65%)
Mutual labels:  sylius, sylius-plugin
SyliusPayUPlugin
PayU payment plugin for Sylius applications.
Stars: ✭ 21 (+23.53%)
Mutual labels:  sylius, sylius-plugin
CustomerOrderCancellationPlugin
Plugin that allows customers to cancel the placed order before it is processed.
Stars: ✭ 22 (+29.41%)
Mutual labels:  sylius, sylius-plugin
SyliusInvoicePlugin
A Plugin for Sylius to generate invoices (! deprecated, use sylius/invoicing-plugin instead)
Stars: ✭ 13 (-23.53%)
Mutual labels:  sylius
ezplatform-sylius
eZ Platform and Sylius eCommerce integration
Stars: ✭ 31 (+82.35%)
Mutual labels:  sylius
PayPalPlugin
Official integration with PayPal Commerce Platform
Stars: ✭ 21 (+23.53%)
Mutual labels:  sylius
SyliusProductBundlePlugin
This plugin allows you to create new products by bundling existing products together.
Stars: ✭ 17 (+0%)
Mutual labels:  sylius-plugin
sitemap-plugin
Sitemap Plugin for Sylius eCommerce platform
Stars: ✭ 68 (+300%)
Mutual labels:  sylius
Jedisjeux
Boardgames website, based on Symfony framework and Sylius.
Stars: ✭ 13 (-23.53%)
Mutual labels:  sylius
Sylius
Open Source eCommerce Platform on Symfony
Stars: ✭ 6,598 (+38711.76%)
Mutual labels:  sylius
BootstrapTheme
Sylius Bootstrap theme with build process based on Webpack Encore
Stars: ✭ 85 (+400%)
Mutual labels:  sylius
SyliusCustomOptionsPlugin
A Sylius plugin that adds customer options
Stars: ✭ 42 (+147.06%)
Mutual labels:  sylius

Monsieur Biz logo      Sylius logo
Monsieur Biz is a Sylius Extension Artisan partner

Settings for Sylius

Settings Plugin license Tests Status Security Status

This plugin gives you the ability to have Plugins oriented settings in your favorite e-commerce platform, Sylius.

Screenshot of the admin panel in Settings section

Installation

Install the plugin via composer:

composer require monsieurbiz/sylius-settings-plugin
For the installation without flex, follow these additional steps

Change your config/bundles.php file to add this line for the plugin declaration:

<?php

return [
    //..
    MonsieurBiz\SyliusSettingsPlugin\MonsieurBizSyliusSettingsPlugin::class => ['all' => true],
];  

Copy the plugin configuration files in your config folder:

cp -Rv vendor/monsieurbiz/sylius-settings-plugin/recipes/1.0-dev/config/ config

Update your database:

bin/console doctrine:migration:migrate

Continue to "How it works" to add your first setting for your store.

Note: you may encounter an error during the installation via composer if you let it run the scripts.
Copy the configuration files and rerun the composer require, it should work. This is due to the use of other plugins in the DI. The configuration is then required to run any console command.

How it works

As a good start you can have a look at:

Then you can get your settings using a twig function: setting().
Have a look at this example.

You can also use the DI to get your Settings, as example with the settings in the test Application app.default:

$ ./bin/console debug:container | grep app.settings.default
  MonsieurBiz\SyliusSettingsPlugin\Settings\Settings $defaultSettings                    alias for "app.settings.default"
  MonsieurBiz\SyliusSettingsPlugin\Settings\SettingsInterface $defaultSettings           alias for "app.settings.default"
  app.settings.default                                                                   MonsieurBiz\SyliusSettingsPlugin\Settings\Settings

Note: the "Settings" menu won't appear until you have at least one setting.

Contributing

You can find a way to run the plugin without effort in the file DEVELOPMENT.md.

Then you can open an issue or a Pull Request if you want! 😘
Thank you!

License

This plugin is completely free and released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].