How can I show the Sales Report for particular user? I use Drupal 7 and the Drupal Commerce module.

My site has 3 roles defined:


Admin, who can publish and unpublish product of affiliate.
Affiliate, who can add the product in the site.
Learner who can see the show the all product and but the product.


My question is related to a learner buying a product which was added by an affiliate:


When an affiliate checks the sales reports, then the report is null.
But when an admin checks the sales reports, then it displays all functionality in the reports.
And a learner can also check the sales reports.


So how can I solve these issues? Why are affiliate sales reports null?
Attempt to answer the "Why does an affiliate get an empty report?" part of your question (which I believe is part of your question): could it be related to some "permission" you have not granted to an affiliate (yet)?

Here are a few links related to permissions that may be helpful:


Drupal Commerce issue nr 1303194.
What&#39;s the explanation for my product permission issue in a Drupal Commerce view? (and/or some of the "related" questions there).