Skip to content

Sync: Order Items Fieldtype

The order_items fieldtype is a special fieldtype that can read out the Order Items of a synced item. It will render a table in the Channel Entry view and has a tagpair to render the order_items in your HTML.

This tag only return entry_ids so you need to use a {exp:channel:entries} if you wish to fetch the related entry data.

Fieldtype Tag pair

{order_items_field}
    {order_item:entry_id}
{/order_items_field}

Use with the channelEntries tag

{order_order_items}
    {exp:channel:entries entry_id="{order_item:entry_id}"}
        ....
    {/exp:channel:entries}
{/order_order_items}