So I have removed the "shipping address" from checkout page, and only using billing information. I also want to remove the option of "default shipping address" which is in customers account.
thanks
checkoutcustomercustomer-accountmagento-1.9shipping
So I have removed the "shipping address" from checkout page, and only using billing information. I also want to remove the option of "default shipping address" which is in customers account.
thanks
Best Answer
In the template
app/design/frontend/base/default/template/customer/address/edit.phtml
you can see at the bottom there are two input items one for default shipping and one for default billing addresses.What I would suggest is that you have two options.
canSetAsDefaultShipping
always returns false.Personally I would choose the template way at the moment as template changes feel easier to me.
If you have a sample layout xml the following snippet should work.