Jump to content

How to remove "sort by" and "items per page" ?


Tintarella

Recommended Posts

  • 8 months later...
  • 2 years later...

in this case you have to edit the category.tpl file located in your theme directory

 

you've got there something like:

{if $products}
  <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>

  {include file="./product-list.tpl" products=$products}

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

 

 

just remove / comment first pagination code:

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

Link to comment
Share on other sites

  • 1 month later...

No. I also have to test an original Prestashop. Since nothing has been changed to it. Still, the same problem occurs because of too.

If I turn off the sorting function according to the instructions, the pages listed on the looks too.

 

Regards

Link to comment
Share on other sites

  • 1 month later...

When i try to comment out the text in product-sort.tpl and pagination.tpl my screen gets white when i refresh the page.

 

Can anybody help me?

 

it mean that you've got some parse error in code. It's probably related to wrong code that you use.

can you show how it looks like after modifications?

Link to comment
Share on other sites

  • 7 months later...

Hi,

 

Another question on editing/changing the pagination bar.

 

I would like to remove it from the category page but keep it on the subcategories pages. I've tried editing category.tpl file but, unfortunately my lack of knowledge stopped me from succeeding. Help please :-) 

 

Sylwia

Link to comment
Share on other sites

  • 7 years later...

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