Author: Artsem Miklashevich

Customer Data Management in Magento 2

January 3, 2017 / Posted in Magento, Magento 2.0 by Artsem Miklashevich
Customer Data Management in Magento 2
Download PDF

It happens that you are frequently facing asynchronous data loading while working with Magento 2. For example cart reloading, checkout, logging and user log in and some others are working through AJAX. In order to work with these data, Magento development team provides with a proper interface, that we are going to overview in this article. (more…)

How it Works: Cron Job in Magento 2

November 17, 2016 / Posted in Magento, Magento 2.0, Tips&Tricks by Artsem Miklashevich
How it Works: Cron Job in Magento 2
Download PDF

For the purpose of speeding up Magento frontend performance, some tasks are executed in separate processes in the background. Stock updating, cache flushing, catalog updating, product price calculating: these are very heavy and time-consuming processes, that’s why as general they are executed in the background and usually by Cron. The description of how to add 3 processes in Cron you can find in Magento 2 Developer Documentation.

(more…)

JavaScript Integration Tips in Magento 2

September 15, 2016 / Posted in Magento, Magento 2.0 by Artsem Miklashevich
JavaScript Integration Tips in Magento 2
Download PDF

One of the main differences in comparison with Magento 1 is the usage and connection of javascript in the extensions. Magento 2 involves up-to-date trends of javascript development (during Magento 2 planning). One of them is usage of RequireJs for js scripts loading as well as usage of modern frameworks that involve data binding – knokoutJs. That is why the developer who used to work with Magento 1 may have a hard time dealing with all those contemporary things. (more…)

Using Virtual Types for Saving Custom Logs in Magento 2.0

June 20, 2016 / Posted in Magento, Magento 2.0 by Artsem Miklashevich
Using Virtual Types for Saving Custom Logs in Magento 2.0
Download PDF

When you are in the process of development, you may need to save your logs a separate file. This could be easily done in Magento 1: use static method Mage::log() with the required file name and text. However, you are no longer able to do the same in Magento 2 — it uses Monolog as the main logging tool which follows the logging standard of PSR-3 . Monolog doesn’t allow to set a new filepath where you want to log a message. Monolog saves log file path during handlers initialization and does not allow to modify filename later. However, it is possible to add one more handler to Monolog, for example, like this:

(more…)

Welcome to BelVG ecommerce blog

Our blog is a place where we share some thoughts, news and guidelines of our company developers with you. Our main topics are Magento, Prestashop and Oxid – the platforms we have mastered.

Our goal is to provide really useful information to our readers – clients, developers and e-shop owners. Feel free to look around – if you are in any way related to e-commerce, we are sure you will find some articles to your taste and interests. Moreover – don’t hesitate to comment or ask a question on any topic you see. Our authors are certified Magento developers themselves and are ready to answer you.