Title: Getting the attribute values
Last modified: March 18, 2023

---

# Getting the attribute values

 *  Resolved [mdjbutton](https://wordpress.org/support/users/mdjbutton/)
 * (@mdjbutton)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/)
 * Hi. I would like the get the attribute values.
 * I have the fields setup as global and I have a PHP function running on the thank
   you page and i would like to get the attributes (made with this plugin)’s values
   because they don’t seem to be part of the product’s data.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-the-attribute-values%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/#post-16572089)
 * Hi [@mdjbutton](https://wordpress.org/support/users/mdjbutton/)
 * All values are saved as standard WooCommerce “order item meta data” so you should
   be able to get the values out of the order by using standard WooCommerce functions.
 *  Thread Starter [mdjbutton](https://wordpress.org/support/users/mdjbutton/)
 * (@mdjbutton)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/#post-16572098)
 * I tried checking for the fields with $product->get_data() and I could not see
   any of fields.
 * I apologize for inconvenience.
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/#post-16572186)
 * You want the values from the order, not the product.
 *  Thread Starter [mdjbutton](https://wordpress.org/support/users/mdjbutton/)
 * (@mdjbutton)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/#post-16572248)
 * That is right. Do you have a documentation on how to get the values?
 *  Plugin Author [Wombat Plugins](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/#post-16572255)
 * We don’t have specific documentation on how to do that. As mentioned, it is all
   possible with standard WooCommerce functions so you do not need documentation
   specific to our plugin. Just get the item meta data out of the order.
 *  Thread Starter [mdjbutton](https://wordpress.org/support/users/mdjbutton/)
 * (@mdjbutton)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/#post-16572260)
 * Okay thank you.

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

The topic ‘Getting the attribute values’ is closed to new replies.

 * ![](https://ps.w.org/advanced-product-fields-for-woocommerce/assets/icon-256x256.
   gif?rev=3347990)
 * [Advanced Product Fields (Product Addons) for WooCommerce](https://wordpress.org/plugins/advanced-product-fields-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-product-fields-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-product-fields-for-woocommerce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [mdjbutton](https://wordpress.org/support/users/mdjbutton/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/getting-the-attribute-values/#post-16572260)
 * Status: resolved