Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Quantity Increments and Pack Sizes per Product

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: QTYINCREMENTS1

  • increment per product, category and customer group, e.g. packs of 6 only
  • plus and minus at the quantity field jump in whole packs
  • hint text and suggestion or rounding up for wrong amounts
  • server-side validation in cart, checkout and API
Auf Lager
€99.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 features

Magento 2 Quantity Increments: sell items in whole packs only

With the Magento 2 Quantity Increments from Mironsoft you sell items only in the amounts in which they are really packed: only in packs of six, in cartons of ten or on a pallet. The increment applies per product, optionally per category and customer group. The quantity field jumps in whole steps with plus and minus, invalid amounts are explained and, if you wish, rounded up. The interface runs with Alpine.js in the Hyvä theme without an additional library.

Increment per product

For each item you decide in which steps it is ordered, for example 6, 12 or 25 pieces.

Plus and minus in packs

The buttons at the quantity field jump by the increment instead of by one.

Round up instead of reject

If the customer enters 7 instead of 6 or 12, the module suggests the next whole pack.

Magento 2 Quantity Increments per group

Resellers buy by the carton, retail customers in smaller units: the increment follows the customer group.

Hint text

A text like "available in packs of 6 only" appears at the quantity field and in the cart.

Magento 2 Quantity Increments for decimals

Even metre goods or weights can be sold in fixed steps such as 0.5.

Why pack sizes

Why you should not leave Magento 2 Quantity Increments to chance

Many items cannot be delivered one by one. Bottles come in cartons of six, screws in bags of one hundred, tiles in packs with a fixed number of square metres. If the shop accepts any amount anyway, your warehouse has to open packs, store leftovers and pick partly by hand. That is why merchants look for Magento 2 Quantity Increments that prevent invalid amounts right in the shop.

Magento brings a simple quantity step for this: one increment per product, without customer groups, without own hints and without a suggestion for the next suitable amount. Anyone who types 7 bottles gets only a generic error message. The module extends this function with customer groups, understandable texts and a correction aid.

01Increment

Magento 2 Quantity Increments on the product: step size and start quantity

On the product you enter the increment, for example 6. The quantity field starts with one pack, the plus and minus buttons jump by six each, and a manual entry is checked for multiples. Optionally the increment also counts as minimum quantity so nobody orders less than one pack. For products with decimal quantities, steps such as 0.5 or 2.5 are possible.

  • Increment in the product, empty means default
  • Plus and minus jump by the increment
  • Increment optionally used as minimum quantity
Edit product › Quantity increments
Increment
6 (example)
Start quantity
6
Use as minimum quantity
yes
Quantity increments › Customer groups
Wholesalecarton of 24 (example)
Retailpack of 6 (example)
Without an entry the category rule applies
02Customer groups

Magento 2 Quantity Increments per customer group and category

Resellers often buy by the carton, private customers by the single bag. The module allows an own increment per customer group and a default on category level. The order is product, category, global. In a range of thousands of items you maintain only the exceptions while the rule for whole product groups needs a single entry.

  • Increment per customer group
  • Default per category, product overrides
  • Guests configurable like any other group
03Hints and rounding

Magento 2 Quantity Increments with hint text and rounding up

The standard message for an invalid amount explains nothing to the customer. The module shows a text such as "available in packs of 6 only" at the quantity field and suggests the next whole pack after a wrong entry. If you like, wrong amounts are rounded up automatically. The texts contain placeholders for increment and product name and are translatable per store view.

  • Hint at the quantity field and in the cart
  • Suggestion or automatic rounding up
  • Placeholders for increment and product name
Frontend · Product page
Hint
available in packs of 6 only
Entry
7
Suggestion6 or 12 (example)
Stores › Configuration › Mironsoft › Quantity Increments
Check in cart
yes
Round up automatically
yes (example)
Message text
per store view
04Cart and API

Validation in cart, checkout and API orders

