Hi, I have this product (woocommerce) with optional fields, how can I intercept the FullName field?
array(1) {
["11e2ec9f9b8d59ee5d71e103c301a96b"]=>
array(13) {
["_field_service"]=>
array(5) {
["_index"]=>
int(0)
["_fields"]=>
array(3) {
[0]=>
array(3) {
["_key"]=>
string(14) "fullname"
["_label"]=>
string(14) "FullName"
["_value"]=>
string(11) "Andrew Bitoni"
}
Thank u
Hi @Mauro_Madonia, Where do you get this output ? converted to json in chatgpt and this gives :
@Mauro_Madonia, Ok this is weird because you have both keys and values as values and a duplicate of fullName data. Just choose âValueâ I guess ? Are you having trouble choosing this key in next modules or ?
Yes, Iâm not very familiar with the tool, and Iâm finding it difficult to extract the FullName value (Nome e Cognome)⌠this is what Iâm trying now
But it doesnât workâŚ
And here it doesnât show me in the array in the side window but only the first element âevent idâ
@Mauro_Madonia, I see. From the example you provided of all 5 values in âMeta dataâ, Iâm confident that âValueâ and âdisplayValueâ names are both same thing and you could just choose âValueâ for example.
In the photo you provided, just click on âValueâ to reference it. Donât look at whatâs written in gray on the right side too much, if values change from row to row it might not show correct examples of the âexpectedâ column values.
I solved it, your help was essential to understand how it worked, thanks
{{22.metaData[2].value}}
by doing an array integrator on âline itemsâ, I can extract the value of the second array that contains the fullname.
3 Likes