{if !empty($product_stocks)} {foreach $stocks as $stock} {/foreach}
 {strip} {$sort_key = 'stock_count_'|cat:$stock.id} {$stock.name|escape} {if $sort == $sort_key} {/if} {/strip}{strip} [`All stocks`] {if $sort === 'count'} {/if} {/strip}
{_w('%d product','%d products', $count)} {sprintf(_w('of %d'), $total_count)}

= $total_count}style="display:none;"{/if}>[`Show more products`]
{else}
[`How to view the stock balance of all products`]
  1. {sprintf('[`Add at least one stock in your store settings.`]', '?action=settings#/stock')}

  2. {sprintf('[`Save stock quantities for your products.`]', '?action=products#/products/')}
{/if} {if !empty($product_stocks)} {* table of info @see 'template-product-stocks-sku-list' template *} {literal} {/literal} {* sku-list in one cell @see 'template-product-stocks' template *} {literal} {/literal} {$_sort = ""} {if !empty($sort) && $sort !== "count"} {$_sort = $sort} {/if} {/if}