Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bagisto/bagisto-reward-points

The Laravel eCommerce Reward Points module allows the admin to reward its customers with points
https://github.com/bagisto/bagisto-reward-points

ecommerce laravel opensource reward-points

Last synced: 4 days ago
JSON representation

The Laravel eCommerce Reward Points module allows the admin to reward its customers with points

Awesome Lists containing this project

README

        

# Introduction

Bagisto Reward System allows the admin to create reward at the back-end.
It packs in lots of demanding features that allows your business to scale in no time:

- Admin can add Attributes rewards.
- Admin can add Category rewards.
- Admin can add Product rewards.
- Admin can add Cart rewards.
- Reward are calculated based on Attribute/Category/Product/Cart.
- Admin can view all the users and all the reward based on order.

## Requirements:

- **Bagisto**: v1.3.2.

## Installation :
- Run the following command
```
composer require bagisto/bagisto-reward-points
```

- Goto config/concord.php file and add following line under 'modules'
```php
\Webkul\Rewards\Providers\ModuleServiceProvider::class
```

- Run these commands below to complete the setup
```
composer dump-autoload
```

```
php artisan migrate
php artisan route:cache
php artisan config:cache
```
```
php artisan vendor:publish --force
```
-> Press the number before RewardsServiceProvider and then press enter to publish all assets and configurations.

> now execute the project on you

## Commands For DOB and Expire Check:

- For Date of birth Reward And Check the reward is expired or not For Customer

- Command

- php artisan dob:cron (for Date of birth )
- php artisan reward:expire (for Check the reward is expired or not)

- Go to app/Console/Kernel.php And Replace the below code

```
command('booking:cron')->dailyAt('3:00');
$schedule->command('dob:cron')->daily();
$schedule->command('reward:expire')->daily();
}

/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');
$this->load(__DIR__.'/../../packages/Webkul/Core/src/Console/Commands');
$this->load(__DIR__.'/../../packages/Webkul/Rewards/src/Console/Commands');

require base_path('routes/console.php');
}
}
```