Recall and display information stored as metadata with each sale?
-
Ok so here is my aim:
I have a single product with no category. I have used the ‘YITH Woocommerce Product Add-ons’ to add a group of checkboxes to the product that accepts 4 selections. The order is raised and the product has the 4 selections of checkboxes listed in the cart/checkout pages and also on the order page in my account. So far so good! Now…
I wish to produce a table on the frontend that lists all the sales of the product with the order date, first and last name of the customer and the 4 selections the customer made when ordering the product. For example…
Product X Sales:
First Name | Last Name | Date | Select 1 | Select 2 | Select 3 | Select 4
Your plugin ‘Product Customer List for WooCommerce’, has a shortcode for displaying a list of customers and date when the product was purchased however; I need a way of extracting the metadata stored by the YITH Product Add-on field attached to the product sale.
Any help would be appreciated. Is there a way to recall the information stored as metadata with each sale?
Thanks in advance!
- The topic ‘Recall and display information stored as metadata with each sale?’ is closed to new replies.