Try to search your question here, if you can't find : Ask Any Question Now ?

How to display WooCommerce customer past total order's count on new order email notifications to the admin?

HomeCategory: stackoverflowHow to display WooCommerce customer past total order's count on new order email notifications to the admin?
Avatarjulie asked 5 months ago

I’m needing to have a customer’s total completed order count displayed on the new order emails going to the admin of the store. On Get customer order count in new order email notification answer, but I’m not getting back the total completed orders. I’m also wanting it to display a message to alert the admin if it’s a customers first order.

I’ve linked the current script I’m using as an example, but it does not give accurate total past orders and I need it to gather counts by billing email address. I would like to only count completed orders also.

1 Answers
Best Answer
AvatarMatthias answered 5 months ago
Your Answer

10 + 5 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com