Hey there i am experimenting with woocomerce and i wonder if this is possible.
I have a user and the user can make a CPT. on this custom post type he can make products. The products are related to the CPT.
This works fine for me. Now the tricky part.
Now i want to show on the Custom post type for that user multiple things:
1. a total sum of the money he made from all his products. (like an addup from all product prices of the sold products)
2. orderdetails (Name, zipcode, adress...) from all orders to his products.
3. the total number of sold products from him. (like he sold 2 from product A and 4 of product B = 6 items in total)
Maybe there is a possibility in building a shortcode from a wpquery e.g. for 1. & 3?
Hope this is makeable!
Thank you.