Symptoms
A customer cannot create account in the BA Online Store with long enough company name because the maximum length of the corresponding field is limited by 64 characters.
As Provider I want to increase length of the Company name field in the Online Store.
Resolution
Follow the steps below to resolve the issue.
- Log into BA Provider Control Panel
- Go to Home> Products> Online Store
- Make sure that desired Online Store is marked as 'Selected for editing'
- Go to Home> Products> Online Store> Layout Templates
- Make sure that the 'organization' layout template is present in the list of customized templates (if it is not present in the list - add it using the 'Add Standard Layout' button)
- Click on the 'organization' template and click 'Edit'
Find the section like provided below:
{widget name="CompanyNameID" title=$smarty.session.LANG.COMPANY id="CompanyNameID" size="25" maxlength="64" disabled=$companyDisabled }
- Modify the value in the 'maxlength' parameter to the desired one
- Click Save
Synchronize the modified template with the Online Store at Home> Products> Online Store> Synchronize Now
Note that you cannot have the value more than 80 - the CompanyName record in the Account table of BA database is of type varchar(80). The value cannot be increased, there is a feature request with id #PBA-66233 to increase the CompanyName length.