is_purchasable() ) { return; } ?> get_availability(); $availability_html = empty( $availability['availability'] ) ? '' : '

' . esc_html( $availability['availability'] ) . '

'; echo apply_filters( 'woocommerce_stock_html', $availability_html, $availability['availability'], $product ); ?> is_in_stock() ) : ?>
is_sold_individually() ) { woocommerce_quantity_input( array( 'min_value' => apply_filters( 'woocommerce_quantity_input_min', 1, $product ), 'max_value' => apply_filters( 'woocommerce_quantity_input_max', $product->backorders_allowed() ? '' : $product->get_stock_quantity(), $product ), 'input_value' => ( isset( $_POST['quantity'] ) ? $_POST['quantity'] : 1 ) ) ); } ?>