Creating a custom attribute type
-
I need to create a custom attribute type. In specific I need an attribute type that is validated as an integer so I can store IDs from another platform.
I've tried a couple of solution such as rebinding the Attribute Model. But it would require me to also rebind all the Translation Models. Any ideas of where I should look in order to make this happen?
-
Hello @miguel-barbosa
We provide a feature in admin panel for this you just need to Create a attribute with ID and then assign that ID attribute then choose option type text and choose input validation number and it will work for you
Check the below link for more reference
https://docs.bagisto.com/2.2.0/attribute/product-attribute.html