= 30 ) echo '
' . sprintf( __( 'Slug %s is too long', 'woocommerce' ), sanitize_title( $attribute_name ) ) . '
' . __( 'Taxonomy exists - please change the slug', 'woocommerce' ) . '
attribute_label ); ?> | attribute_name ); ?> | attribute_type ) ); ?> | attribute_orderby ) { case 'name' : _e( 'Name', 'woocommerce' ); break; case 'id' : _e( 'Term ID', 'woocommerce' ); break; default: _e( 'Custom ordering', 'woocommerce' ); break; } ?> | attribute_taxonomy_name($tax->attribute_name))) : $terms_array = array(); $terms = get_terms( $woocommerce->attribute_taxonomy_name($tax->attribute_name), 'orderby=name&hide_empty=0' ); if ($terms) : foreach ($terms as $term) : $terms_array[] = $term->name; endforeach; echo implode(', ', $terms_array); else : echo '–'; endif; else : echo '–'; endif; ?> | |