Total number of products sold

in my list of product in my ecommerce app i want to put the total number of products sold together with the relevent product info(e.i price, description, rating etc).

how to do it.

tia.

Two ways , 1) search for products > status = sold : count or 2 ) When ever an item is sold add +1 to a database item and refundended -1 to that counter. 2nd way is the optimal way

1 Like

thanks