da22cbdc9d
* Change check for returning customers to check customer_id * Count distinct returning and new customers in totals * Fix priority action misplacement and order date timestamp * Change expected num returning/new customers to fix failing tests Previously these included references to number of returning vs new orders. Update to refer to the newly updated customer count. * Use new get_customer_id_by_user_id() to get customer ID * Fix 0 returning customers expectation * Move returning customer function to order stats data store * Sync order stats on order delete * Change date compare for is_returning_customer * Add test case for returning customer order * Add references to instead of 2 |
||
---|---|---|
.. | ||
class-wc-tests-reports-coupons-stats.php | ||
class-wc-tests-reports-coupons.php | ||
class-wc-tests-reports-orders-stats.php | ||
class-wc-tests-reports-products.php | ||
class-wc-tests-reports-revenue-stats.php | ||
class-wc-tests-reports-variations.php |