Merge pull request #486 from PhpMadman/patch-1

[-] FO : In stock sort is now removed when Stock managment is disabled
This commit is contained in:
Gregory Roussac
2013-08-06 02:49:48 -07:00
committed by gRoussac

View File

@@ -64,7 +64,7 @@ $(document).ready(function()
{/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>