get_attributes(); ob_start(); ?> enable_dimensions_display() ) : ?> has_weight() || get_post_meta( $product->id, '_child_has_weight', true ) ) : $has_row = true; ?> has_dimensions() || get_post_meta( $product->id, '_child_has_dimensions', true ) ) : $has_row = true; ?>
get_weight() ? wc_format_localized_decimal( $product->get_weight() ) . ' ' . esc_attr( get_option( 'woocommerce_weight_unit' ) ) : __( 'N/A', 'woocommerce' ); ?>
get_dimensions() ? $product->get_dimensions() : __( 'N/A', 'woocommerce' ); ?>
id, $attribute['name'], array( 'fields' => '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( WC_DELIMITER, $attribute['value'] ) ); echo apply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values ); } ?>