• Resolved dv18

    (@dv18)


    Dear Bernhard,

    Your plugging seems the solution that I was looking for. However, I can’t seem to display the array data (products) from a valid json. My testing code is:
    [jsoncontentimporter url=https://www.123mc.dk/feed/transport-paging.json.php?did=1858&new=2&encode=utf8]
    Besked: {message}
    {response}
    test ads:
    {subloop:t:-1}
    {subloop-array:t.annoncer:-1}
    {t.annoncer.brand}{t.annoncer.model}
    {t.annoncer.text}
    {subloop-array:t.annoncer:images:-1}
    {t.annoncer.images.small}
    {/subloop-array:t.annoncer:images}
    {/subloop-array:t.annoncer}
    {/subloop:t}
    [/jsoncontentimporter]

    Any assistance in order to display the products is greatly appreciated.

    All the best 🙂
    Diego

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author berkux

    (@berkux)

    try this:

    [jsoncontentimporter url=https://www.123mc.dk/feed/transport-paging.json.php?did=1858&new=2&encode=utf8 fdebugmode=10]
    Besked: {message}
    {response}
    test ads:
    {subloop:T:-1}
    {subloop-array:T.annoncer:-1}T.annoncer.id:{T.annoncer.id}
    {subloop-array:T.annoncer:images:-1}
    {T.annoncer.images.small}
    {/subloop-array:T.annoncer:images}
    {/subloop-array:T.annoncer}
    {/subloop:T}
    [/jsoncontentimporter]

    Thread Starter dv18

    (@dv18)

    Thank you very much for correcting my syntax, it does work like a charm. We’ll get the pro version soon.
    All the best 🙂
    Diego

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to display array objects in subloop’ is closed to new replies.