How to create an drop-down product attribute for frontend programmatically .
1 Answer
You can check this link : https://devdocs.magento.com/videos/fundamentals/add-new-product-attribute/
It describes all the steps for achieving what you are looking for .