We build a Craft field type from Craft Commerce data.
In the last custom field type we did, we populated a Dropdown with static from an array of world languages right in the method.
For this custom field, we’ll do everything about the same as before, except this time, we’ll populate the dropdown with data from a Craft Commerce service.
Let’s build this one a bit more quickly since we already know the basics of how it should work.

I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.