A
A
Archer *range attack +10*2016-03-30 11:55:31
MODX
Archer *range attack +10*, 2016-03-30 11:55:31

How to make a conclusion on the specified TV in MODX Revo?

There are a lot of prices. Sometimes the price is at the resource itself, and sometimes it happens that the prices are repeated and then it is easier to display one price on several pages than to copy it to each resource.
Therefore, I created an additional priceListParentID field for resources, in which one could simply indicate the parent ID in which the desired price is located (it is assumed that there is one price there).
I do it like this:


TV indicated differently and still does not work.
I climbed into the directory.
Tell me how to do it right.
UPD:
Chunk modelPriceList
df4a80bdd5c1479c906581a4019bdb5c.png
Price
79c5c685da7f4e3a96c63ab29ec15f0d.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-03-30
@kon-rafikov

[[getResources? 
&parents=`[[*priceListParentID]]` ...

This is how it should work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question