Title: tomzem's Replies | WordPress.org

---

# tomzem

  [  ](https://wordpress.org/support/users/tomzem/)

 *   [Profile](https://wordpress.org/support/users/tomzem/)
 *   [Topics Started](https://wordpress.org/support/users/tomzem/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tomzem/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tomzem/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tomzem/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tomzem/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tomzem/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [woocommerce getting variable product attribute value from order](https://wordpress.org/support/topic/woocommerce-getting-variable-product-attribute-value-from-order/)
 *  Thread Starter [tomzem](https://wordpress.org/support/users/tomzem/)
 * (@tomzem)
 * [5 years ago](https://wordpress.org/support/topic/woocommerce-getting-variable-product-attribute-value-from-order/#post-14399815)
 * Hi ! just this reply to say you saved my day! (well, actually 3 days:-))
 * Your answer routed me to the right direction, using var_dump I managed to locate
   where my data whee located and they are in the meta data, so to retrieve the 
   value and names of attribute variable product in an order you can find them in
   the metadata of the order item:
 * $metaData = $orderItem->get_meta(“pa_module”);
    $moduleID=print_r($metaData, 
   true);
 * I hope this will be helpful for other, thanks again for having taken the time
   to reply 🙂
 * Cheers

Viewing 1 replies (of 1 total)