Title: woocommerce frontend table
Last modified: March 23, 2022

---

# woocommerce frontend table

 *  [apspc](https://wordpress.org/support/users/apspc/)
 * (@apspc)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-frontend-table/)
 * Hi, I have a non-profit website where we arranged a booklibrary.
    We are currently
   using woocommerce to manage lendings, but I also would like to display a view
   in the user’s profile with his lendings list (actually, since the books are woocommerce
   products, it would be the purchase history). Is there any way to do so by code
   or plugin?
 * Other question: is there any way to put a counter on the single users that increase
   or decrease when he gets or returns the books?
 * Thank you!!
    -  This topic was modified 4 years, 1 month ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-frontend-table/#post-15488228)
 * You can query for the current user’s orders and display the products ordered 
   on the front end. You’ll need a custom page template or similar mechanism to 
   execute the required custom code.
 * There are numerous hooks that fire any time a WooCommerce action takes place.
   One of these would be suitable for inserting a counter. Be aware that many hooks
   fire more than once per request. To avoid duplicate counts, your added callback
   can remove itself from the action stack after the first time it executes.
 * For specifics on what to query or which hook to use, I suggest asking in the 
   dedicated WooCommerce support forum.
    [https://wordpress.org/support/plugin/woocommerce/](https://wordpress.org/support/plugin/woocommerce/)

Viewing 1 replies (of 1 total)

The topic ‘woocommerce frontend table’ is closed to new replies.

## Tags

 * [purchase history](https://wordpress.org/support/topic-tag/purchase-history/)
 * [user](https://wordpress.org/support/topic-tag/user/)
 * [views](https://wordpress.org/support/topic-tag/views/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-frontend-table/#post-15488228)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
