Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Remove last name input box from billing address in checkout
Jr. Member
Total Posts:  2
Joined:  2013-01-20

Dear Magento Support Team Member

I want to completely remove the last name field from the magento onepage checkout page. I just want to keep the first name and need it to be validated.

I have edited the app/design/frontend/"My Theme"/"My Theme"/template/checkout/onepage/billing.phtml and removed other irrelevant fields like fax number etc. But from this file, when i remove the name fieldset of name, it removes both the text boxes of first name and last name. However i only want to remove the last name and keep the first name box.

Is there any file, from where i can redefine this fieldset of name and remove the last name property. Please provide the step by step procedure, as i am new to magento coding.

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top