Setting # 4 the number of address lines, but admin appear only 2 lines.
Internal issue created with id MAGETWO-47376. Thanks for reporting.
Hi @Litiano, the fix has been delivered to mainline (see 4956b2a).
"Leave empty for default (2)"
After migrating, this field was empty for us in adminhtml. It should show 2 lines on frontend. Instead it shows no lines.
core_config_data customer/address/street_lines NULL
If the field is filled with a value, now it shows the correct lines.
"Valid range: 1-4"
If I use "5" as value, this is accepted (shouldn't) it also show 5 lines on frontend. Value "0" is also accepted and show no lines on frontend.
Now, there is no html5 not javascript validation on this field. I think adminhtml should validate on save and leave value empty if value is not valid 1-4.
@slavvka Seems this bug is still present in magento 2.1.0
I set "Number of Lines in a Street Address" to 1, yet in the checkout is shows 2 lines.
I am using magento 2.1.5, the issue is i am not able to see the setting in magento to set the Number of Lines in street address.. Does any one encounter such issue?
Hi I also did not see anymore the option to set the number of lines in the admin.
Store->Configuration->Customer Configuration->Name and Address Options
I have also encountered the issue that 'Number of Lines in a Street Address' is missing.
It appears that in my case, this is due to being an Enterprise installation. The EE module 'Customer Custom Attributes' removes the street lines from the previously mentioned Customer Configuration.
For EE, this has moved to Stores => Attributes => Customer Address. You can find the Street attribute & modify the Lines Count there. The current EE street line range is 2-20 compared to CE's range of 1-4.
To get around this issue, in case you only want 1 line in EE, you can set the following path value to 1 in core_config_data: customer/address/street_lines
Hi Sam,
Thanks for the information
Excuse me, but what I said was incorrect, the number of street lines can be edited in customer_eav_attribute - you can edit it to one there, in the multiline_column column (make sure you edit it for the correct attribute ID).
!!Please do this on a test environment and make sure everything is still working as intended before applying to live!!
Most helpful comment
I have also encountered the issue that 'Number of Lines in a Street Address' is missing.
It appears that in my case, this is due to being an Enterprise installation. The EE module 'Customer Custom Attributes' removes the street lines from the previously mentioned Customer Configuration.
For EE, this has moved to Stores => Attributes => Customer Address. You can find the Street attribute & modify the Lines Count there. The current EE street line range is 2-20 compared to CE's range of 1-4.
To get around this issue, in case you only want 1 line in EE, you can set the following path value to 1 in core_config_data: customer/address/street_lines