Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We will need all commerce customers to have a phone number field, since we use that for lookup in addition to email. I think this is just a field added to the user, but we may want to check how addresses are done.
Comment | File | Size | Author |
---|---|---|---|
#8 | 2901399-8.patch | 1.59 KB | rakesh.gectcr |
#6 | customer_phone-2901399-6.patch | 1.47 KB | TylerMarshall |
Comments
Comment #2
TylerMarshall CreditAttribution: TylerMarshall at Acro Commerce commentedThis patch adds a phone number field to the user via the configuration in commerce_pos. Still needs to be exposed to user and probably some sort of schema file?
Comment #3
subhojit777UUIDs are instance specific, and they should not get into yml files inside
config/install
Since this field type is already provided by the core, you don't need to provide a schema for this. Still, if you want to make sure that everything is okay, you can use https://www.drupal.org/project/config_inspector
Drupal Commerce Payment also creates user fields, you can refer the code
Comment #4
TylerMarshall CreditAttribution: TylerMarshall at Acro Commerce commentedAdds telephone field in backend.
Comment #5
TylerMarshall CreditAttribution: TylerMarshall at Acro Commerce commentedComment #6
TylerMarshall CreditAttribution: TylerMarshall at Acro Commerce commentedAdds dependencies on commerce_pos module.
Comment #7
subhojit777nitpicks
hash codes are instance specific, and shouldn't be there when you are installing a config
Please add a new line
Comment #8
rakesh.gectcrLooks like straight forward one. Please review it.
Comment #9
subhojit777Looks ok.
Comment #11
smccabe CreditAttribution: smccabe as a volunteer and at Acro Commerce commentedThanks guys, committed.