{"id":1194,"date":"2020-08-24T17:16:07","date_gmt":"2020-08-24T17:16:07","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/08\/24\/change-number-of-lines-in-street-address-in-magento-2\/"},"modified":"2025-05-22T11:57:18","modified_gmt":"2025-05-22T06:27:18","slug":"change-number-of-lines-in-street-address-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/change-number-of-lines-in-street-address-in-magento-2\/","title":{"rendered":"How to Change Number of Lines in Street Address in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The name and address options in Magento 2 is easy to configure with the backend options. In this post, I\u2019ll show the method to&nbsp;<em><strong>change number of lines in street address in Magento 2<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are a local business having a Magento 2 store, your business requirements may include allowing customers to enter a longer address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The address formats differ from country to country or even for different regions within the country. You may have shorter street addresses or longer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hence, you can edit the number of lines in the street address in Magento 2 so that customers can easily enter their accurate address while creating a new account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Change Number of Lines in Street Address in Magento 2:<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/08\/Steps-to-Change-Number-of-Lines-in-Street-Address-in-Magento-2-1.png\" alt=\"Steps to Change Number of Lines in Street Address in Magento 2\" class=\"wp-image-10164\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Login<\/strong>&nbsp;to admin panel<\/li>\n\n\n\n<li>Navigate to&nbsp;<strong>Stores &gt; Configuration<\/strong><\/li>\n\n\n\n<li>Under&nbsp;<strong>Customers<\/strong>, select&nbsp;<strong>Customer Configuration<\/strong><\/li>\n\n\n\n<li>Expand the&nbsp;<strong>Name and Address Options<\/strong><\/li>\n\n\n\n<li>Change the numerical value in the field \u201c<strong>Number of Lines in Street Address<\/strong>\u201c<\/li>\n\n\n\n<li><strong>Save<\/strong>&nbsp;the configuration<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/08\/Changed-Number-of-Lines-in-Street-Address-in-Magento-2-frontend.png\" alt=\"Changed Number of Lines in Street Address in Magento 2 frontend\" class=\"wp-image-10159\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also refer to the video tutorial to change number of lines in street address in Magento 2 from our&nbsp;<a href=\"https:\/\/www.youtube.com\/playlist?list=PLBTOxSAJzwEjM5MilmEqj98Ib80tKBu7r\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 video tutorial<\/a>&nbsp;series:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Change Number of Lines in Street Address in Magento 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/i47Lk6pF3eo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also, do share the tutorial with the Magento community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The name and address options in Magento 2 is easy to configure with the backend options. In this post, I\u2019ll show the method to&nbsp;change number&#8230;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1194","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1194"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1194\/revisions"}],"predecessor-version":[{"id":14720,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1194\/revisions\/14720"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}