Various Articles covering Magento 1, Magento 2, PHP and Web Development

Latest article tagged with “Source Models”

Use custom Source Models for Multiselect Product Attributes in Magento 2

Source models in Magento 2 are very simple. They simply are classes that return a list of properties. A very basic example:

class ImportMethod implements \Magento\Framework\Option\ArrayInterface
    const METHOD_PU...
Read More