dev-master
9999999-devAdd reward program to sylius application
MIT
The Requires
The Development Requires
by Ahmed Kooli
dev-poc_phpspec
dev-poc_phpspecAdd reward program to sylius application
MIT
The Requires
by Ahmed Kooli
Add reward program to sylius application
Reward plugin for sylius is used to give reward points to loyal customers under certain conditions. Customers can spend their earned points to have discount on future orders., (*2)
Reward plugin is customizable to satisfy the majority of e-commerce requirments. However, it's developed in a manner to make it easy for customization., (*3)
Per default, any customer is part of reward program. However, it's possible to restrict target customers to a specific list of groups., (*4)
A customer will earn reward points if he satisfy certain rules, bellow a list of v1 rules., (*5)
Also, an administrator can manually give any customer a number of reward points., (*6)
Per default, reward points can be used to apply discounts on any product. However, it's possible to black-list certain products., (*7)
$ composer require snake-tn/reward-plugin
Enable the plugin by adding the following line in the app/AppKernel.php file of your sylius project:, (*8)
// app/AppKernel.php class AppKernel extends Kernel { public function registerBundles() { $bundles = [ // ... new \SnakeTn\Reward\RewardPlugin(), ]; // ... } }
// TODO, (*9)
$ bin/console doctrine:schema:update --force
$ bin/console cache:clear
//TODO, (*10)
Add reward program to sylius application
MIT
Add reward program to sylius application
MIT