get_attributes(); if ( empty( $attributes ) && ( ! $product->enable_dimensions_display() || ( ! $product->has_dimensions() && ! $product->has_weight() ) ) ) return; ?> enable_dimensions_display() ) : ?> has_weight() ) : ?> has_dimensions() ) : ?>
get_weight() . ' ' . esc_attr( get_option('woocommerce_weight_unit') ); ?>
get_dimensions(); ?>
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( WOOCOMMERCE_DELIMITER, $attribute['value'] ) ); echo apply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values ); } ?>