Title: Retrieve specific data from meta data
Last modified: May 4, 2022

---

# Retrieve specific data from meta data

 *  [saturnz](https://wordpress.org/support/users/saturnz/)
 * (@saturnz)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/retrieve-specific-data-from-meta-data/)
 * Hi, I am currently modifying the pdf’s template, however, I would like to know
   if it is possible to retrive some of the data from the meta data (command: wc_get_formatted_item_data)?
   because this part returns the options that I could add with YITH Product add-
   on (free).
    Thanks in advance for your response.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [David Jensen](https://wordpress.org/support/users/dkjensen/)
 * (@dkjensen)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/retrieve-specific-data-from-meta-data/#post-15615721)
 * Hi [@saturnz](https://wordpress.org/support/users/saturnz/)
 * Yes this is possible. You mentioned you are modifying the template already, have
   you tried adding the function `wc_get_formatted_item_data` already?
 *  Thread Starter [saturnz](https://wordpress.org/support/users/saturnz/)
 * (@saturnz)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/retrieve-specific-data-from-meta-data/#post-15617281)
 * Hi, sorry for the delay, no, I haven’t, tried it already, and this is the first
   time that I use woocommerce, so I don’t really know all the function I can use.
   How do I
    use `wc_get_formatted_item_data` to get one spefictic options and not
   all of them ? Because, I don’t find any information on internet. If you can explain
   me that, I will be pleased, if not, is there a documention that I can find?
    -  This reply was modified 4 years, 1 month ago by [saturnz](https://wordpress.org/support/users/saturnz/).
 *  Thread Starter [saturnz](https://wordpress.org/support/users/saturnz/)
 * (@saturnz)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/retrieve-specific-data-from-meta-data/#post-15617302)
 * I think i have also done a mistake because the function used is not `wc_get_formatted_item_data`
   but `wc_get_formatted_cart_item_data`, but the problem is still here.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Retrieve specific data from meta data’ is closed to new replies.

 * ![](https://ps.w.org/wc-cart-pdf/assets/icon-256x256.png?rev=3339735)
 * [Cart PDF for WooCommerce](https://wordpress.org/plugins/wc-cart-pdf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-cart-pdf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-cart-pdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-cart-pdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-cart-pdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-cart-pdf/reviews/)

## Tags

 * [meta-data](https://wordpress.org/support/topic-tag/meta-data/)

 * 3 replies
 * 2 participants
 * Last reply from: [saturnz](https://wordpress.org/support/users/saturnz/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/retrieve-specific-data-from-meta-data/#post-15617302)
 * Status: not resolved