woocommerce/templates/single-product/add-to-cart/quantity.php

13 lines
494 B
PHP
Raw Normal View History

2011-12-11 01:08:33 +00:00
<?php
/**
2012-08-14 18:05:45 +00:00
* Single product quantity inputs
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
2011-12-11 01:08:33 +00:00
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
2011-12-11 01:08:33 +00:00
?>
2012-10-16 15:35:16 +00:00
<div class="quantity"><input name="<?php echo esc_attr( $input_name ); ?>" data-min="<?php echo esc_attr( $min_value ); ?>" data-max="<?php echo esc_attr( $max_value ); ?>" value="<?php echo esc_attr( $input_value ); ?>" size="4" title="Qty" class="input-text qty text" maxlength="12" /></div>