Admin - Configuration - Maximum Values - Max Display Record Company Name Len - Catalog

From Zen Cart(tm) Wiki
Jump to: navigation, search


Menu: Admin - Configuration - Maximum Values - Max Display Record Company Name Len - Catalog


/path/to/your/shop/includes/modules/sideboxes/record_companies.php

Line #29 : $record_company_name = ((strlen($record_company->fields['record_company_name']) > MAX_DISPLAY_RECORD_COMPANY_NAME_LEN) ? substr($record_company->fields['record_company_name'], 0, MAX_DISPLAY_RECORD_COMPANY_NAME_LEN) . '..' : $record_company->fields['record_company_name']);