Support » Plugin: Product Feed PRO for WooCommerce » Get extra fields value into function.php

  • Resolved ranone

    (@ranone)


    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)
  • Plugin Contributor AdTribes.io Support Team

    (@evavangelooven)

    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)
  • You must be logged in to reply to this topic.