Title: Quantities and Units for WooCommerce
Author: Nick Verwymeren
Published: <strong>30 octobre 2015</strong>
Last modified: 29 novembre 2016

---

Recherche d’extensions

![](https://ps.w.org/quantities-and-units-for-woocommerce/assets/banner-772x250.
png?rev=1276476)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/quantities-and-units-for-woocommerce/assets/icon-256x256.png?
rev=1276756)

# Quantities and Units for WooCommerce

 Par [Nick Verwymeren](https://profiles.wordpress.org/greatwitenorth/)

[Télécharger](https://downloads.wordpress.org/plugin/quantities-and-units-for-woocommerce.1.0.13.zip)

 * [Détails](https://fr.wordpress.org/plugins/quantities-and-units-for-woocommerce/#description)
 * [Avis](https://fr.wordpress.org/plugins/quantities-and-units-for-woocommerce/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/quantities-and-units-for-woocommerce/#installation)
 * [Développement](https://fr.wordpress.org/plugins/quantities-and-units-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/)

## Description

NOTE: This plugin has been forked from the « Advanced Product Quantities » plugin.
It adds decimal quantities support and
 units to products. Please don’t attempt 
to run both plugins simultaneously. It not needed and the universe will probably
implode.

With Quantities and Units for WooCommerce you can easily create rules that restrict
the amount of products a user can
 buy at once. Set Minimum, Maximum and Step values
for any product type and must be valid before a customer can proceed to checkout.
Quantities and Units also bring decimal quantity support to WooCommerce.

This plugin works great with [Rapid Order](http://rapidorderplugin.com/), a fast
ordering system for WooCommerce.

New Features

 * Allow decimal quantities (configure this in Quantity Rule -> Advanced Rule ->
   Site Wide Step Value)
 * Specify a unit of measurement for the quantity (ie lbs, kg, bag etc)

Fonctionnalités :

 * Added Custom Quantity Message Option
 * Added Out of Stock Min/Max
 * Added Role Support, create rules based on user roles.
 * Improved performance / caching
 * Improved admin interface
 * Allows rules to have a minimum of 0
 * Set a Minimum product quantity requirement
 * Set a Maximum product quantity requirement
 * Sell products by a desired increment ie. by two’s or the dozen
 * Create product category based rules
 * WooCommerce Validation rules tells users what rules they’ve broken directly on
   the cart or product page
 * Set rule priority to layer multiple rules on top of each other
 * Add your rule based input boxes to products thumbnails using [WooCommerce Thumbnail Input Quantities](https://wordpress.org/plugins/woocommerce-thumbnail-input-quantities/installation/)
 * Easily override rules on a per-product basis
 * Integrates with [WooCommerce’s Product CSV Import Suite](http://www.woothemes.com/products/product-csv-import-suite/)
 * See which rule is being applied to an individual product on your edit product
   page
 * Now fully supports ALL PRODUCT TYPES, simple, variable, grouped and affiliate
 * Create Site Wide rules that apply to every product unless overwritten on a per-
   product basis
 * Create rules by Product Tags (opposed to just categories)
 * Woocommerce +2.0 compatible

## Captures d’écrans

[⌊Single product page, page loads with it's minimum quantity and notifies the user
below.⌉⌊Single product page, page loads with it's minimum quantity and notifies 
the user below.⌉[

Single product page, page loads with it’s minimum quantity and notifies the user
below.

[⌊Create rule page.⌉⌊Create rule page.⌉[

Create rule page.

[⌊Single product 'Product Quantity Rules' meta box. Deactivate or override rules.
Even set out of stock min/max values.⌉⌊Single product 'Product Quantity Rules' meta
box. Deactivate or override rules. Even set out of stock min/max values.⌉[

Single product ‘Product Quantity Rules’ meta box. Deactivate or override rules. 
Even set out of stock min/max values.

[⌊Single product 'Product Quantity Rules' meta box. Display of values by user role.⌉⌊
Single product 'Product Quantity Rules' meta box. Display of values by user role
.⌉[

Single product ‘Product Quantity Rules’ meta box. Display of values by user role.

[⌊'Advanced Rules' page, set sitewide rules and configure quantity notifications(
screenshot 1)⌉⌊'Advanced Rules' page, set sitewide rules and configure quantity 
notifications (screenshot 1)⌉[

‘Advanced Rules’ page, set sitewide rules and configure quantity notifications (
screenshot 1)

[⌊Required configuration for Out of Stock quantities to be displayed.⌉⌊Required 
configuration for Out of Stock quantities to be displayed.⌉[

Required configuration for Out of Stock quantities to be displayed.

## Installation

Automatic WordPress Installation

 1. Log-in to your WordPress Site
 2. Under the plugin sidebar tab, click ‘Add New’
 3. Search for ‘Quantities and Units for WooCommerce’
 4. Install and Activate the Plugin
 5. Set Rules for categories by clicking the new ‘Quantity Rules’ sidebar option or
    assign per-product rules by using the new metabox on your product page.

NOTE: to enable decimal quantities you need to define the ‘Step’ value on a per 
product basis, or globally for the site under Quantity Rule -> Advanced Rule -> 
Site Wide Step Value.

Installation manuelle

 1. Download the latest version of the plugin from Quantities and Units for WooCommerce
    WordPress page.
 2. Uncompress the file
 3. Upload the uncompressed directory to ‘/wp-content/plugins/’ via FTP
 4. Active the plugin from your WordPress backend ‘Plugins -> Installed Plugins’
 5. Set Rules for categories by clicking the new ‘Quantity Rules’ sidebar option or
    assign per-product rules by using the new metabox on your product page.

## Avis

![](https://secure.gravatar.com/avatar/6eb8625b106930c1d54217af680c6b89ec7b4f0db0283fd13cdf95fcbcad5d2a?
s=60&d=retro&r=g)

### 󠀁[Still works](https://wordpress.org/support/topic/still-works-223/)󠁿

 [cennema25](https://profiles.wordpress.org/cennema25/) 10 octobre 2025

Was a bit worried due to the age of this plugin, but still works like a charm (for
me). Using it to set qty steps of 3 items.

![](https://secure.gravatar.com/avatar/bad1e808c881943b013f38b8301f138b51f08e5d015a4c7072f07d36dbcd54b5?
s=60&d=retro&r=g)

### 󠀁[perfect plugin](https://wordpress.org/support/topic/perfect-plugin-969/)󠁿

 [marco93](https://profiles.wordpress.org/marco93/) 5 décembre 2020

I found it difficult to enter the decimal quantity only for n type of product with
this plugin I succeeded. Thanks to the developers

![](https://secure.gravatar.com/avatar/06bd04807a6ac7cf125c2de0413f7b6241aacef32dab930128f7f37d2d4bd294?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-25883/)󠁿

 [smelinda](https://profiles.wordpress.org/smelinda/) 3 mai 2020

Great plugin and still working. But please, please update! Thanks

![](https://secure.gravatar.com/avatar/e1e940b0194e7072d2f0daa1f2486e83f2dab55f96d5769daaf10ab406fec292?
s=60&d=retro&r=g)

### 󠀁[no multilanguage support](https://wordpress.org/support/topic/no-multilanguage-support-2/)󠁿

 [Maxim Tulpakov](https://profiles.wordpress.org/maxcomp/) 19 décembre 2018

The plugin justifies its functions. But, unfortunately, there is not enough technical
capacity to translate the plugin into another language

![](https://secure.gravatar.com/avatar/a6d74b4b774a92f8a7ab778cbe420e8957eb79294771fdfb80b6b5414bf0129d?
s=60&d=retro&r=g)

### 󠀁[Exactly what i needed !](https://wordpress.org/support/topic/exactly-what-i-needed-512/)󠁿

 [manmance](https://profiles.wordpress.org/manmance/) 15 mars 2018

Great plugin ! But, I'm worried about seeing the creator inactive here for a long
time.

![](https://secure.gravatar.com/avatar/70d41198497ebad3fd4a5222f1060dbc376512151f3650bdedd7f4c10ada307d?
s=60&d=retro&r=g)

### 󠀁[Very useful for ecommerce](https://wordpress.org/support/topic/very-useful-for-ecommerce/)󠁿

 [becaneweb](https://profiles.wordpress.org/becaneweb/) 18 décembre 2017

All in the title

 [ Lire les 16 avis ](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Quantities and Units for WooCommerce » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

 *   [ Nick Verwymeren ](https://profiles.wordpress.org/greatwitenorth/)

[Traduisez « Quantities and Units for WooCommerce » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/quantities-and-units-for-woocommerce)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/quantities-and-units-for-woocommerce/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/quantities-and-units-for-woocommerce/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/quantities-and-units-for-woocommerce/)
par [RSS](https://plugins.trac.wordpress.org/log/quantities-and-units-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.0.13

 * Fixed input issue introduced in 10.0.12 release

#### 1.0.12

 * Fixed an issue where sometimes the correct value would not display when using
   decimal quantities.

#### 1.0.11

 * Fixed issue with max value causing amount not to increment correctly in some 
   circumstances.

#### 1.0.10

 * fixed an issue with role based quantities not working
 * fixed bug with sitewide rules

#### 1.0.9

 * fixed compatibility with Thumbnail Quantities

#### 1.0.8

 * allow decimals on Advanced Rules page

#### 1.0.7

 * fixed min step value based min value.

#### 1.0.6

 * Min and step rules now work with ajax add to cart functionality in WooCommerce
   2.5+
 * Added min width css rule on quantity input box

#### 1.0.5

 * Fixed issue when trying to save advanced rules.

#### 1.0.4

 * Fixed floating point precision errors

#### 1.0.3

 * Fixed Call to undefined method WooCommerce::add_error() bug

#### 1.0.2

 * Removed admin notice

#### 1.0.1

 * Bug fixes

#### 1.0.0

 * Forked from « Advanced Product Quantities »
 * Allow decimal quantities
 * Specify a unit of measurement for the quantity (ie lbs, kg, bag etc)

## Méta

 *  Version **1.0.13**
 *  Dernière mise à jour **il y a 10 ans**
 *  Installations actives **1 000+**
 *  Version de WordPress ** 3.5 ou plus **
 *  Testé jusqu’à **4.3.34**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/quantities-and-units-for-woocommerce/)
 * Étiquettes
 * [product maximum values](https://fr.wordpress.org/plugins/tags/product-maximum-values/)
   [product minimum values](https://fr.wordpress.org/plugins/tags/product-minimum-values/)
   [product quantities](https://fr.wordpress.org/plugins/tags/product-quantities/)
   [product step values](https://fr.wordpress.org/plugins/tags/product-step-values/)
   [woocommerce](https://fr.wordpress.org/plugins/tags/woocommerce/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/quantities-and-units-for-woocommerce/advanced/)

## Évaluations

 4.4 sur 5 étoiles.

 *  [  13 avis à 5 étoiles     ](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/?filter=5)
 *  [  2 avis à 4 étoiles     ](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/?filter=2)
 *  [  2 avis à 1 étoiles     ](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/?filter=1)

[Votre avis](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/reviews/)

## Contributeurs

 *   [ Nick Verwymeren ](https://profiles.wordpress.org/greatwitenorth/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/quantities-and-units-for-woocommerce/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://www.nickv.codes/donate)