Thread Starter
yichu
(@yichu)
I would like to know if there’s a way to specific point to an element inside an array using surloop? For example, I would like to printout as following
temperature:11.7
humidity:1
pressure:678.3
instead of the elementValue.
TEMP:11.7
HUMD:1
PRES:678.3
“weatherElement”: [
{
“elementName”: “TEMP”,
“elementValue”: “11.7”
},
{
“elementName”: “HUMD”,
“elementValue”: “1”
},
{
“elementName”: “PRES”,
“elementValue”: “678.3”
}
],
Thread Starter
yichu
(@yichu)
Hi!
I’m getting close to it! Thank you for making this plugin. Now I can start to do some experiment!
{subloop-array:location:-1}{subloop-array:location.weatherElement:-1}weatherElement.elementValue: {location.weatherElement.elementValue}
{/subloop-array:location.weatherElement}
Thread Starter
yichu
(@yichu)
Hi!
Both are my problem. Maybe I should rephrase that as How can I show the shipping phone field in the email?
Thank you!