Kriuchko
6/7/2019 - 8:30 AM

*Catalog* Category page


\!h add quantity add qty

<?php if ($_product->getTypeID() == 'simple'): ?>
    <div class="field qty">
        <label class="label" for="qty"><span><?= /* @escapeNotVerified */ __('Qty') ?></span></label>
        <div class="control">
            <input type="number"
                   name="qty"
                   id="qty"
                   value="1"
                   title="<?= /* @escapeNotVerified */ __('Qty') ?>"
                   class="input-text qty"
                   />
        </div>
    </div>
<?php endif; ?>