# '; // Get terms for attribute taxonomy or value if its a custom attribute if ( $attribute['is_taxonomy'] ) { $post_terms = wp_get_post_terms( $parent_data['id'], $attribute['name'] ); foreach ( $post_terms as $term ) { echo ''; } } else { $options = array_map( 'trim', explode( WC_DELIMITER, $attribute['value'] ) ); foreach ( $options as $option ) { echo ''; } } echo ''; } ?>

 

 

'product_shipping_class', 'hide_empty' => 0, 'show_option_none' => __( 'Same as parent', 'woocommerce' ), 'name' => 'variable_shipping_class[' . $loop . ']', 'id' => '', 'selected' => isset( $shipping_class ) ? esc_attr( $shipping_class ) : '', 'echo' => 0 ); echo wp_dropdown_categories( $args ); ?>