Magento 2 – Quick tip : Activate support in PhpStorm
You can enable Magento 2 support in PHPstorm. Here is in the IDE settings how to enable it. Go in section Languages & Frameworks > PHP > Frameworks And check "Enable Magento Integration"
You can enable Magento 2 support in PHPstorm. Here is in the IDE settings how to enable it. Go in section Languages & Frameworks > PHP > Frameworks And check "Enable Magento Integration"
What is it? Quote Totals collection is an important process in magento. This process also exists on Invoice and Creditmemo objects but we will only look into detail how it is implemented for the Quote object which is the one …
Magento 2 uses ElasticSearch as a search engine. It can be helpfull to directly request ElasticSearch to verify the data that have been indexed. First you can get all indices. In the command below ElastichSearch is accessible on host name …
I have previously already created a post with a code example that show how to create stores programmaticaly. Here is this previous post : https://www.addeos.com/magento-2-create-a-store-storegroup-website-programmaticaly Here I present an other way of doing if using a native create processor present …
This is my first module deployed on packagist. This module once installed will offer a new command for anonymizing the database. This can be useful on a development environment when the database has been retrieved from a production environment. It …
We can add a knockout component to add some javascript behaviour in our pages. This is how to do it step by step. 1 . In the existing template, in which you want to include the knockout component, you first …
Whenever it comes during your projects, you can need to create a new store, a new store group and a new website. You can do it programmatically. A store refers a store group to which “it is part” and a …
It’s often necessary to update database tables when working on module. We can need to add columns or update some of them. The following codes have to be in the installer files of the module you are working in. They …
When debugging, it might be necessary to add some logs.Here is a simple way to add a logging function in your code.Warning :This is not supposed to stay in your code and is only for debugging purpose.There are better and …
When you need to add javascript in your magento 2, one solution is to implement a jQuery widget.It’s pretty simple and straight forward.This is how to do it step by step. 1. In the phtml template, your need to specify …