We create a custom customer attribute in Magento Enterprise (1.12.0.2) to store the users account id, thus allowing us to keep our RMS in sync with Magento.
I need to set the RMS id manually (via PHP), and then later get the RMS id. The custom attribute is a text field and it’s label is rms_id. I need to do the following:
- Check if rms_id is set using customer id
- If it’s not set, update the customers rms_id with a provided value
Seems straightforward, however I’m new to Magento development and cannot find a solution to this problem. All searches return results for custom product attributes, which is not the asme as a custom customer attribute. Any help would be much appreciated.
1 Answer