I'm trying to get the vendor name display on each of the products in grid.
I was in grid_list.tpl (line 31)
{assign var=“obj_id” value=$product.product_id}
{assign var=“company_id” value=$product.company_id}
I could get and display the company_id.
I have tried using the same code as the product id getting the description
{assign var=“company_id_prefix” value=“$company_prefix``$company.company_id
”}
{include file=“common_templates/company_data.tpl” company=$company}
{assign var=“obj_id_prefix” value=“$obj_prefix``$product.product_id
”}
{include file=“common_templates/product_data.tpl” product=$product}
And i used the same code to display it like product name
//Vendor
{assign var=“name” value=“name_$company_id”}{$smarty.capture.$name}
{assign var=“name” value=“name_$obj_id”}{$smarty.capture.$name}
Please somebody guide me how to do this. Thanks in advance.