Vendor Location Under Product

Hi,

I was able to display the vendor name under each product by adding the code in design/themes/responsive/templates/ blocks/ list_templates/grid_list.tpl

{include file="views/companies/components/product_company_data.tpl" company_name=$product.company_name company_id=$product.company_id}

But I can't find the code to display the vendor location like: Paris, France.

I tried this code:

{$settings.Company.company_state|fn_get_state_name:$settings.Company.company_country}, {$settings.Company.company_country|fn_get_country_name}

but it displays the Marketplace address and not the vedor address.

It is possible to show me the right code for displaying vendor location please!

Thank you

Hi,

I was able to display the vendor name under each product by adding the code in design/themes/responsive/templates/ blocks/ list_templates/grid_list.tpl

{include file="views/companies/components/product_company_data.tpl" company_name=$product.company_name company_id=$product.company_id}

But I can't find the code to display the vendor location like: Paris, France.

I tried this code:

{$settings.Company.company_state|fn_get_state_name:$settings.Company.company_country}, {$settings.Company.company_country|fn_get_country_name}

but it displays the Marketplace address and not the vedor address.

It is possible to show me the right code for displaying vendor location please!

Thank you

Hello!

Please try this

{$vendor_data = $product.company_id|fn_get_company_data}
{$vendor_data.city}, {$vendor_data.country|fn_get_country_name}

Hello!

Please try this

{$vendor_data = $product.company_id|fn_get_company_data}
{$vendor_data.city}, {$vendor_data.country|fn_get_country_name}

Thank you galtinbaeva, it works!

Thank you galtinbaeva, it works!

You are welcome :)