A
A
ART42018-10-03 11:03:51
MODX
ART4, 2018-10-03 11:03:51

Additional field does not display a preview of the picture?

Hello, I'm making a website. I made a template Category of goods, inserted there:

[[!getPage?
         &elementClass=`modSnippet`
         &element=`getResources`
         &showHidden=`1`
         &parents=`76` 
         &tpl=`tovar` 
         &limit=`100`
         &sortby=`menuindex`
         &sortdir=`ASC`
         &includeContent=`1`
         &includeTVs=`1`
         &processTVs=`1`
         &parents=`2`
         &hideContainers=`1`
         &includeTVs=`oplata`
    ]]

Where product is a chunk of my design and in it:
<!-- Начало товара -->
 <div class="col-sm-4 product-ots square">
 <div class="product">
 <div class="product-img">
 <a href=""><img src="[[pthumb? &input=`[[+tv.image]]` &options=`w=330`]]" alt=""></a>
 </div>
 <p class="product-title">
 <a href=""></a>
 </p>
 <p class="product-desc"></p>
 <p class="product-price">[[*oplata]]</p>
 </div>
  </div>
<!-- конец товара -->

Question: why doesn't the additional field oplat a display? Although it is registered in the admin panel and in the product card it is
PREVIEW
20de29d086.png
ADMIN
77ffe34220.png
ae3401d202.png

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
ART4, 2018-10-03
@ART4

Decided to cut in.
Then we are given
a placeholder [[+tv.oplata]]
B output
6c956940cd.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question