Vendor Information Tags

Good morning,

I am looking to add Vendor's contact number into one of templates for Layout blocks for website admin.

The original code is:

{** block-description:block_vendor_information **}
{hook name="companies:vendor_information"} {/hook}
{$vendor_info.company_description nofilter}

We have tried adding the following but neither of these works as intended:

a)

{$company_data.phone nofilter}

b)

{$vendor_info.company_phone nofilter}

Help is appreciated.

Hello

Try

{$vendor_info.phone nofilter}

Best regards

Robert

Please add

{$vendor_info|fn_print_r}

to check if this array is filled

Thanks to both of you.

Robert - this worked flawlessly.

Ecomlabs - will keep this handy if an array needs to be checked for data presence.

Many thanks.