{if $override_box}
    {$elm_name = "override_products_data[`$field`]"}
{else}
    {$elm_name = "products_data[`$product.product_id`][`$field`]"}
{/if}
{if $product.product_id}
    {$result_id = "field_`$field`_`$product.product_id`_"}
{else}
    {$result_id = "field_`$field`_0_"}
{/if}
<input type="hidden"
       name="{$elm_name}"
       id="{$result_id}"
       value="{$product.$field}"
       {if $override_box}disabled="disabled"{/if}
/>

{if $zero_company_id_name_lang_var}
    {$url_extra = "?show_all=Y&default_label=`$zero_company_id_name_lang_var`"}
{/if}

{include file="common/ajax_select_object.tpl"
    data_url="companies.get_companies_list`$url_extra`"
    text=$product.$field|fn_get_company_name
    result_elm=$result_id
    id="prod_`$product.product_id`"
}
