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