Title: Get extra fields value into function.php
Last modified: May 14, 2019

---

# Get extra fields value into function.php

 *  Resolved [ranone](https://wordpress.org/support/users/ranone/)
 * (@ranone)
 * [7 years ago](https://wordpress.org/support/topic/get-extra-fields-value-into-function-php/)
 * Hi,
    is there a way to get the value of the extra fields (mpn, gtin) having the
   product object in my function.php of the child theme?
 * I’ve premium version of the plugin..
 * Regards

Viewing 1 replies (of 1 total)

 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [7 years ago](https://wordpress.org/support/topic/get-extra-fields-value-into-function-php/#post-11529642)
 * Hi ranone,
 * To be honest: I don’t know but would not know how to achieve that. The extra 
   fields are saved in these attribute names:
 *     ```
       _woosea_brand
       _woosea_gtin
       _woosea_mpn
       _woosea_upc
       _woosea_ean
       _woosea_optimized_title
       _woosea_condition
       _woosea_age_group
       _woosea_unit_pricing_measure
       _woosea_unit_pricing_base_measure
       _woosea_installment_months
       _woosea_installment_amount
       _woosea_cost_of_good_sold
       _woosea_multipack
       _woosea_is_bundle
       _woosea_energy_efficiency_class
       _woosea_min_energy_efficiency_class
       _woosea_max_energy_efficiency_class
       _woosea_is_promotion
       _woosea_custom_field_0
       _woosea_custom_field_1
       _woosea_custom_field_2
       _woosea_custom_field_3
       _woosea_custom_field_4
       _woosea_exclude_products
       ```
   
 * I guess you should be able to retrieve the attribute values for them via the 
   product object.
 * Best,
    Eva

Viewing 1 replies (of 1 total)

The topic ‘Get extra fields value into function.php’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

## Tags

 * [get function](https://wordpress.org/support/topic-tag/get-function/)
 * [MPN](https://wordpress.org/support/topic-tag/mpn/)

 * 1 reply
 * 2 participants
 * Last reply from: [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/get-extra-fields-value-into-function-php/#post-11529642)
 * Status: resolved