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() . ' ' . get_option('woocommerce_weight_unit'); ?>
get_dimensions(); ?>
attribute_label( $attribute['name'] ); ?> id, $attribute['name'], 'names' ) ); } else { // Convert pipes to commas $value = explode( '|', $attribute['value'] ); $value = implode( ', ', $value ); echo wpautop( wptexturize( $value ) ); } ?>