The session can be configured in two ways. Configure caching by editing the file env.php Using the CLI tool Session socket is runnning in the following sock /var/run/redis-multi.redis/redis.sock Config the editig by env.php ‘session’ => [ ‘save’ => ‘redis’, ‘redis’ => [ ‘host’ => ‘/var/run/redis-multi.redis/redis.sock’, ‘port’ => ‘0’, ‘password’ => ”, ‘timeout’ => ‘2.5’, ‘persistent_identifier’ […]
Ecommerce and Types of Ecommerce
Ecommerce (e-commerce) or electronic commerce, a subset of e-business, is the purchasing, selling, and exchanging of goods and services over computer networks (such as the Internet) through which transactions or terms of sale are performed electronically. Contrary to popular belief, eCommerce is not just on the Web B2B (Business-to-Business) Companies doing business with each other […]
How to configure redis cache in Magento2 using the Unix Socket
Redis cache can be configured in two ways. Configure caching by editing the file env.php Using the CLI tool For Example Redis Cache is running in the following sock /var/run/redis-multi.redis/redis.sock Configure caching by editing the file env.php Below lines needs to add in env.php file. ‘cache’ => [ ‘frontend’ => [ ‘default’ => [ ‘id_prefix’ […]
Magento 2 Few important Tools
Magento 2 Data Migration – https://github.com/magento/data-migration-tool Magento2 Coding Standards – https://github.com/magento/magento-coding-standard Magento 2 Front-End debugging/Inspection tools – https://github.com/magento/m2-devtools Magento 2 PhpStorm Plugin – https://github.com/magento/magento2-phpstorm-plugin Magento 2 Martketplace tool – https://github.com/magento/marketplace-tools Magento 2 Performance Toolkit – https://github.com/magento/magento2/tree/2.3/setup/performance-toolkit Reference : https://devdocs.magento.com/
Data Migration from Magento 1.X to Magento 2.X
Data Migration tool officially released by Magento for Community editions. For Enterprise edition only Partners can get the data migration tool. There is few rules for successful migration. Don’t make any changes in Magento 1 admin except order Management. Stop all cron jobs in Magento 1 Don’t alter any code Don’t make changes in Magento2 […]
Cache Mechanism in Magento
Cache plays main role in magento. Magento has two levels of cache. A Fast level A Slow level There are various type of caching are available like FileSystem , APC, Memcache and Redis cache. FileSystem Cache and fullpage caches are maintained in filesystem, for storage we can use SSD Hardisk can be used, which we […]
Magento Frontend Validation Classes
Magento handling the validation by extenal javascript( validation.js). we need to write the form field values has been assinged. Below are the validation rules(class names) and their error messages. ‘validate-no-html-tags’ => ‘HTML tags are not allowed’ ‘validate-select’ => ‘Please select an option.’ ‘required-entry’ => ‘This is a required field.’ ‘validate-number’ => ‘Please enter a valid […]
GIT (Version Control System)
What is Version Control? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. It allows you to revert files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who […]