C
C
Chesterfield252022-01-23 01:29:04
uCoz
Chesterfield25, 2022-01-23 01:29:04

Why doesn't it display the value of the filters?

I have filters

<div class="pt-2 f-size-14"><div class="d-flex"><?if($FILTER1_VALUE$='fas fa-award')?><i class="fas fa-award"></i><?endif?> $OTHER1$ $OTHERN$</div></div>
 <div class="pt-2 f-size-14"><div class="d-flex"><?if($FILTER1_VALUE$='fas fa-credit-card')?><i class="fas fa-credit-card"></i><?endif?> $OTHER2$ $OTHERN$</div></div>
 <div class="pt-2 f-size-14"><div class="d-flex"><?if($FILTER1_VALUE$='fas fa-info-circle')?><i class="fas fa-info-circle"></i><?endif?> $OTHER3$ $OTHERN$</div></div>

The bottom line is that if some value is selected in the filter, then an icon from fontawesome is shown. The problem is that if I make a multiple selection when adding material, the icons are not shown at all. If I select only one filter, then it works fine, the icon of the selected filter is shown normally.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question