Skip to content

magento man

in admin form field

I have an admin form with a few select fields declared in my _prepareForm method like the example below: protected function _prepareForm() { $form = new Varien_Data_Form(array( ‘id’ => ‘datacenter_action_form’, ‘action’ => $this->getUrl(‘*/*/saveConfig’), ‘method’ => ‘post’, ‘enctype’ => ‘multipart/form-data’ ));… Read More »in admin form field

how to upgrade magento 2.3.5-p1 to magento 2.4.3 i always get errors

im been trying to upgrade magento to 2.4.3 because i like the featured of page builder. i tried cp composer.json composer.json.backup mysqldump -u username -p databasename > mysqlbackup.sql bin/magento maintenance:enable composer require magento/product-community-edition=2.4.3 –no-update or composer require-commerce magento/product-community-edition=2.4.3 –no-update composer… Read More »how to upgrade magento 2.3.5-p1 to magento 2.4.3 i always get errors

Why are various minified JavaScript files missing in backend?

On the backend login page and within the backend itself the following files from https://store.example/static/adminhtml/Magento/backend/en_US/ are not being found (404): jquery.min.js, js/theme.min.js, mage/backend/bootstrap.min.js, mage/adminhtml/globals.min.js, Magento_Catalog/catalog/product.min.js, Magento_Translation/js/mage-translation-dictionary.min.js, underscore.min.js, mage/backend/tabs.min.js, and mage/adminhtml/grid.min.js. The .min.js files do indeed not exist within pub/static/adminhtml, but… Read More »Why are various minified JavaScript files missing in backend?

No response for Form validation

I tried to do form validation for a custom form through class and data-validation but no response from both methods. May I know what is the correct way to do it? app/code/MyModule/Knockout/view/frontend/web/js/custom-component.js define([‘jquery’, ‘uiComponent’, ‘ko’, ‘mage/validation’], function ($, Component, ko)… Read More »No response for Form validation

How to fix error: WE CAN’T FIND PRODUCTS MATCHING THE SELECTION

I upgraded from Magento 2.3.4 to 2.4.3-p3. But I cannot see products and categories. here is composer.json { “name”: “magento/project-community-edition”, “description”: “eCommerce Platform for Growth (Community Edition)”, “type”: “project”, “license”: [ “OSL-3.0”, “AFL-3.0” ], “config”: { “preferred-install”: “dist”, “sort-packages”: true,… Read More »How to fix error: WE CAN’T FIND PRODUCTS MATCHING THE SELECTION

Change the variable to the coming function from before plugin

I would like to change the variable – $validate to false from before the plugin. May I know how to do it? app/code/MyModule/ReviewCheck/Plugin/ReviewModel.php <?php namespace MyModuleReviewCheckPlugin; use MagentoFrameworkMessageManagerInterface as MessageManagerInterface; class ReviewModel { protected $messageManager; protected $request; public function __construct(… Read More »Change the variable to the coming function from before plugin