Posts tagged with tag: '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.
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.
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.
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.
Magento 2 has a handy toolkit for static content management on the site that is called Content Management System (CMS). The toolkit consists of three main parts: pages, blocks and widgets. Pages allow us to manage content of an entire page. Blocks provide an ability to edit content of separate page elements. The main difference between blocks and widgets: if you need to change block parameters, you usually have to do it programmatically. Widgets are similar to static blocks, they allow to insert various content into static pages or static blocks. As a rule, widgets have configurable parameters that can be set up when adding it via admin panel.
When we were about to open our office in Bratislava we decided to create a series of posters inspired by Magento and eCommerce. We didn’t consider a possibility to have standard mainstream IKEA posters on the walls, so we wanted to create some custom artwork, which would represent our ideas, dreams and spirit in the best possible way. We have created 7 posters and each of them has a story behind. Lets dive into details.
It’s been a while since our last wallpapers were posted. We’ve prepared for you four awesome wallpapers inspired by the American pop culture characters, famous sci-fi saga and architectural monumentalism of business capitals.
Bellow you will find new wallpapers with several resolutions for desktops, laptops and lock screens for your phones. Need another image size? Just let us know in comments and we’ll make it for you.
In order to have a good and maintainable application, it’s very important to have a high quality product code. The code quality usually depends on the developer’s professionalism. But among the thousands lines of code something might be missed. Fortunately, there are few small but very useful utilities that can automate some routines and help you check the code using different rules for different coding standards. In PHP development there are two popular utilities for code validation: Code Sniffer and Mess Detector.
It’s interesting to know how Magento 2 works “under the hood” not only for developers but for all the people, who work with the platform. Not everyone has a possibility to dig in the code deeply enough in order to check the details. In this post we will put Magento 2 request flow in layman’s terms.