If your store has a "sort by popularity" option on the shop page, you may notice that the products Robot Ninja is testing every day will start creeping to the top of this query.
In order to tell Robot Ninja to not increment the number of product total sales when purchasing a product during a test, there's a few options you can choose from:
- Tell Robot Ninja to use a hidden test product which you have created solely for testing purposes (link to documentation).
- Update your wp-config.php file to include the following code snippet below. Defining this constant in your wp-config.php will tell WooCommerce to not add a +1 to the number of total sales for all products found in a Robot Ninja test order - any other order is not effected.
define( 'RN_UPDATE_PRODUCT_SALES_COUNT', false );
Keep in mind that you must be running at least version 1.10.0 of the Robot Ninja Helper plugin in order to make use of the constant above.
If you need assistance adding this line of code to your
wp-config.php file, the Editing wp-config.php article on the WordPress Codex is a good place to find help, or if you have any other questions/issues, don't hesitate to contact us.