Vendor Information On Product Page

Good afternoon,

We have a smarty html code for displaying Vendor details on our product pages.

{** block-description:block_vendor_information **}
{hook name="companies:vendor_information"} {/hook}

{$vendor_info.company_description nofilter}
Ph: {$vendor_info.phone nofilter}

This used to work fine with our previous theme "vivashop" but does not seem to work on cs-cart's default theme anymore.

What changes need to be made to the code? Help is appreciated.

Try to add to second line

{if !$vendor_info}
    {$vendor_info = $product.company_id|fn_get_company_data}
{/if}

(!) Not tested

Nice, neat idea this.thanks