Title: Get child/sub attributes
Last modified: March 23, 2017

---

# Get child/sub attributes

 *  [mystical_ghoul](https://wordpress.org/support/users/mystical_ghoul/)
 * (@mystical_ghoul)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/get-childsub-attributes/)
 * Is there a way to get child/sub attributes in this plugin for example if you 
   select an attribute for variation and it shows all the sub attributes.
    Something
   like the code below if you don’t understand:
 * $args = array(
    ‘post_parent’ => PARENT ATTRIBUTE ID, ‘post_type’ => ‘product_variation’,‘
   orderby’ => ‘menu_order’, ‘order’ => ‘ASC’, ‘fields’ => ‘ids’, ‘post_status’ 
   => ‘publish’, ‘numberposts’ => -1 );
 * $children = get_posts( $args );
 * print_r($children);

The topic ‘Get child/sub attributes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/kool-multistep-product-configurator_8f5783.
   svg)
 * [Kool Multistep Product Configurator](https://wordpress.org/plugins/kool-multistep-product-configurator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kool-multistep-product-configurator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kool-multistep-product-configurator/)
 * [Active Topics](https://wordpress.org/support/plugin/kool-multistep-product-configurator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kool-multistep-product-configurator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kool-multistep-product-configurator/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mystical_ghoul](https://wordpress.org/support/users/mystical_ghoul/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/get-childsub-attributes/)
 * Status: not resolved