• Resolved mdjbutton

    (@mdjbutton)


    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 to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Wombat Plugins

    (@maartenbelmans)

    Hi @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

    (@mdjbutton)

    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

    (@maartenbelmans)

    You want the values from the order, not the product.

    Thread Starter mdjbutton

    (@mdjbutton)

    That is right. Do you have a documentation on how to get the values?

    Plugin Author Wombat Plugins

    (@maartenbelmans)

    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

    (@mdjbutton)

    Okay thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting the attribute values’ is closed to new replies.