Jump to content

(SOLVED)Remove Sort Drop Down Box


Recommended Posts

Themes>Your_theme>product-sort.tpl find below code and delete. Do not forget to back-up your file before doing that. That's all.

 

However, you may also want to put an extra line in the place of the code you deleted as it also deletes the break after the COMPARE button.

 

Regards.

 

<form id="productsSortForm" action="{$request|escape:'htmlall':'UTF-8'}">
<p class="select">
 <select id="selectPrductSort">
  <option value="{$orderbydefault|escape:'htmlall':'UTF-8'}:{$orderwaydefault|escape:'htmlall':'UTF-8'}" {if $orderby eq $orderbydefault}selected="selected"{/if}>{l s='--'}</option>
  {if !$PS_CATALOG_MODE}
   <option value="price:asc" {if $orderby eq 'price' AND $orderway eq 'asc'}selected="selected"{/if}>{l s='Price: lowest first'}</option>
   <option value="price:desc" {if $orderby eq 'price' AND $orderway eq 'desc'}selected="selected"{/if}>{l s='Price: highest first'}</option>
  {/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}
   <option value="quantity:desc" {if $orderby eq 'quantity' AND $orderway eq 'desc'}selected="selected"{/if}>{l s='In-stock first'}</option>
  {/if}
 </select>
 <label for="selectPrductSort">{l s='Sort by'}</label>
</p>
</form>

  • Like 6
Link to comment
Share on other sites

  • 2 years later...
  • 4 months later...
  • 2 weeks later...
  • 6 months later...

Themes>Your_theme>product-sort.tpl find below code and delete. Do not forget to back-up your file before doing that. That's all.

 

However, you may also want to put an extra line in the place of the code you deleted as it also deletes the break after the COMPARE button.

 

Regards.

 

Thank you! Worked like a charm ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...