Process past orders
Process past orders

Knowledge Base

When installing WooRewards for the first time, you may want to give points for orders placed before. In order to do that, WooRewards includes a feature that will let you process past orders and give points for them.

Preparation

Before running the script, you need to have an active Points and Rewards System. If you didn’t set one, please do by following our tutorial. Make sure the system is active before proceeding.

The process can take some time, depending on the number of orders to process. We recommend to use it multiple times on small periods (1 month) instead of running it for the total period.

This procedure can lead to thousand of reward emails being sent ! Please consider disabling the reward emails if you think it might overload your server.

If you have multiple points and rewards systems active, the script will process them all. If you don’t want all systems to be processed, please turn off the ones you don’t want to process.

The script will only process orders once per points and rewards system. If you run the script again, already processed orders will be ignored. This is a security to prevent orders from giving points multiple times.

Process Past Orders

To run the procedure, go to the following page :

WordPress Admin
Admin menu
WooRewards
Menu entry
System
Page
Data Management
Tab

Enter a Start date, an End date and click on Launch the procedure. Please note it is better to process orders by small chunk.

At the end of the process, the system will tell you how many orders were processed.

Alternative method

WordPress Admin
Admin menu
WooCommerce
Menu entry
Orders
Page

Check the box at left of the orders to process. In the Bulk Actions drop-list, pick Process WooRewards Points. Then, press the Apply button.

Please note that points will not be given twice even if the same order is processed multiple times.

Removing points from an order

WordPress Admin
Admin menu
WooCommerce
Menu entry
Orders
Page

Check the box at left of the orders to process. In the Bulk Actions drop-list, pick Remove WooRewards Points. Then, press the Apply button.

After removing points, an order can be processed again using the process past order procedure.

Was this article helpful?
Dislike 0
Views: 175

Continue reading

Previous: Points formulas
Next: Data Management