M
M
Matvey Tomilov2017-05-04 11:04:04
MODX
Matvey Tomilov, 2017-05-04 11:04:04

How to display description only when TV is set?

Each product has two TV - "area" and "phone number" and on the page they are highlighted in text. But not every product has them.
How to make it so that if TV is not specified, then there was no text either?
a5f11081cbfc48f793999bfc6790a2d6.png
Here, for example, Phone: should not be displayed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel, 2017-05-04
@etozhematvekat

Revo Methods

D
Dmitry Grabko, 2017-05-04
@Dima_So

Method for EVO:

[!If? &is=`[*phone*]:!empty` &then=`Телефон: [*phone*]` &else=``!]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question