1b.app
Link copied -

Condition on a variable

It is necessary to implement the following condition, under which a cell in the table with a quantity of goods > 1 will be highlighted.
{|if $row:product_count > 1|}
<td class="xl844667" style="background-color: black; color: white; font-size: 18px;"><strong>{row:product_count}</strong></td>
{|else|}
<td class="xl844667" style="border-top: none; border-left: none;"><strong>{row:product_count}</strong></td>
{|/if|}
with row:product_count variable doesn't work
http://joxi.ru/brRgJbgsOYQP1m
works with other variables, but they display the total number of goods or positions.
Original question is available on version: ru

Answers:

With row, unfortunately, I couldn’t do anything with the basic functionality (
10.09.2020, 15:47
Original comment available on version: ru

Damn, what a pity, a very necessary thing, so that when assembling they are not mistaken with the quantity.
10.09.2020, 16:12
Original comment available on version: ru

well, if you need to pay attention, you can highlight the entire column with styles on <td>
10.09.2020, 16:17
Original comment available on version: ru

needed only if the quantity is more than one
10.09.2020, 16:25
Original comment available on version: ru

then there is no basic functionality here. Do you estimate the cost of improvement?
11.09.2020, 12:16
Original comment available on version: ru

not yet, thanks
11.09.2020, 12:29
Original comment available on version: ru

{|if $productsum-$countOrderProducts > 0|}
and this is how it should work?
11.09.2020, 12:58
Original comment available on version: ru

worked, only with spaces
11.09.2020, 13:00
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment