1

I need to get the number of times a certain product is sold or ordered. I should show this in product page

2
  • means? please clear question?
    – Amit Bera
    Jun 18, 2016 at 11:52
  • I need to get the number of times a certain product is sold or ordered. I should show this in product page . @AmitBera Jun 20, 2016 at 7:10

1 Answer 1

0

Probably the simplest way is to count orders / invoices containing the product. It's also probably the most accurate approach.

1
  • Can you give more details about this method, maybe some code. Jun 20, 2016 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.