This plugin saves contact requests made on the native form into the database allowing us to see them in the back-office of Sylius.
Install the plugin via composer:
composer require monsieurbiz/sylius-contact-request-plugin
Submit a contact request from the native contact form. Them go in the back-office in the customer menu node you will have a new menu 'contact requests', click on it and you can see a grid with the contact requests created. Obviously, this plugin is not retroactive and contact requests made before the plugin was installed will not be displayed.
Change your config/bundles.php
file to add this line for the plugin declaration:
<?php
return [
//..
MonsieurBiz\SyliusContactRequestPlugin\MonsieurBizSyliusContactRequestPlugin::class => ['all' => true],
];
Copy the plugin configuration files in your config
folder:
cp -Rv vendor/monsieurbiz/sylius-contact-request-plugin/recipes/1.0/config/ config
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!
This plugin is completely free and released under the MIT License.