[[+content_image]]
A
A
ArniVine2021-09-29 15:40:51
MODX
ArniVine, 2021-09-29 15:40:51

Just learning modx, who will tell me?

I have means TV fields with input type List (multiple choice)
the output itself looks like this

<ul class="bxslider-product-bought">
[[!pdoResources?
    &parents=`0`
    &resources=`[[tvResourcesExplode? &tv_list=`[[*product-bought]]`]]`
    &depth=`0`
    &sortby=`menuindex`
    &sortdir=`ASC`
    &tpl=`ListRowProductBoughtTpl_new`
    &includeTVs=`h1`
]]
</ul>

possible values ​​on tv
@SELECT `pagetitle`, `id` FROM `[[+PREFIX]]site_content` WHERE template IN (7,4,8)

but there was a problem - if you display one product, everything is OK, if you display more, then only the title remains

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
S
Sergey, 2021-09-29
@ArniVine

61546fd90fce0625744968.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question