Skip to main content
deleted 336 characters in body; edited title
Source Link
harri
  • 5.5k
  • 6
  • 46
  • 103

And run setup:upgrade to install the plugin. 

I compared my attribute to the gender attribute and matched a lot of the values where there where differences and its shown up. Main issues seems to be that, the sourcesource model wasn't being set and need to work out how to make sure this is correct whenset. When i set the source manually it shows? Not sure how to get this to work with the setup script still up fine however.

And run setup:upgrade to install the plugin. I compared my attribute to the gender attribute and matched a lot of the values where there where differences and its shown up. Main issues seems to be that, the source wasn't being set and need to work out how to make sure this is correct when i set the source manually it shows? Not sure how to get this to work with the setup script still.

And run setup:upgrade to install the plugin. 

I compared my attribute to the gender attribute. Main issues seems to be that, the source model wasn't being set and need to work out how to make sure this is set. When i set the source manually it shows up fine however.

deleted 336 characters in body; edited title
Source Link
harri
  • 5.5k
  • 6
  • 46
  • 103

Add Dropdown Customer Attribute in Source Model not set when adding customer attribute - Magento 2.2.1

And run setup:upgrade to install the plugin. This works fine it seems and the attribute cp_permissions is added within the eav_attribute table however when checking the customer edit page within admin no attribute is visible. What am i doing wrong here?

UPDATE

I compared my attribute to the gender attribute and matched a lot of the values where there where differences and its shown up. Main issues seems to be that the type was static for gender, the source wasn't being set and need to work out how to make sure this is correct.

Ok not sure what i changed really but this seems to work now but only because when i changedset the database slightly.source manually it shows? Not sure how to get this to work with the setup script still.

Add Dropdown Customer Attribute in Magento 2.2.1

And run setup:upgrade to install the plugin. This works fine it seems and the attribute cp_permissions is added within the eav_attribute table however when checking the customer edit page within admin no attribute is visible. What am i doing wrong here?

UPDATE

I compared my attribute to the gender attribute and matched a lot of the values where there where differences and its shown up. Main issues seems to be that the type was static for gender, the source wasn't being set and need to work out how to make sure this is correct.

Ok not sure what i changed really but this seems to work now but only because i changed the database slightly. Not sure how to get this to work with the setup script still.

Source Model not set when adding customer attribute - Magento 2.2.1

And run setup:upgrade to install the plugin. I compared my attribute to the gender attribute and matched a lot of the values where there where differences and its shown up. Main issues seems to be that, the source wasn't being set and need to work out how to make sure this is correct when i set the source manually it shows? Not sure how to get this to work with the setup script still.

added 30 characters in body
Source Link
harri
  • 5.5k
  • 6
  • 46
  • 103

SOLVED I THINK

Ok not sure what i changed really but this seems to work now. I will try and confirm when but only because i installchanged the database slightly. Not sure how to get this module againto work with the setup script still.

SOLVED I THINK

Ok not sure what i changed really but this seems to work now. I will try and confirm when i install this module again.

Ok not sure what i changed really but this seems to work now but only because i changed the database slightly. Not sure how to get this to work with the setup script still.

added 85 characters in body
Source Link
harri
  • 5.5k
  • 6
  • 46
  • 103
Loading
added 75 characters in body
Source Link
harri
  • 5.5k
  • 6
  • 46
  • 103
Loading
added 278 characters in body
Source Link
harri
  • 5.5k
  • 6
  • 46
  • 103
Loading
Source Link
harri
  • 5.5k
  • 6
  • 46
  • 103
Loading