I dont want to show last name from billing and shipping name everywhere like invoice , sales order , how can i do same with out changing from database please help me with same .

i am new to magento and do want want to change core files for it , any over to override last name to null ?

1 Answer 1


Step -1 Go to Store->Setting->Configuration->Customerts->Customer Configuration->Name and Address Option->Address Templates

enter image description here

Step -2 Remove {{/depend}}{{var lastname}} from All Address Templates and Save config

I hope this is helpful to you!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.