{if $item->previewMode || $row.deleted == 'y'} {$row.quantity|intval} {else} {if not $item->previewMode} {/if} {/if}