Vendor Information In Smarty Html Block

Hello

Hello
I'm new to CS Cart starting to get acquainted with the Smarty HTML Block and I come to ask for your help.
I would like to show the vendor information in a small block:
Vendor Name
Vendor address
Vendor phone number
Vendor email
For now I have only managed to show the name of the vendor but I don't know how to show the other information:

{$ company_id | fn_get_company_name}

Please could you tell me how should I add the other two variables?
Thank you very much

Please try

{$data = $company_id|fn_get_company_data}
{$data|fn_print_r}

When i try this in MVE standard in a smart html template i get this

Syntax error in template "string:{$data = $company_id|fn_get_company_data..." on line 1 "{$data = $company_id|fn_get_company_data}" modifier 'fn_get_company_data' not allowed by security setting

I am trying to access the vendor data and some custom profile fields for a vendor page i am designing up.

any help or guidance would be appreciated.

I was thinking do i need to allow on the local config some access to vendor data ? not sure

Yes, unfortunately in the new Smarty block such calls are forbidden

You can extend the list of the allowed functions:

https://docs.cs-cart.com/latest/developer_guide/addons/compatibility/adapting_4152_to_4161.html#html-block-with-smarty-support-is-marked-as-deprecated