5

Where ,i can change the number of address lines on the checkout page? Next code returns the number but where to set it?

$this->helper('customer/address')->getStreetLines();
  • 1
    did you even try a search on Magento SE? – Julien Lachal Aug 5 '14 at 7:44
15

The address is not just on checkout page, but in profile too. Anyway, in admin panel go to System → Configuration → Customers → Customer Configuration open Name and Adress options and the is Number of Lines in a Street Address. Here you can set it.

  • Works for magento ce 1.7.0.2 – Kozure Apr 12 '17 at 16:11
3

This applies to Magento Enterprise Edition 1.13 and up.

To Manage your Street Lines for Customer Addresses. You need to log into Magento Admin Panel. Go to Customers Menu -> Attributes -> Manage Customer Address Attributes.

Select Street.

Enter the number of lines you want for your address on the first page. It can be up to 20 lines.

Please remember to change your store scope on the left if you want different addresses for different store views / websites / scope.

Click Save.

Done!

  • Hmmm...there is no such menu in the default CE-1.7 version. or any other community version. Are you sure you don't have an extension? Or maybe you are using EE? – Marius Aug 5 '14 at 7:46
  • I am running EE 1.13.0.1, this is not available in the CE Versions. – clarkwalt Aug 12 '14 at 8:31
  • Well...the questionw as tagged ce-1.7.0.2. So your answer does not apply. – Marius Aug 12 '14 at 8:32
  • Ahhh! Didn't see the tag! – clarkwalt Aug 12 '14 at 8:34
1

Go in magento admin -> configuration-> Customer -> Customer Configuration-> Name and Address Options (TAB) ->Number of Lines in a Street Address and type number of streets must be 1-4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.