Merge tag: {pricing_fields}
Order summary. An order summary built from the pricing fields only.
| Product | Gravity Forms |
|---|
| Requires | Gravity Forms 1.0 or later |
|---|
| Needs an entry | Yes: its value comes from a form entry |
|---|
Modifiers
What the merge tag picker offers on this tag.
What to show
| Modifier | Description | Requires |
|---|
admin | Use admin labels. Unlike the field-tag admin modifier, this one works on its own. | Gravity Forms 1.9 or later |
Other settings
| Modifier | Description | Requires |
|---|
value | Stored values instead of choice text. | Gravity Forms 1.9 or later |
Examples
Rendered by real Gravity Forms and GravityKit PHP against a test entry.
| Merge tag | Output |
|---|
{pricing_fields} | HTMLOrder Product Qty Unit Price Price Large Widget 1 $10.00 $10.00 Widget 3 $10.00 $30.00 Sub Total $40.00 Total $40.00 |
With a modifier
| Merge tag | Output | Without the modifier |
|---|
{pricing_fields:value} | HTMLOrder Product Qty Unit Price Price LW 1 $10.00 $10.00 Widget 3 $10.00 $30.00 Sub Total $40.00 Total $40.00 | HTMLOrder Product Qty Unit Price Price Large Widget 1 $10.00 $10.00 Widget 3 $10.00 $30.00 Sub Total $40.00 Total $40.00 |
{pricing_fields:admin} | HTMLOrder Product Qty Unit Price Price Large Widget 1 $10.00 $10.00 SKU-WIDGET 3 $10.00 $30.00 Sub Total $40.00 Total $40.00 | HTMLOrder Product Qty Unit Price Price Large Widget 1 $10.00 $10.00 Widget 3 $10.00 $30.00 Sub Total $40.00 Total $40.00 |