Creating a Craft CMS Field Type

Building a Craft CMS Drop-down Field Type with Craft Commerce Data

We build a Craft field type from Craft Commerce data.

In the last cus­tom field type we did, we pop­u­lat­ed a Drop­down with sta­t­ic from an array of world lan­guages right in the method.

For this cus­tom field, we’ll do every­thing about the same as before, except this time, we’ll pop­u­late the drop­down with data from a Craft Com­merce service.

Let’s build this one a bit more quick­ly since we already know the basics of how it should work.

Creating a Craft CMS Field Type is made up of the following videos: