Skip to content

magento man

Override Model File Magento 2

I want to override MagentoPageBuilderModelCatalogSortingSimpleOption.php file. Please check the code below, <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <preference for=”MagentoPageBuilderModelCatalogSortingSimpleOption” type=”CompanyNameModuleNameModelCatalogSortingSimpleOption” /> </config> This is Model File, <?php namespace CompanyNameModuleNameModelCatalogSorting; use MagentoFrameworkDBSelect; class SimpleOption extends MagentoPageBuilderModelCatalogSortingSimpleOption { /** * @var string */ private $label;… Read More »Override Model File Magento 2

Page Admin Blank page

Hello I have a problem with my admin page, I have the connection chart but just after I have a blank page and nothing helps I can’t find a solution I tried everything as per example this: In vendormagentoframeworkViewElementTemplateFileValidator.php inside… Read More »Page Admin Blank page

How to save custom field data of Add New Terms and Condition backend form in checkout_agreement table in magento 2?

I have added a new custom field in backend (Stores->Terms & Condition->Add New Condition) default Add New or Edit Terms and Condition form.Also added a new field in checkout_agreement table.How can I save it’s data in checkout_agreement table in magento… Read More »How to save custom field data of Add New Terms and Condition backend form in checkout_agreement table in magento 2?