This might be very simplistic but how do I display data from a structure field in the panel. Examples:
My txt file
----
Items:
-
id: >
URL
quantity: 1
price: 645
stock: "0"
name: Oslo <--- This Line
details: Sink Only
dimensions: 650 x 420 x 120
colour: Natural
title: Natural
taxrate: 0
tax: 0
sum: 645
sumtax: 0
----
and my yml file is
infoOrder:
label: Details
type: info
width: 1/2
options: query
query: page.items.toStructure
text: >
Invoice Number: {{ page.invoiceNumber }}<br>
Product: {{ structureItem.name }}<br> <--- To this Line
Sum: {{ page.formattedSum }}<br>
Invoice Date: {{ page.invoiceDate }}<br>
Payed Date: {{ page.payedDate }}<br>
Address: {{ page.address }}<br>
City: {{ page.city }}<br>
Postcode: {{ page.postcode }}<br>
Email: {{ page.email }}<br>
Under Product: I am trying to display the ‘name’ from ‘Items’. Hope that’s clear?!