Title: Dashboard
Last modified: September 23, 2024

---

# Dashboard

 *  Resolved [luxworx](https://wordpress.org/support/users/luxworx/)
 * (@luxworx)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/dashboard-130/)
 * Hello,
 * On the dashboard, there are not visible ohter orders than tutor courses. 
   I sell
   as well ebooks, and those purcheases are not reflected in the Dashboard > Orders
   page.

Viewing 1 replies (of 1 total)

 *  [Maizul](https://wordpress.org/support/users/maizul/)
 * (@maizul)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/dashboard-130/#post-18033264)
 * Hey [@luxworx](https://wordpress.org/support/users/luxworx/) ,
 * Thank you for reaching out with your query! Yes, it is possible to display purchased
   eBooks within the Tutor LMS dashboard, but this would require a custom modification.
   Here’s a basic outline to achieve this:
    1. **Add a Custom Filter:** First, add a filter to your theme’s `functions.php`
       file. You can refer to this image as a guide: [Sample Code](https://ibb.co.com/G9nZgGR).
    2. **Create a Template File:** Next, create a new PHP file under `tutor/templates/
       dashboard/` with the same name you’ve set for the custom menu.
    3. **Display Data:** Within the file, you can create a table to fetch and display
       the purchased eBooks. Here’s a sample snippet you can use to pull order history:
       [Sample Table Code](https://codefile.io/f/AfCwfqQ9N7).
    4. **Fetch Purchased Books:** You can adapt a sample order history table to retrieve
       the relevant purchase data: [Example](https://ibb.co.com/jgJ4nXF).
 * Additionally, if you’re using any eCommerce plugin like WooCommerce, you can 
   pull your order data directly from the respective order tables. You can refer
   to the WooCommerce documentation to use the `wc_get_orders` function and fetch
   the orders: [WooCommerce Documentation](https://usersinsights.com/wc-get-orders/#:~:text=To%20use%20the%20wc_get_orders%20function%20in%20WooCommerce%2C%20you%20need%20to,orders%20that%20match%20specific%20attributes.).
 * Once this customization is successfully implemented, users will be able to see
   their purchased eBooks directly from their dashboard.
 * For more details, you can refer to the Tutor LMS documentation: [Editing Tutor Dashboard](https://docs.themeum.com/tutor-lms/developers/editing-tutor-dashboard/).
 * Let us know if you need further assistance!
 * Best regards,
   Maizul Islam,Tech Support, Themeum

Viewing 1 replies (of 1 total)

The topic ‘Dashboard’ is closed to new replies.

 * ![](https://ps.w.org/tutor/assets/icon-256x256.gif?rev=3193875)
 * [Tutor LMS - eLearning and online course solution](https://wordpress.org/plugins/tutor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tutor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tutor/)
 * [Active Topics](https://wordpress.org/support/plugin/tutor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tutor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tutor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Maizul](https://wordpress.org/support/users/maizul/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/dashboard-130/#post-18033264)
 * Status: resolved