Tag: programmatically

  1. How to add CMS Static Block Programmatically using Setup Patch data in Magento 2

    Centre modules utilise the declarative schema way rather than setup upgrade command. This is the modern recommended method for Magento versions 2.3 and upper version. All the InstallData and UpgrageData will be substituted by Data Patch Versioning. You have to generate the Setup/Patch/Data folder and make Read more...
  2. How to create CMS Page Programmatically in Magento 2

    Making a CMS page programmatically in Magento 2 is also an important method you want to learn. As soon as generating a CMS page successfully, you will have complete control of the management of the content on the CMS page. There, you can edit or modify or delete any data as necessary. With a CMS page, it is adjustable to intervene in the Read more...

2 Items

Show per page