Magestore / Bannerslider-Magento2

Banner Slider Extension on Magento 2 - best way to capture the eyes of visitors!
http://www.magestore.com/banner-slider-on-magento2.html/
82 stars 100 forks source link

How to Create a Custom Field in this module #52

Open VadivelUitoux opened 8 years ago

VadivelUitoux commented 8 years ago

I want to create two custom fields (Dropdown and Text box) in banner. How can i do that?

friizu commented 8 years ago

Take a look here, this is how you do it (example adds textbox you can add caption to slider), you can add other textbox, dropdown etc in same way; https://github.com/Magestore/Bannerslider-Magento2/commit/1c90970bf0c56845091bfc44c1faaea210b87432

ps. you also need to add new columns not only Setup/InstallSchema.php but also same new columns to Setup/UpdateSchema.php otherway module update will not work. Hope it helps ;)