更改Magento Checkout中的送货信息步骤

I need to change the shipping information step in Magento Checkout page to

enter image description here

If user select the first radio the company address will comes in and it will store in database.

If user select second radio his address (already saves, new address option) will comes and stored in database.

What I did new here is, I added two radio buttons and a company address field. The my address field is already there.

The company address will hard coded in phtml file, because this is not present in user's address book.

(company address means the product providing company)

How can I did this..Please help me..any suggestion is very helpful... Magento ver 1.9.0.1

First enable the template path hint to determine the template file for shipping information if you don't know from which file it is rendering.

After you know the file now the real task starts from here.You don't need to change much you can:

  1. Add two radio button.Also add the shipping information form.one which displays company information form and another for customers address.You can use javascript to hide and display those forms according to radio button click.
  2. Now to save the values.While creating the form map the input field name and id same as the original shipping information form.Then you will not need to make changes to controller or database.

Hope you understood what i am trying to tell.

Hope this will help you.