hixhix Posted April 30, 2011 Share Posted April 30, 2011 Hi, as the topic title, I was wondering how I can remove one specific option from the sort-by list? Thanks. Link to comment Share on other sites More sharing options...
shokinro Posted April 30, 2011 Share Posted April 30, 2011 I think you will have to modify the theme file.YourSiteRoot/themes/YourSiteTheme/product-sort.tplYou can remove the line physically or just comment it out.To comment it out, use {* and *} to embrace the code. Below is comment out sorting by name {* <option value="{$link->addSortDetails($request, 'name', 'asc')|escape:'htmlall':'UTF-8'}" {if $orderby eq 'name' AND $orderway eq 'asc'}selected="selected"{/if}>{l s='Product Name: A to Z'}</option> <option value="{$link->addSortDetails($request, 'name', 'desc')|escape:'htmlall':'UTF-8'}" {if $orderby eq 'name' AND $orderway eq 'desc'}selected="selected"{/if}>{l s='Product Name: Z to A'}</option> *} Link to comment Share on other sites More sharing options...
Recommended Posts