How to get Category Description in prestashop template

I want to show a category description in my products list page (in the filters part). But I only have the name and id of the category and can't find a method in the category class that also gives me the description.

Can you help me? :)

I was able to get the category information with this method:

{assign var='cat' value=Category::getNestedCategories($categoryId)}
{$cat[categoryId].description nofilter}

Thank you for your help.

Category description not showing on category page, I'm having a strange problem of not seeing any category descriptions on my From what I can see you have an admin site for your theme ? How to get Category Description in prestashop template. Ask Question Asked 1 year, 4 months ago. Try with below code to get the category description.

Create override Link.php witj this code :

Class Link extends LinkCore {
    public function getInfoCateg($idc) { 
     $category = new Category($id);
     return $category->description;
    }
}

And in your tpl :

{$link->getInfoCateg($product.id_category_default)}

And clear cache file.

Regards

Category Description - General topics, How can I display category description only for first page of pagination and bellow all It should be category.tpl, but it depends on the template. The procedure looks the following way: Log into your PrestaShop admin panel and navigate to Catalog -> Categories: Click on the “Add New Category" button in the top right area: Open the form for adding a new category and fill in all the required information. Note: most of the options are not You

Try with below code to get the category description.

$categories_id = Product::getProductCategories($row['id_product']);
$category = new Category($id);
$description = $category->description;

[Free module / widget] Additional second category description, For PS 1.6: To use the module you need to install it and then add {hook PrestaShop 1.7.7 beta is released. By Daresh , November 2, 2018 in Free Modules & Themes to category.tpl in a place where you want to display the description, you may also add this hook to some other place, letf column,� The "Short description" field enables you to write a short description that will appear in search engines and in the category description for your product. This field is limited to 400 characters by default: if you exceed that limit, PrestaShop will warn you with a message in red below the field.

In addition to patricia, you can pass the language id, like this:

{assign var='cat' value=Category::getNestedCategories($categoryId,$language.id)}
{$cat[categoryId].description nofilter}

How to get Category Description in prestashop template, I was able to get the category information with this method: {assign var='cat' value =Category::getNestedCategories($categoryId)}� Log into your PrestaShop admin panel and navigate to Modules -> Modules section: Search for the Categories Block module and press the Configure button to access its settings: Select the Home category in the Category root option: Press the Save button to keep your changes.

PrestaShop 1.6.x. How to display the Categories , In this tutorial we will show you how to display the Categories Block module in the sidebar of the category page in PrestaShop. This tutorial will show you how to display a full category description instead of a short one and remove More button on Prestashop category pages. Read More PrestaShop 1.6.x.

PrestaShop 1.6.x. How to remove "More" button on category page , This tutorial will show you how to display a full category description instead of a short one and remove More button on Prestashop category pages. “More” button on category page and display full description � Premium Prestashop Themes. Hi everybody! Im new in the prestashop community, and I would like to ask you something Is there any way to appear in every category different template? Thank You!

Show category description on CMS page, For example i have category page "dresses" - this category has a description, but I can find a way of displaying it. PrestaShop expert answer. Hello. This case� The following tutorial will show you how to add custom link to the categories menu in PrestaShop 1.6.x template. Build your website with templates from TemplateMonster.com:

Comments
  • Should I need to override the class?
  • I need to do it inside my template. I'm on the filter (facet) part.