Sorry, you are using a browser which is more than 7 years old.
Please, upgrade your browser to make the site look correctly on your device.

Blog

December 22, 2016

Adding new category attributes in Magento 2

In this post we want to share our expertise on how to create a category attribute in Magento 2. As you may have noticed, we need to change (add or customize) category attributes from time to time. We have done it many times for Magento 1 and now we faced the same task in Magento 2. This process is very similar for both Magento versions, however there are some differences. So let’s check how we can do it step by step.

December 21, 2016

OroCommerce: The First Meeting

Every year we witness new players emerging in the space of eCommerce platforms. More than often, they come out of nowhere and disappear before gaining any significant traction, but sometimes we have a chance to look at very promising candidates from companies with strong reputation in the field. Here’s one of the latter: an eCommerce platform from Oro Inc, the creators of a quite powerful open-source CRM system – OroCRM. Though it’s still in the beta testing stage at this point, we simply couldn’t miss the opportunity to dig into a new product from the company we’ve worked with for years. Meet OroCommerce!

November 25, 2016

Docker development environment for Magento

It has never been easier to create a development environment. No meter what operation system you use with Docker you can build the exact configuration you need. In this post we will provide steps for creating a sample Magento development environment configured in a single docker-compose.yml file.

November 21, 2016

How to register a theme in Magento 2

Creating a custom theme in Magento 2 involves a process of registering your theme. In this post we will describe how to do it. All the awesome theme customizations are up to you.

November 18, 2016

How to use the Magento 2 object manager in your unit tests?

Every unit test ninja faces troubles whenever he wants to test some real class functionality. Have you ever invoked toHtml() method of some block or beforeLoad() method of any collection? If you want to do it, you will need to mock a lot of classes that depend on other classes and so on. You would need to mock all of them, which would take a lot of time and effort. In a long run, you may blow up deadlines and it would really suck. Yes, you can try to change your testing strategy to avoid invoking such methods. But what if you still need to test them? I’m going to show you how I handled this problem.

November 17, 2016

Working with Magento 2 Cache

Sometimes Magento developers face the need to work with Magento caches programmatically. For example, when you develop your custom module, which renders some content on front-end and this content can be managed via Admin Panel. Let’s say, it is cached by Full Page Cache (FPC). In this case you will need to notify the user that one of the cache types is invalidated and should be refreshed in order to have the changes applied. Or you will even want to refresh the FPC automatically on each modification. Magento 2 allows to perform it very quickly and easily.

November 15, 2016

Improve Your Efficiency in OroCRM Coding

If you develop OroCRM applications, you know that you develop Symfony applications. And you can improve your efficiency by using a good integrated development environment (IDE) and some additional tools. We use PhpStorm in development, which is a JetBrains product (maybe the best of the IDEs), and we also use a great tool – Symfony Plugin.

November 10, 2016

Outer Space Magento Wallpapers

Today we have a new set of Magento wallpapers for you. Our previous ones were inspired by pop culture and sci-fi characters. This time we’re going to outer space to explore the new horizons of eCommerce and build a “Store of steel” with Magento 2.

November 9, 2016

Kiev CG Craft 2016

Improvement of design and illustration skills is a daily challenge for us. Now we are looking forward to take our illustrations and artworks to a higher level. The best place for exchanging new ideas, techniques, getting inspired and meeting professionals in the sphere of digital art is Kiev CG Craft 2016.

November 4, 2016

Adding an image chooser to a Magento 2 widget

In the previous post we have described how to add a new widget in Magento 2. As it was mentioned, each widget field has its own input type. The input type allows determining what graphical interface component will be used to represent this field. Magento 2 has a set of simple input types out of the box such as input field, dropdown etc. Also, it has more complex components: products chooser, rules conditions component, CMS block chooser and others. But in some cases you need to add your own input type, for example if you want to allow choosing an image from media gallery in your widget configuration. In this post we review how to add an image chooser/uploader to your widget.