eCommerce - Remove fields from Billing and Shipping Form
I don't need Adress 2, Country and Province/State. I wish to remove it completely, no replacement with other fields.
Which files do I have to modify for that?
This isn't something I have tried, but you could go to dashboard > ecommerce > settings > order attributes, remove the address attribute from billing and shipping.
Then create a new 'text area' attribute called say 'Customer Address' and make it 'required'. That would give your customers a free-text area to enter whatever is needed.
Alternatively, you could create a couple of text attributes ('text' this time and not text area) that you could call 'Street Address' and 'Town/City' to replace the deleted address attribute.
Bear in mind that these could have knock on effects on both shipping modules and billing. For example, I think it could create difficulties in my zone based shipping add-on. Also, if a billing module validates a credit card using the address attribute, it could have problems if the full address is not there.
As I noted at the top, this is an idea, not something I have ever tried, so it may be a disaster.
I will try also the other way round, to make a own field thats named the same, but I don't think it will be successful.
Again, it could be a disaster and upset ecommerce code that depends on the contents of the address attribute.
There is a general howto on overrides and more in the documentation.
It looks like it specifically addresses your question.