Question

I would replace two fields in customer account creation :

  • First Name should become Account Number

  • Name Prefix should become Company Name

And these two fields must appear in orders export...

The 2 fields i want to replace :

If you have any hints to help me..

Thanks !

Was it helpful?

Solution

I found a solution for my problem

I've started with a free module which allow us to manipulate the customer's attributes, but it doesnt apply in StoreFront at the checkout Step.

This module is Clarion/Customer-Attribute and you can find it at https://marketplace.magento.com/clarion-customer-attribute.html

At this point i needed the labels to be renamed in checkout step too, the best solution i found was to modify them in mySql :

UPDATE eav_attribute SET frontend_label='Company Name' WHERE frontend_label = 'Name Prefix';
Query OK, 1 row affected (0.021 sec)
Rows matched: 1  Changed: 1  Warnings: 0 

UPDATE eav_attribute SET frontend_label='Account Number' WHERE frontend_label = 'First Name';
Query OK, 1 row affected (0.021 sec)
Rows matched: 1  Changed: 1  Warnings: 0 

Flush cache, setup:upgrade blablabla and it's working.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top