In “my account” i need get orders purchased with 0 usd at cost


I dont know if this was asked previously but i was unable to find anything similar even out of this board.

The point is that in woocommerce, my account section, i need to display in a custom tab (i know how to do the custom tab) all orders that has the user with price 0 usd. If an order has that price its because tha admin site gifted him/her that product and woocommerce place the order besides the user.

The user/client just see a new order placed with price 0 usd.

How’d i list all orders with that settings? (orders with 0 usd as price)

Any reference code?

Thank you =)

Jose Daniel 2 years 2020-12-17T20:10:25-05:00 0 Answers 7 views 0

Leave an answer