Category Archives: Development

Adobe Release Magento version 2.4.4

Highlights of Magento 2.4.4 Release Key highlights of the latest Magento 2.4.4 version are listed below: Magento 2.4.4 Supports: Elasticsearch 7.16 OpenSearch 1.2. PHP 8.1. For enhanced security, HTTPS is now enabled by default in Magento 2.4.4. Except for Braintree all the third-party bundled modules are decoupled in Magento 2.4.4. Page builder now supports adding […]

Creating a shipping method in Magento 2

Creating a Shipping Method in Magento 2

Step 1: Create a new module with Vendor_CustomShipping app/code/Vendor/CustomShipping/registration.php Step 2: Create composer.json file. app/code/Vendor/CustomShipping/composer.json Step 3: Create module.xml file. app/code/Vendor/CustomShipping/etc/module.xml Step 4: Create system.xml file. app/code/Vendor/CustomShipping/etc/adminhtml/system.xml Step 5: Create config.xml file. app/code/Vendor/CustomShipping/etc/config.xml Step 6: Create Customshipping.php file. app/code/Vendor/CustomShipping/Model/Carrier/Customshipping.php Step 7: Enable the module Run the below commands to register Vendor_Customshipping module.

Run Magento 2 Command On Root Directory With PHP Script

Magento 2 command With php script

Follow below instructions to run the magento 2 commands: Create a new file on Magento 2 root directory(command.php). Add the following codes in the newly created file. <?php use Magento\Framework\App\Bootstrap; require ‘app/bootstrap.php’; $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager = $bootstrap->getObjectManager(); $state = $objectManager->get(‘Magento\Framework\App\State’); $state->setAreaCode(‘frontend’); //command code here /*shell_exec(‘your_magento_2_commands’);              –OR– system(‘your_magento_2_commands’); […]

Configure google reCaptcha in Magento 2

configure google recaptcha in magento 2

It provides greater security on Magento CAPTCHA, verifies without possible user errors by entering a series of letters and numbers, and encourages the conversion of the cart without further obstacles to complete a purchase. To Configure google reCaptcha follow below steps: Step 1: Login to admin panel and go to Store -> Settings -> Configuration. Step 2: Select Security and […]

Create a custom theme in Magento 2

Create a custom theme in Magento 2

Please follow the steps to create a custom theme in Magento 2 Step 1: Create a directory for ThemeCreate a directory in app/desing/frontend/ with vendor name and theme like:app/design/frontend/vendorName/themeName Step 2: Declare theme.xml under the theme directoryCreate a theme.xml file under “app/design/frontend/vendorName/themeName” this file will have theme name, parent theme name and preview of the […]