Skip to content

Latest commit

 

History

History
executable file
·
46 lines (26 loc) · 1.72 KB

README.md

File metadata and controls

executable file
·
46 lines (26 loc) · 1.72 KB

hyva-qtyinput

Introduction

Enhance the Product View QTY input to honour to min/max and QTY step

Install

You can install via composer:

  • run: composer config repositories.github.repo.repman.io composer https://github.repo.repman.io
  • use composer composer require proxi-blue/hyva-qtyinput
  • enable: ./bin/magento module:enable ProxiBlue_HyvaQtyInput
  • run: ./bin/magento setup:upgrade
  • run: ./bin/magento setup:di:compile

Configuration

The module does not add any new configuration options. The min/max/increment options for product quantity is used from core inventory setup.

Using

If a product is configured with either Min / Max and Quantity Increments, the quantity incrment field will notify user of incorrect values entered. If lower than min is entered, it will be set to the min value, and if more than max is entered, it will be set at the max value. The mouse up/down values will honour the step value. If a quantity step is needed, the user will be notifies entered value is not within teh steped range.

Examples

Min qty is 8, max qty is 100000, step is 8

image

image

image

Peek.2021-06-07.10-27.mp4

Note

  • Not tested with MSI enabled. The site build I created this for has MSI stripped out
  • Only tested with Simple Product Types as the site I created this for only has simple products