All module settings are available on main module configuration page. Depending on PrestaShop version, this section is available under:
Just search there for "rewards" module and hit configure button near the "voucher after order - rewards module".
Main configuration page of addon has 4 sections:
This section allows to configure how the module will behave globally. Below you can find explanation of each field available in this configuration form.
Select order states
Select order states. Module will send voucher codes for orders that are marked with status selected below. For exmaple - we checked "Delivered" order status. Module will generate voucher code only if order status of selected order will be also "Delivered". Thanks to this you can generate voucher codes only for real orders, for customers that paid for an order etc. Great protection feature for you ;)
Reward counter type
Reward counter option defines how module will check permission to receive reward in context of number of placed orders. For example you can define voucher code for 5 purchases in shop. Or generate voucher code for range of purchases 1-6.
Possible values:
Time frame
By default module check all orders in shop to verify how many orders customer placed or how many rewards it received. But it is not only one available workflow method. This plugin allows to define also exact time fram. Thanks to this addon will generate voucher code only if order was placed during the specific time, and number of placed orders will be calculated from orders placed during this time frame as well. So, module has two possible values:
Cron Job
If you will turn "Cron job" option on - coupons will not be send after you will change the order status on order detail page. To send voucher codes for customers' orders you will need to run cron job task. It will be required to create cron job taks in your cron job's feature (for example in your hosting control panel or in prestashop's cron tab feature) where you need to add url generated in your shop's back office. You can find such url above, if blue information field - in your shop it looks exactly the same - but the url is different of course ;)
Send reward after X days
This option is applicable only for Cron Job voucher delivery method. This feature allows to send coupons with delay. Just type the number of days and thanks to this module will send voucher code after X days from order date. For exmaple, you set value of this option to "14". This means that voucher code will be delivered with 14 days delay. Let's say that customer placed an order of 1 JAN 2019 - module will send voucher code for purchase on 15 JAN 2019 (1 JAN 2019 + 14 days delay). If you do not want to use the delivery delay, just type there 0 - voucher codes will be generated immediately.
How to create cron job?
There are several ways of creating own cron task. You can do it directly in shop's back office, as well as in your hosting control panel (usually hosting providers offers management panel of hosting account, where you can find many useful features - including Cron Job scheduler. Becuase of such various ways we decided to release article: Read how to create cron jobs