Timeline for How to add a CMS block programmatically in Magento 2?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 13, 2021 at 13:53 | comment | added | Zeeshan Khuwaja | everythings looks good except the store_id part, this should be dynamic and should pick up the default store id from the database. | |
Jul 26, 2016 at 15:14 | comment | added | user42093 | I implemented the block repository functionality as well to save the block. Seems a slightly better practise indeed. Thank you. | |
Jul 26, 2016 at 12:21 | history | answered | Mageworx | CC BY-SA 3.0 |