[`In stock now`]
{if !empty($product_stocks)}
{* After filtred by stock_id *}
{$current_stock = []}
{if $stocks_count > 1 && !empty($stock_id)}
{foreach $stocks as $stock}
{if $stock.id == $stock_id}
{$stocks = [$stock]}
{$current_stock = $stock}
{break}
{/if}
{/foreach}
{/if}
{else}
[`See the general picture of your overall stock assets by every SKU and stock.`]
{$stocks_count = count($stocks)}
- 0} class="strike"{/if}>{sprintf('[`Add at least one stock in your store settings.`]', '?action=settings#/stock')}
- {sprintf('[`Save stock quantities for your products.`]', 'products/')}
{/if}
{if !empty($product_stocks)}
{*
table of info
@see 'template-product-stocks' template
*}
{literal}
{/literal}
{$_sort = ""}
{if !empty($sort) && $sort !== "count"}
{$_sort = $sort}
{/if}
{/if}