Command-line interface (CLI) commands for Reward Points module
All of the commands runs by cron, but if you need to check or troubleshoot something you can use the following commands:
Activate inactive reward point transactions
bin/magento mirasvit:rewards:activate-transaction
This command activates inactive reward point transactions for customers. It can be useful if there are pending transactions that haven't been activated yet. After running this command, any transactions that were set as inactive will be activated, making the reward points available for use by customers.
This command starts up at minute 0 past every 4th hour by cron.
Clear the reward purchase table
bin/magento mirasvit:rewards:clear-purchase
This command clears the reward purchase table, which stores data related to reward point purchases. Running this command will clear the data from the reward purchase table, which may be useful for maintenance or troubleshooting.
This command starts up at minute 0 past every 4th hour by cron.
Emulate the execution of rewards cron jobs
bin/magento mirasvit:rewards:emulate:cron
This command emulates the execution of rewards cron jobs, allowing you to manually trigger cron processes that are responsible for processing rewards-related tasks such as crediting points according to behavior rules, calculation of used points and sending corresponding reward emails to customers. Run this command to manually simulate the behavior of the scheduled cron jobs that handle reward points calculations or actions.
This command starts up every minute by cron.
Refresh the reward points report statistics
bin/magento mirasvit:rewards:refresh-statistic
This command refreshes the reward points report statistics, ensuring the data shown in reports is up to date. Run this command to regenerate and refresh the rewards report statistics for accurate reporting.
This command starts up everyday at 00:30 or by clicking the button Refresh statistics
Update customer tiers
bin/magento mirasvit:rewards:update-tiers
This command updates customer tiers, adjusting their tier level based on the rules set for your rewards program. Running this command will recalculate and update the customer tiers according to the rules you've configured in your rewards program.
This command starts up everyday at 00:30 by cron.