Skip to main content

Modifier :qty

Product quantity. Example: {Package:117:qty} gives 1200. On the test form, this field is {Package:117} (Product).

About

Use it alone; with other modifiers, it is ignored.

ProductGravity Forms
RequiresGravity Forms 1.9 or later
In the pickerWhat to show, for Product fields
CombiningUse it alone. With other modifiers, it is ignored.

How to use it

Say how many were ordered

Write

You ordered {Widget:9:qty} × {Widget:9.1}

Get

You ordered 3 × Widget

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutput
{Widget:9:qty}3

Works on

Form fields: Product.