0

So i need to add widget with script on homepage with Data upgrade.(magento 2.2) and should i use in it the widget i created before for adding it from admin panel. tried this https://blog.chapagain.com.np/magento-2-create-widget-programmatically-assign-static-block-to-it/ but its adding block to homepage so could not solve my problem. thanks.

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.