Download the PHP package setono/sylius-review-plugin without Composer
On this page you can find all versions of the php package setono/sylius-review-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setono/sylius-review-plugin
More information about setono/sylius-review-plugin
Files in setono/sylius-review-plugin
Package sylius-review-plugin
Short Description Send review requests to your customers
License MIT
Informations about the package sylius-review-plugin
Sylius Review Plugin
Send review requests to your customers to receive reviews for your store.
The plugin will create a review request upon customers completing an order. After an initial delay (configurable), a review request will be sent as an email to the customer asking them to review your store.
When processing a review request (i.e. trying to send it), the plugin will run an eligibility check to see if the review request is eligible to be sent. You can hook into this process to decide whether a review request should be sent or not.
Installation
Add plugin class to your bundles.php
:
Make sure you add it before SyliusGridBundle
, otherwise you'll get
You have requested a non-existent parameter "setono_sylius_review.model.review_request.class".
exception.
Update your database
Run commands
There are two commands in this plugin. One for processing review requests and one for pruning the review request table.
You decide yourself how often you want to run these commands. The process command makes sense to run daily, while the prune command can be run weekly or monthly.
Configuration
Add eligibility checker
You can add your own eligibility checker by implementing the Setono\SyliusReviewPlugin\EligibilityChecker\ReviewRequestEligibilityCheckerInterface
.
When you implement the interface, your service will automatically be added to the list of eligibility checkers.
However, if you don't use autoconfiguration, you need to tag your service with setono_sylius_review.review_request_eligibility_checker
.
Mail tester plugin
If you use the mail tester plugin you can test the review request email
directly from the admin interface. Just go to https://your-store.com/admin/mail/tester
and select the setono_sylius_review__review_request
in the Subjects
dropdown.
All versions of sylius-review-plugin with dependencies
doctrine/orm Version ^2.0
doctrine/persistence Version ^2.0 || ^3.0
ocramius/doctrine-batch-utils Version ^2.4
psr/event-dispatcher Version ^1.0
psr/log Version ^1.1 || ^2.0 || ^3.0
setono/composite-compiler-pass Version ^1.1
setono/doctrine-orm-trait Version ^1.0.1
sylius/core Version ^1.0
sylius/core-bundle Version ^1.0
sylius/mailer-bundle Version ^1.8 || ^2.0
sylius/order Version ^1.0
sylius/resource-bundle Version ^1.6
symfony/config Version ^5.4 || ^6.4 || ^7.0
symfony/console Version ^5.4 || ^6.4 || ^7.0
symfony/dependency-injection Version ^5.4 || ^6.4 || ^7.0
symfony/event-dispatcher Version ^5.4 || ^6.4 || ^7.0
symfony/http-kernel Version ^5.4 || ^6.4 || ^7.0
symfony/workflow Version ^5.4 || ^6.4 || ^7.0
webmozart/assert Version ^1.11