I have a product attribute that I populate from my own custom table, I have a class that extends from \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource to be able to populate my attribute using the source property.

This works well for a select input but I need it to work with a Visual Swatch using a field in my custom table as the location for the Swatch image.

This seems impossible to do, any idea on how I can achieve this is very much welcome.

Thanks for any help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.