The increment applies not only on the product page. The cart, the checkout and orders placed through the API are also checked on the server. If a quantity is changed in the cart, it jumps in whole packs. This protects against circumvention by manipulated requests and ensures that your warehouse never has to pick half packs.

  • Server-side check in every order path
  • Quantity in the cart jumps in packs
  • Message with product name and increment
Use cases

Where Magento 2 Quantity Increments helps in daily shop work

Typical situations in which only whole packs make sense.

Beverages and food

Bottles come in cartons of six or twelve. With Magento 2 Quantity Increments nobody can order seven bottles.

Fasteners

Screws and wall plugs are packed in bags of fifty or one hundred pieces. The quantity field jumps in these steps.

Tiles and boards

One pack covers a fixed area. Ordering is only allowed in whole packs so nothing has to be torn open.

B2B wholesale

Resellers order cartons or pallets, private customers smaller units. The customer group decides the increment.

Comparison

Magento 2 Quantity Increments: without and with the module

The difference to the simple default step.

TopicWithout moduleWith Mironsoft Quantity Increments
IncrementOne per productPer product, category and customer group
OperationPlus and minus by oneJump by the pack size
Wrong entryGeneric error messageSuggestion or rounding up with hint text
HintNoneText at the quantity field and in the cart
MaintenanceOne product at a timeCategory rules and exceptions on the product
Setup

How we set up Magento 2 Quantity Increments for you

The process after you place the order.

1

Pack data

You send us the increments, preferably as a list with item number and pack size.

2

Installation

We install the Magento 2 Quantity Increments and store the increments in products and categories.

3

Quantity field

We adapt the quantity field in the Hyvä theme so that plus, minus and hints match your design.

4

Texts

We word hints and error messages per store view and decide whether amounts are rounded up.

5

Test and handover

We test product page, cart, checkout and group changes and show your team how to maintain the rules.

Differences

How Magento 2 Quantity Increments differs from minimum and maximum quantity

Magento 2 Quantity Increments defines the steps in which ordering happens. A lower and upper limit per order is set by the Min Max Quantity per Product module instead, and a minimum order value of the cart belongs in a module of its own. Both rules can be combined: at least ten packs, but only in steps of six, is a common constellation.

The interface of Magento 2 Quantity Increments works with Alpine.js in the Hyvä theme without an additional library.

05How the purchase works

No download — personal setup instead

Quantity Increments is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on increments, customer groups and texts together with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about increments, customer groups, hints and how the purchase works.

How can I set a pack size in Magento 2?
With Magento 2 Quantity Increments you open the product and enter the increment, for example 6. The quantity field then jumps in these steps.
How can I sell items only in packs of six in Magento 2?
Set the increment to 6 and enable the option to use it as minimum quantity as well. Then 6 is the smallest order amount, followed by 12, 18 and so on.
Can the increment differ per customer group?
Yes. Resellers can buy by the carton, private customers in smaller units. Without an entry for the group the category rule or the global setting applies.
What happens when the customer enters an invalid quantity?
The module shows a hint and suggests the next whole pack. If you enable it, the amount is rounded up automatically.
How can I show a hint text about the pack size?
The text is maintained per store view in the admin and appears at the quantity field and in the cart. Placeholders name increment and product.
Are decimal quantities possible?
Yes, for products that allow decimal quantities steps such as 0.5 are possible.
Is the increment also checked in the cart?
Yes, on the server in the cart, in the checkout and for orders through the API.
Does Magento 2 Quantity Increments work with Hyvä?
Yes, the quantity field is built with Alpine.js and needs no additional library.
How is this different from minimum and maximum quantity?
The increment defines the jumps in which ordering happens, minimum and maximum limit the total piece count.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module for you in your shop.
Write Your Own Review
You're reviewing: Magento 2 Quantity Increments – Mironsoft
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 Quantity Increments – Mironsoft

Magento 2 Quantity Increments – Mironsoft

€99.00