banner What is the purpose of Extension attributes in Magento 2

This article will throw some light on how one can use the extension attributes in Magento 2. Extension attributes are primarily containers that are used for adding an additional piece of information to our entities. Every interface that extends \Magento\Framework\Api\ExtensibleDataInterface can be extended with the help of the extension attributes. The methods defined in ExtensibleDataInterface …

blog banner How to create a shipping method in Magento 2

This piece of information will throw some light on how one can create a shipping method in Magento 2. For this, we need to create a custom module in order to add a new shipping method. Step 1 Create a file named config.xml at app/code/Aureatelabs/Customshipping/etc/config.xml This file is used for defining the shipping method code, …

banner Remove unnecessary link from My Account in Magento 1

For any Magento project, the most exciting time is when you launch the Magento project live. But what I have noticed most of the times is that there are some unnecessary links present in my account section. This is because Magento brings in some default links under my account on the right-hand section as you …

banner Difference between attributes remove and display true_false in the layout

This article will help you to understand the basic difference between attributes remove and display true|false in Magento 2 layout. Remove attribute Allows to remove or cancel the removal of the element. When a container is removed, its child elements are removed as well. The remove attribute is optional and its default value is false. …

blog banner How to create a new router in Magento 2

This article will help you to create a new custom router in Magento 2. A router is a PHP class responsible for matching and processing of the URL request. In order to add custom router in lib/internal/Magento/Framework/App/RouterList.php we need to add our configuration for the new router in di.xml module. Let’s take a real example, …