I've create a customer attribute, when the attribute is set I can change its value etc, however when the attribute is not set it doesn't show up therefore I can not set it. Is there a way to do this?

I am currently loading the\Magento\Customer\Api\CustomerRepositoryInterface and loading the customer by its ID.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.