Jump to content

[SOLVED] How can I remove or hide the "Sort by" drop-down menu on the category page


beyonceuk1

Recommended Posts

Trying to remove the "Sort by" menu on the category page showing the list of products available. Also trying to remove the "There are # products" section. Tried commenting the product-sort.tpl and pagination.tpl files, and also removing the form sections on those - nothing working. I'm amending the default theme Prestashop 1.5.6.1

Link to comment
Share on other sites

Trying to remove the "Sort by" menu on the category page showing the list of products available. Also trying to remove the "There are # products" section. Tried commenting the product-sort.tpl and pagination.tpl files, and also removing the form sections on those - nothing working. I'm amending the default theme Prestashop 1.5.6.1

 

if you changed .tpl files and you don't see changes in your front office - it mean that your store uses "cached" version of these files.

try to clear shop cache and turn on force compilation (temporarily!)

Link to comment
Share on other sites

if you changed .tpl files and you don't see changes in your front office - it mean that your store uses "cached" version of these files.

try to clear shop cache and turn on force compilation (temporarily!)

 

Thanks! I'm now seeing my changes, but I still can't seem to hide those sections. The product sort section is now blank (no text) but the section bar is still there. The "There are # products" section just won't go away...

Link to comment
Share on other sites

hello

 

please check category.tpl file

there is something like:

 

there is code like:
 

<div class="content_sortPagiBar">
				{include file="$tpl_dir./pagination.tpl"}
				<div class="sortPagiBar clearfix">
					{include file="./product-sort.tpl"}
					{include file="./product-compare.tpl"}
					{include file="./nbr-product-page.tpl"}
				</div>
			</div>

this is what you're looking for :)

  • Like 1
Link to comment
Share on other sites

hello

 

please check category.tpl file

there is something like:

 

there is code like:

 

<div class="content_sortPagiBar">
				{include file="$tpl_dir./pagination.tpl"}
				<div class="sortPagiBar clearfix">
					{include file="./product-sort.tpl"}
					{include file="./product-compare.tpl"}
					{include file="./nbr-product-page.tpl"}
				</div>
			</div>

this is what you're looking for :)

 

It looks like it, but it's not working. I've removed the line {include file="./product-sort.tpl"} but nothing has changed on the page

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...