|
Hi,
I added a new field (aka mynewfield) in the group table. I customized the group management interface (using a local package of my own) to deal with this new field.
Now I need to retrieve one of this group during account creation relatively to a form field data (aka mynewfieldformvalue )
Is there a way to select a group from something else than his id ?
I know :
customerGroup->load($id)
but I wish I could use something like:
customerGroup->loadBy('mynewfield', $mynewfieldformvalue)
Regards,
Laurent
|