[-] FO : In stock is now removed when Stock managment is disabled

Fixes the bug where Stock managment is disabled, it stil show "In Stock" in the sort by list.
Added $PS_STOCK_MANAGEMENT to line 64.
This commit is contained in:
PhpMadman
2013-05-31 00:02:03 +03:00
parent dfac99dc64
commit 9b0b56afd2
@@ -61,7 +61,7 @@
{/if}
<option value="name:asc" {if $orderby eq 'name' AND $orderway eq 'asc'}selected="selected"{/if}>{l s='Product Name: A to Z'}</option>
<option value="name:desc" {if $orderby eq 'name' AND $orderway eq 'desc'}selected="selected"{/if}>{l s='Product Name: Z to A'}</option>
{if !$PS_CATALOG_MODE}
{if $PS_STOCK_MANAGEMENT && !$PS_CATALOG_MODE}
<option value="quantity:desc" {if $orderby eq 'quantity' AND $orderway eq 'desc'}selected="selected"{/if}>{l s='In stock'}</option>
{/if}
</select>