File: /var/www/html/wpamazingsecret/wp-content/themes/porto/woocommerce/global/quantity-input.php
<?php
/**
* Product quantity inputs
*
* @version 4.0.0
*/
defined( 'ABSPATH' ) || exit;
$porto_woo_version = porto_get_woo_version_number();
if ( $max_value && $min_value === $max_value ) {
?>
<div class="quantity hidden">
<input type="hidden" id="<?php echo esc_attr( $input_id ); ?>" class="qty" name="<?php echo esc_attr( $input_name ); ?>" value="<?php echo esc_attr( $min_value ); ?>" />
</div>
<?php
} else {
?>
<div class="quantity buttons_added">
<?php do_action( 'woocommerce_before_quantity_input_field' ); ?>
<button type="button" value="-" class="minus">-</button>
<input
type="number"
id="<?php echo esc_attr( $input_id ); ?>"
class="<?php echo isset( $classes ) && $classes ? esc_attr( join( ' ', (array) $classes ) ) : 'input-text qty text'; ?>"
step="<?php echo esc_attr( $step ); ?>"
min="<?php echo esc_attr( $min_value ); ?>"
max="<?php echo esc_attr( 0 < $max_value ? $max_value : '' ); ?>"
name="<?php echo esc_attr( $input_name ); ?>"
value="<?php echo esc_attr( $input_value ); ?>"
title="<?php echo esc_attr_x( 'Qty', 'Product quantity input tooltip', 'woocommerce' ); ?>"
size="4"
<?php echo isset( $placeholder ) ? 'placeholder="' . esc_attr( $placeholder ) . '"' : ''; ?>
inputmode="<?php echo esc_attr( $inputmode ); ?>" />
<button type="button" value="+" class="plus">+</button>
<?php do_action( 'woocommerce_after_quantity_input_field' ); ?>
</div>
<?php
}