Jump to content

[solved] How can I add an extra text block to the pages category in Prestashop 1.7.8.9?


Recommended Posts

Hello all,

I would like to know, how to add an extra text block to the pages category in Prestashop 1.7.8.9? Under the category title I have an introductory text. Below are my products.

But I also want to be able to put a text under it.

Who knows how I can do that?

Thank you in advance,
Frits van Leeuwen

Edited by Frits van Leeuwen (see edit history)
Link to comment
Share on other sites

To add extra text block to the category page , you can follow the below steps :

1. Open the below file 

Path : Theme/{Your-Theme}/templates/catalog/listing/product-list.tpl

2. Modify the template file: Open the product-list.tpl file located in the appropriate theme directory (e.g., /themes/your_theme/templates/catalog/listing/product-list.tpl). Add the desired extra text content within the appropriate section of the file.

For example, you can add the extra text content at the beginning of the category page, right after the {block name='page_content_container'}:

{block name='page_content_container'}
    <div class="extra-content">
        <p>This is the extra text content.</p>
    </div>
{/block}

3. Clear the PrestaShop cache and Refresh the category page.

By following these steps, you should be able to add extra text content to the category page.

  • Thanks 1
Link to comment
Share on other sites

  • Frits van Leeuwen changed the title to [solved] How can I add an extra text block to the pages category in Prestashop 1.7.8.9?

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