Print Company Data To Page

It's only printing the domain now. The rest is blank. Even the companyname.

Oh wait...interesting.. [domain] IS working. The rest is not printing anything

Please add to the end

{$cdata|fn_print_r}

and post here what do you see

Please add to the end

{$cdata|fn_print_r}

and post here what do you see

Array
(
[company_id] => 11
[status] => A
[company] => *the name of the store*
[lang_code] =>
[address] =>
[city] =>
[state] =>
[country] =>
[zipcode] =>
[email] =>
[phone] =>
[fax] =>
[url] =>
[storefront] => *the website of the store*
[secure_storefront] => *the website of the store*
[entry_page] => none
[redirect_customer] => N
[countries_list] => Array
(
)

[timestamp] => 1502711971
[shippings] =>
[logos] =>
[request_user_id] => 0
[request_account_name] =>
[request_account_data] =>
[shippings_ids] => Array
(
)

)

Not sure why, but for some reason company address is empty. Please make sure that it is specified correctly in the admin panel

All the other fields are empty aswell, but everything IS filled in on the backend.
Can the procedure be somewhat diffrent for multi-store environments?

All the other fields are empty aswell, but everything IS filled in on the backend.
Can the procedure be somewhat diffrent for multi-store environments?

The returned store name is correct?

Yes, Storefront, secure storefront, and company is correct.

I have no idea. It is required to examine the code

Weird...have been trying tons of stuff, cannot get it to work.

More then a year later and we've not managed to get this working. Anyone knows how to get this working or willing to do this for us?

Try to use the following code get address

{$company_address = "SELECT address FROM ?:companies WHERE company_id = ?i"|db_get_field:$runtime.company_id}
{$company_address|fn_print_r}

Still not getting it to work. Looking for someone to hire now who can get this done.
Maybe something for you eCom?

Please leave a request here

https://www.ecom-labs.com/?quote

OK so actually it is very tricky to print actual company name.

?dispatch=companies.update&company_id=1

Has following:

Name: domain1.com
Storefront: www.domain1.com
Company name: Domain LTD

Name: domain1.com is used so it is easier to navigate within admin panel. If it was named as Domain LTD for each of 4 domains it would be not possible to recognize.

I am looking for a way to print “Company name:” and it is not located in db field cscart_companies

I think field name company in db cscart_companies should be renamed to name, it would be more useful in ultimate version.