PHPackages                             ghost-unicorns/module-qty-increment-ui - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ghost-unicorns/module-qty-increment-ui

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

ghost-unicorns/module-qty-increment-ui
======================================

Add controls to product Qty

1.0.1(3y ago)018MITHTML

Since Feb 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ghostunicorns/module-qty-increment-ui)[ Packagist](https://packagist.org/packages/ghost-unicorns/module-qty-increment-ui)[ RSS](/packages/ghost-unicorns-module-qty-increment-ui/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Description
===========

[](#description)

This module adjust the GTM pushes to be compatible with the new GA4 ecommerce standards

Install
=======

[](#install)

`composer require ghost-unicorns/module-qty-increment-ui`

How to use it
=============

[](#how-to-use-it)

Product listing:
----------------

[](#product-listing)

`$productQtyIncrementInput = $block->getLayout()->getBlock('qty-increment-ui-product-listing');`

``

Cart:
-----

[](#cart)

`$productQtyIncrementInput = $block->getLayout()->getBlock('qty-increment-ui-cart');`

``

Product page:
-------------

[](#product-page)

### Simple products

[](#simple-products)

File: `vendor/magento/module-catalog/view/frontend/templates/product/view/addtocart.phtml`

```
