View Categories

Amount Types Reference

Table of Contents

Order Minimum/Maximum Amount Limits for WooCommerce can limit an order by eleven different measures, called amount types. This reference lists each one, the internal id used in option and meta names, its unit, and how Order Min/Max Amount measures it from the cart.

Amount type Type id Unit How it is measured
Sum sum Store currency Cart total or subtotal, adjusted by the “Sum” amount type options.
Quantity qty pcs Total number of items in the cart.
Weight weight Store weight unit Sum of product weight times quantity.
Volume volume Dimension unit cubed Length x width x height x quantity (non-virtual products).
Length length Dimension unit Sum of product length times quantity.
Width width Dimension unit Sum of product width times quantity.
Height height Dimension unit Sum of product height times quantity.
Area area Dimension unit squared Length x width x quantity (non-virtual products).
Products product count Number of different products in the cart.
Product categories product_cat count Number of different product categories in the cart.
Product tags product_tag count Number of different product tags in the cart.

Notes #

  • Weight, volume, and dimension types read the values on each product’s Product data > Shipping fields. Products with no dimensions contribute nothing to those totals, and virtual products are skipped for volume, length, width, height, and area.
  • Global limits are stored as alg_wc_oma_{min|max}_{type}; per-product and per-user limits use the meta key _alg_wc_oma_{min|max}_{type}.
  • You can restrict the product_cat and product_tag counts to specific terms with the “Terms to include” and “Terms to exclude” options on the General tab.

Learn more #

To choose your amount types, see setting up minimum and maximum purchase limits. Need a hand? Ask on the Order Min/Max Amount support forum.

 

Order Minimum/Maximum Limits for WooCommerce