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