JSON nested looper provider / consumer

Hello,

i have this JSON included as a provider & consumer for my Section

{
  "TN" : [ {
    "name" : "Powerball",
    "plays" : [ {
      "name" : "Powerball",
      "draws" : [ {
        "date" : "02/21/2022",
        "nextDrawDate" : "02/23/2022",
        "nextDrawJackpot" : 45000000,
        "numbers" : [ {
          "value" : "02",
          "order" : 1
        }, {
          "value" : "36",
          "order" : 2
        }, {
          "value" : "37",
          "order" : 3
        }, {
          "value" : "45",
          "order" : 4
        }, {
          "value" : "69",
          "order" : 5
        }, {
          "value" : "03",
          "order" : 6,
          "specialBall" : {
            "name" : "Powerball",
            "className" : "powerball"
          }
        }, {
          "value" : "2",
          "order" : 7,
          "specialBall" : {
            "name" : "Power Play",
            "className" : "power-play"
          }
        } ],
        "prizes" : [ ],
        "extraFields" : [ ]
      } ]
    } ]
  }

And have followed this to get a nested repeater - but it only works for one provider / consumer instance.

I create a dynamic content provider {{dc:looper:field key=“TN”}} … and a consumer with a text box … {{dc:looper:field key=“name”}} and it works - I get the name Powerball

However … if i add a div set as a dynamic content provider {{dc:looper:field key=“draws”}} and a consumer text box with {{dc:looper:field key=“date”}} … I get nothing.

Where am i going wrong?

Thanks

Hi Jack,

Thanks for reaching out.
If you have followed the way suggested by my colleague in the reference thread, it should come up as expected. If that is not coming, there might be something in the looper settings, which we have to check. I would suggest you please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password
– Specific Page/Layout where you have set this looper

To create a secure note, click the key icon underneath any of your posts.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.