get_attributes(); if ( empty( $attributes ) && ( ! $product->enable_dimensions_display() || ( ! $product->has_dimensions() && ! $product->has_weight() ) ) ) return; ?>
get_weight() . ' ' . esc_attr( get_option('woocommerce_weight_unit') ); ?> | |
get_dimensions(); ?> | |
attribute_label( $attribute['name'] ); ?> | id, $attribute['name'], 'names' ); echo apply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values ); } else { // Convert pipes to commas and display values $values = array_map( 'trim', explode( '|', $attribute['value'] ) ); echo apply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values ); } ?> |