Field
field is a legacy helper tag that returns a single field value from a channel entry.
This is an immediate-execution single tag.
See also:
Parameters
entry_id
Entry ID to read.
entry_id="123"
field
Field short name/key to return from that entry.
field="product_download_url"
Behavior and Constraints
- Loads the target entry from
entry_id. - Returns
element(field, entry)from the loaded entry array. - Output is raw field value.
Notes:
- This helper does not include fieldtype-specific formatting logic.
- If entry/field is missing, output is empty.
- Legacy helper retained for compatibility.
Examples
Output one entry field value:
{exp:cartthrob:field entry_id="123" field="title"}
Resolve a download field value:
{exp:cartthrob:field entry_id="{entry_id}" field="product_download_url"}