Indexing is important for Magento 2 as for all systems that process large amounts of data in multiple tables. It facilitates platform’s performance. In this article, we are going to discuss the core aspects of Magento index management that you need to be aware of and we also demonstrate how you can create your own custom index.
In this article, we are going to discuss how you can connect JavaScript in Magento 2. Check it out and get a clear understanding of this process. In our step-by-step guide we will consider four ways of connecting as well as look through their advantages and disadvantages.
Nearly 3 years have passed since the publication of the How to Add Column in Sales Order Grid in Magento 2.1 article. Over this time two new versions – Magento 2.2 and 2.3 – have been released.
Managing cache is another sophisticated issue in Magento 2. Today we are going to demonstrate you some cache management techniques. You are about to learn various cache types and the tools used to manage them. As usual, we are going to provide technical extracts along with plain text for your better understanding.
One of the most significant features of any business is continuous growth. What is more, online business is as of great importance as brick-and-mortar stores and deserves no less attention. Web stores should be fast and meet customer’s needs. Besides, it should be easy to customize and implement new up-to-date options. That’s why one of the most famous retailers Shiekh.com entrusted us to take the store to a new level. Read more
Magento 2 is distinguished by the number of features Magento 1 feels lack. One of the examples is Queues which allow executing time and resource-consuming tasks such as product import, stocks management, API interfaces, indexation asynchronously. Read more
Having gone the Magento 2 web store live, we’ve faced some troubles. When there’s high demand for goods, oversell happens. The record oversell number on live was -17. Read more
New projects are usually developed on a separate dedicated web-server which settings may differ from those of a production server. So, to avoid mess-ups when trying to back up the production server it is required either to reassign data in the core_config table or to use a special script. The situation goes worse when there is more than one developer involved in the same project, because each developer may use its own custom set of server configurations. Read more
In my previous article I described different ways how you may use CustomerData for your own purposes. It is also possible to control data actuality from the frontend-side by describing the file sections.xml, i.e. we can define specific paths which will update specific sections of customerData upon receiving a request. But this is true only for POST and PUT types of requests. But what would you do if you needed to update some page section without using AJAX or sending any requests? That is why we need to have the possibility to control customerData sections also from the backend-side. For example, you use a system which automatically adds a product to the shopping cart once you load a specific URL. So, at first sight everything looks fine and the system is working perfectly well, however, there is one drawback: once a product is added to the shopping cart but the cart has not been updated yet on the client-side you will have no possibility to access user’s browser local storage. But in Magento 2 there is a way to update data which have been initialized in the backend. You need to use cookies for that. Let’s have a look at the following code in the file:
It happens that you are frequently facing asynchronous customer 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 now. Read more