@codrin @aware_support
# if(data["QtyAvail"] ) { #
<div class="a-row-mobile">
<span class="search_label-mobile">Qty. Available: </span>
<span class="search_value_descr-mobile" >{QtyAvail}</span>
</div>
# } #
This snippet is from a Custom Layout. Only when the QtyAvail field IS NOT NULL does it include the <DIV> section to show the field. I've done this quite a bit.
The syntax checker here will validate that a field in BRACES is valid and exists in the BO.
But now, I need to add conditional HTML based on a field value THAT IS NOT IN THE BO.
Either a field from LIRU, or from my SessionVars BO.
In my specific case, I'm showing items available to sell. I want to show an indicator for an item that has been added since the users last visit.
👉NEWITEM👈 but I need the LastLogin date from the user record, to check against each item's DateCreated
