Jump to content

Move Category description under products


jnstore

Recommended Posts

Hello all.

As per SEO text on category description is very important but at the moment on my site it disturb the user because once they land on my site they see lot of text.

there is a way to move this text at the end of the page under the products ?

This is my site https://www.jnstore.it/14-acrilico and the category you see have alot of text so I need to move the text under the products.

I have custom Theme on Prestashop 1.7.2.5

Thanks!

Link to comment
Share on other sites

  • 6 months later...
  • 1 month later...
  • 1 month later...
  • 10 months later...
On 12/30/2018 at 2:13 PM, divid said:

For Prestashop 1.7, to move the category description you should moved description from  

\themes\your_themes\templates\ catalog\listing\category.tpl file

to the

\themes\your_themes\templates\ _partials\pagination.tpl

Interestingly, could you tell which code it is that needs to be moved?
Thanks in advance.

Link to comment
Share on other sites

  • 1 year later...

For Prestashop 1.7

To move down category description you need move this code

                {if $category.description}
                    <div id="category-description" class="text-muted">{$category.description nofilter}</div>
                {/if}

from \themes\your_themes\templates\catalog\_partials\category-header.tpl

to bottom of file \themes\your_themes\templates\ _partials\products-bottom.tpl

Important! For some themes you need modify ...\catalog\listing\category.tpl instead ...\catalog\_partials\category-header.tpl

Link to comment
Share on other sites

  • 11 months later...
  • 1 month later...
  • 10 months later...
  • 1 year later...

On my blog I have prepared a solution on how to obtain the effect of category description under products while maintaining the list of categories above the products, additionally my solution does not have the error of the category description disappearing when going through subpages of categories 1,2,3, searching or using navigation fafset nawigacion prestashoop the description does not disappear the category is visible all the time and does not return to the top it is always at the bottom, the solution works in PrestaShop 1.7, 8, 9 on every template, also paid ones solution description how to reprogram it:

https://www.presta-polskie-wsparcie.pl/strona/prestashop-opis-kategorii-pod-produktami

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