Skip to content

magento man

Magento 2.4.6: $_isFixed must not be defined error in custom shipping module

I have coded a custom shipping module for Magento 2.4.6 according to Adobe’s documentation here: https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/ I am receiving the following error upon running a static content deployment: Fatal error: Type of MyModulesCustomShipping1ModelCarrierCustomshipping::$_isFixed must not be defined (as in class… Read More »Magento 2.4.6: $_isFixed must not be defined error in custom shipping module

Override Braintree Config.xml via Custom Module

Below is an except from vendor/paypal/module-braintree-core/etc/config.xml and I am curious how to add new credit card to, <cctypes_braintree_mapper> via a custom module. Is this done via a di.xml file or a new config.xml file? <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Store:etc/config.xsd”> <default> <payment> <braintree>… Read More »Override Braintree Config.xml via Custom Module

Catalog Search index process error during indexation process: Could not ping search engine: No alive nodes found in your cluster

I installed Magento 2.4.6-p3 by 1-click installation under Hostmonster webhosting c-panel. I didn’t touch any thing. It went through well and gave me Admin Access of Magento 2.4.6-p3. I searched whole last week to fix ‘product not showing issue’, and… Read More »Catalog Search index process error during indexation process: Could not ping search engine: No alive nodes found in your cluster

How to hide admin product form tabs for specific admin user?

I want to have an admin user who would only be able to view the ‘Images And Videos’ and ‘Search Engine Optimiation’ in the admin product edit form. I tried the following. Created app/code/Vendor/Module/view/adminhtml/layout/catalog_product_edit.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body>… Read More »How to hide admin product form tabs for specific admin user?