diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php index 5678a9b..be4d56e 100644 --- a/woocommerce/cart/cart.php +++ b/woocommerce/cart/cart.php @@ -74,23 +74,21 @@ do_action( 'woocommerce_before_cart' ); ?> } ?> - - get_name(), $cart_item, $cart_item_key ) . ' '; - } else { - echo apply_filters( 'woocommerce_cart_item_name', sprintf( '%s', esc_url( $product_permalink ), $_product->get_name() ), $cart_item, $cart_item_key ); - } + get_name(), $cart_item, $cart_item_key ) . ' '; + } else { + echo apply_filters( 'woocommerce_cart_item_name', sprintf( '%s', esc_url( $product_permalink ), $_product->get_name() ), $cart_item, $cart_item_key ); + } - // Meta data - echo wc_get_formatted_cart_item_data( $cart_item ); + // Meta data. + echo wc_get_formatted_cart_item_data( $cart_item ); - // Backorder notification - if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item['quantity'] ) ) { - echo '

' . esc_html__( 'Available on backorder', 'understrap' ) . '

'; - } - ?> - + // Backorder notification. + if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item['quantity'] ) ) { + echo '

' . esc_html__( 'Available on backorder', 'understrap' ) . '

'; + } + ?>