Magento – Separate billing/shipping addresses in magento

magento-1.7PHP

One of customers contacted him to point out that he is not able to specify different billing and shipping addresses for his account. When he changes one address, the other automatically changes as well.

I logged into the Magento admin console to try and separate the addresses myself, but I didn’t find a way.

Any Idea!!!!

Best Answer

I couldn’t fix the problem so I ended up just displaying a message to users. It only shows the message when they have one address in their address book.

To implement this fix using the default Magento theme, insert the code below in app/design/frontend/your-interface/your-theme/template/customer/address/edit.phtml

<?php if($this->isDefaultBilling() && $this->isDefaultShipping()): ?>
<ul>
    <li class="error-msg">Editing this address will update both your billing and shipping address. If you want to add an entirely new billing or shipping address click <a href="<?php echo $this->getBaseUrl();?>customer/address/new/" title="Create New Billing or Shipping Address">here</a>.</li>
</ul>
<?php endif; ?>

it's working..