[-] FO : In stock sort is now removed when Stock managment is disabled on default theme.

Not to be confused for my pull #465, which was for default mobile theme.
This is for the default regular theme.
This commit is contained in:
PhpMadman
2013-06-07 10:41:02 +02:00
parent 0e75dbdbf8
commit 77864b88ae
+1 -1
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>