Blog

Magento knowledge sharing.

Articles about Magento development, tips and tricks, Atwix office life. Also 1000 bla-bla-bla to fill this huge block. You’re just waisting your time reading this message.

How to add custom layout handle to category in Magento 2

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:

1. The 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

Comments (0) Read More

Event system in Magento 1 vs. Magento 2

We are going to talk about event system approach in development. The event is a very flexible way to extend application logic. This approach is actual in both Magento 1 and Magento 2. Let’s go ahead and check how it works.

Comments (0) Read More

How to insert your block into any place in Magento

Hello guys, it’s time to tell you how to insert block into any place you want in Magento. As you know, very often we need to set some block into selected weird place without editing template, so we’ll try to describe the way how to do this using layouts and observers.

Comments (14) Read More
Magento customer group layout handle

Magento customer group layout handle

It is a good idea to create a new layout handle in Magento when we need to be able to easily customize styling of pages or enable/disable specific blocks for the customer groups. Here is how.

Comments (5) Read More

Subscribe to our blog

Interested
in Atwix?

Contact us

Migrate
to Magento 2

Start Coutdown