If you developed some Magento 2 module and you want to publish the module on the Magento Marketplace, you need to prepare a package with the module first.
In the post, we do not describe how to publish the module on the Magento Marketplace only how to prepare the ultimate package version and validate it.
Hello and welcome to Atwix MageNews!
This article reviews the most interesting and important topics that popped up in Magento Community last month in our humble opinion.
Without further ado, let’s start!
Magento events and observers are a good old way of extending Magento. They came from Magento 1, but an approach is well-known beyond the Magento community and platform. It follows an observer design pattern and has different implementation and variations in different frameworks. This article covers how Event Framework was implemented in Magento and how it’s suggested to be using by Magento Development Team.
Ever struggled how to add programmatically a custom layout handle to a product page and what’s the best way to do it? Use the power of Magento 2 plugins (also called interceptors) added into the right place and you’re done!
Starting from Magento 2.3 the Registry class that is (or was) used by a lot of developers and extension vendors is declared to be deprecated. In class comments it’s told to use service classes or data providers, but no examples provided. This article aims to show how you can get needed data using best practices and service classes.
Back in 2017 Magento has made a move which many of us couldn’t fully comprehend back then. It was a creation of the completely new business unit – Community Engineering department, and Max Yekaterynenko, Magento’s then Director of Development, became a head of it. First months it wasn’t quite clear what this department is aimed to do, but fast forward two years and we can surely tell that this initiative is one of the most successful Community initiatives Magento ever took.
Magento 2.3 GA release has finally landed. It is one of the most awaited releases that Magento ever had, and it is a thrilling moment for us at Atwix. Not only our clients can now benefit from all the new features that are available in 2.3, but also we can now see live features that our team developed working closely with other community contributors as well as Magento Community Engineering team.
In order to add a custom layout handle to category page, a (basic) Magento 2 module with these additional files and their content is needed:
events.xml file to “subscribe” to the event and say which observer should be fired ↵
2. An observer that adds a new layout handle to the page ↵
3. A layout file that adds needed changes to the page ↵
It’s not a secret that every good vacation needs some planning. But this article is not about the place to go to, how to get the cheapest tickets or what stuff to take. This one is on how to prepare yourself mentally and what preparations to take before leaving your team or company for a vacation period and come back with minimum or no setbacks.
exclude node of the
etc/view.xml file for a theme. However, sometimes it’s not enough.