Articles

Magento 2 Area Code

What is Area Code? Area Code is a component that organizes code with the aim of optimising query processes. Only code that is defined in a specific Area Code is fetched in a given situation. This helps, for example, to optimise REST queries. What is rendered is not the entire HTML, but only what is […]

SOLID principles of object-oriented programming

What’s SOLID? Probably everything you can put in your pocket, but what I’d like to tell you about are a few great software development practices. Formed as a handful of easy-to-remember principles, they were a conclusion of generations of programmers doing their thing. The famous Robert C. Martin is considered to be the father of […]

Magento 2 – Custom Sales Rule condition

Cart Sales Rule One of the features available by default in Magento is Sales Rule. The module is a powerful marketing tool that allows you to manage all types of discounts and promotions. You can find it in the Admin panel -> Marketing -> Cart Sales Rules. You can define many different options in which […]

Migrating Magento 1 to Magento 2

Let’s talk about migrating to Magento 2. Is it something easy to do? How long will it take? Where should we start and what should we think of before performing a migration? Eventually, what tools should we use? I will try to answer these questions.

Introduction to Knockout.js in Magento 2

Knockout was one of the biggest changes introduced to the world of Magento 2 frontend and while in the beginning it can be really hard to grasp, at the end of the day it comes out as a really useful tool that’s fun to work with. The library in question really shines in cases where […]

Migrating Magento 1 from PHP 5.6 to PHP 7.0 – case study

The support for PHP 5.6 ends by the end of 2018. A while ago, Magento announced that Magento 1 is still going to be supported (more information here: https://magento.com/blog/magento-news/ongoing-magento-1-support). If it’s not possible for you to migrate to Magento 2 now, perhaps it’s wise to consider changing the PHP version to 7.0. Is it even […]

External Database Handling in Magento 1

It’s sometimes the case that a merchant has a complete database of records necessary for his/their business operation. It could be archived data, more or less complicated relations between products (“Does the lens fit the camera?”), or simply databases from other applications. Magento has a set of classes and methods responsible for communication with tables […]

Magento 2 – Mass Backend Actions

While viewing a list of products or clients in our store, we sometimes need to carry out the same action on several records. For example, if we want to delete test users, we simply mark them, choose Actions > Delete > Submit and our store is in order in one click. Mass actions on a […]