Can anyone help me on how I can create a custom datatype, that works exactly like that of an enum, but the editor must be called, in my case, "Radio Button". So the values will be populated via the "Create Data Type Enum" option.
I've read the documentation at https://docs.ucommerce.net/ucommerce/v8.1/extending-ucommerce/custom-data-type.html, but it's not clear how I can get the data like this, it just explains how I get the info from a data source (_priceGroupRepository in the example).
Like this mock up.


From the documentation you sent, it looks like you will just have to return a RadioButtonList rather than a DropDownList, try using
System.Web.UI.WebControls.RadioButtonListTo replace the enum datatype, you will want to return the editor as "Enum" instead of "PriceGroupPicker" and when registering the component, you will want to use this ID
id="DropDownListControlFactory"as you want to overwrite the Enum Factory.