Scheduled Tasks/ Cronjobs

Check for expired points

As described in bonus point activation, you can specify a period after which unused bonus points automatically expire. This calculation is executed each time the customer logs in, however you can also run the check via the command line, either manually or using a cronjob:

./bin/console prems:bonus-system:set-expired-points

Bonus points activation

You can configure this activation process in the settings for automatic point activation. If the defined conditions are met, the customer receives the points either after logging in or when the scheduled task is automatically performed by Shopware. The task prems_bonus_system.bonus_point_activation_task is automatically created in Shopware upon plugin installation, and typically, no adjustments are needed here.

E-Mail notification for expiring points

If you have configured it and a reminder e-mail before the points expire was set up, the scheduled task prems_bonus_system.points_expiration_notification_task is executed automatically by Shopware. A customer with expring points will get a notification e-mail automatically.

Last updated

Was this helpful?