get_attributes(); if ( empty( $attributes ) && ( ! $product->enable_dimensions_display() || ( ! $product->has_dimensions() && ! $product->has_weight() ) ) ) return; ?> enable_dimensions_display() ) : ?> has_weight() ) : $alt = $alt * -1; ?> has_dimensions()) : $alt = $alt * -1; ?>
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 = explode( '|', $attribute['value'] ); echo apply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values ); } ?>