Question

Nested Line Item Groups (Array inside array)

  • 16 August 2023
  • 0 replies
  • 55 views

Is it possible to have nested Line Item Groups:

{
"id": 41,
"name": "jojo",
"pets": [{
"id": 14,
"name": "lala",
"toys": [{
"material": "fabric",
"color": "green",
"id": 4
},{
"material": "bone",
"color": "white",
"id": 1
}]
},{
"id": 8,
"name": "dada",
"toys": [{
"material": "fabric",
"color": "pink",
"id": 44
},{
"material": "bone",
"color": "white",
"id": 1
}]
}]
}

The person has pets, the pets have toys.

There was a post from last year  that said this wasn’t possible without some coding shenanigans.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.