How To Add Product Brand Name Under Each Product Name In Product Listing Page

Hello,
I want to show brand name for each product in Product Listing Page (Category view). I'm using cs-cart 4.6.1.
At First, I added 'show_features=true' in products_multicolumns.tpl under 'templates/blocks/product_list_templates' folder.
Then in tmplates/blocks/list_templates path I added following code in grid_list.tpl file:

{hook name="products:main_info_title"}
{hook name="products:brand"}
{__("brand")} :
{include file="views/products/components/product_features_short_list.tpl" features=$product.header_features}
{/hook}
{/hook}
But It doesn't work. Please help me how to figure this out.
Thanks

app/controllers/frontend/categories.php

try to replace

fn_gather_additional_products_data($products, array(
            'get_icon' => true,
            'get_detailed' => true,
            'get_additional' => true,
            'get_options' => true,
            'get_discounts' => true,
            'get_features' => false
        ));

with

fn_gather_additional_products_data($products, array(
            'get_icon' => true,
            'get_detailed' => true,
            'get_additional' => true,
            'get_options' => true,
            'get_discounts' => true,
            'get_features' => true
        ));

app/controllers/frontend/categories.php

try to replace

fn_gather_additional_products_data($products, array(
            'get_icon' => true,
            'get_detailed' => true,
            'get_additional' => true,
            'get_options' => true,
            'get_discounts' => true,
            'get_features' => false
        ));

with

fn_gather_additional_products_data($products, array(
            'get_icon' => true,
            'get_detailed' => true,
            'get_additional' => true,
            'get_options' => true,
            'get_discounts' => true,
            'get_features' => true
        ));

Thanks for your answer. I've done that but nothing happened! Should I keep the code I've wrote in grid_list.tpl for brand(I mean brand hook and so on)?

What is the exact code (or variable) I must use in grid_list.tpl to show the brand name after enabling the get_features in controller?

Regards

Looks like header_features array is used on the product details page only. So revert all changes in the categories.php and use the following code in the template:

{$product.header_features = $product|fn_get_product_features_list:'H'}
    {include file="views/products/components/product_features_short_list.tpl" features=$product.header_features}

Looks like header_features array is used on the product details page only. So revert all changes in the categories.php and use the following code in the template:

{$product.header_features = $product|fn_get_product_features_list:'H'}
    {include file="views/products/components/product_features_short_list.tpl" features=$product.header_features}

Thank you so much. The code Works like a charm! :grin:

You are welcome!