Separate billing/shipping addresses in magento?

Separate billing/shipping addresses in magento?

September 14, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Separate billing/shipping addresses in magento?

Separating Billing and Shipping Addresses in Magento

As an experienced developer, I frequently receive inquiries about customizing the functionality of e-commerce platforms like Magento. One common request is to separate billing and shipping addresses for registered customers. In this post, we’ll explore how to achieve this using core features and some additional configuration.

Understanding the Default Behavior

In a default Magento installation, when you create an account or update your profile, only one address field set is available—combining both billing and shipping information into a single entity. This design choice simplifies the user experience but can be limiting for certain business models or customer preferences.

Separating Addresses with Customer Attributes

To implement separate addresses, we’ll need to create additional attributes specifically for shipping details. Here’s how:

  1. Log in to your Magento admin panel and navigate to Customers > Attributes.

  2. Click the Add New Attribute button on the right side of the page.

  3. Fill out the attribute information:

    • Attribute Code: shipping_street
    • Frontend Properties:
      • Label: Shipping Street
      • Input Type: Text Area
      • Is Required: No
  4. Click Save Attribute.

  5. Repeat steps 2-4 to create additional shipping-specific attributes like shipping_city, shipping_state, etc.

  6. Save your new attributes and exit the admin panel.

Integrating Shipping Addresses into Forms

By default, Magento’s customer registration and account management forms include only one address field set. To display separate billing and shipping fields, we’ll need to update these templates:

  1. Locate the customer/form/register.phtml file in your theme directory (usually found under app/design/frontend/{package}/{theme}/template/customer/form).

  2. Find lines 47-53, which define the address fieldset. Replace this section with code similar to the following:

<div class="field-set">
    <h6><?= $this->escapeHtml(__('Billing Information')) ?></h6>
    <?= $form->getElement('billing')->renderView() ?>
</div>

<div class="field-set">
    <h6><?= $this->escapeHtml(__('Shipping Information')) ?></h6>
    <?= $form->getElement('shipping_street')->renderView() ?>
    <?= $form->getElement('shipping_city')->renderView() ?>
    <?= $form->getElement('shipping_state')->renderView() ?>
    <!-- Add other shipping-specific fields here -->
</div>
  1. Save the modified template and clear your cache.

Updating Customer Addresses in the Admin Panel

To make it possible to edit separate shipping addresses from the admin panel:

  1. Navigate to Customers > Manage Customers.

  2. Select a customer record and click Edit.

  3. You should now see two address field sets: one for “Address Book Entries” (billing) and another for “Shipping Addresses”.

  4. Update the shipping-specific attributes created earlier, such as shipping_street.

  5. Save your changes.

Conclusion

Separating billing and shipping addresses in Magento requires some manual configuration and template adjustments. By creating additional customer attributes and updating relevant templates, we can provide a more flexible address management system for our registered customers.

Remember to thoroughly test this implementation on both the frontend (customer portal) and backend (admin panel) before deploying it to your production environment.

For more advanced customization options, consider exploring Magento’s extension marketplace or contacting experienced e-commerce developers. At Laravel Company, we specialize in Magento development services that can help you optimize your store for a better customer experience. Learn more about our Magento solutions.

Admin Configuration Customers CLI

Our network