"Magento 2 Developer’s Cookbook"

How to export specific data sets for a particular entity in Magento 2

- E-Commerce, Magento 2

Magento 2 export CLI

Another interesting StackExchange discussion has recently come under our scrutiny. This time the problem was associated with the inability to export relevant data from Magento 2. The user under the Magento Team nickname wondered how to add the Select All option into the Export Settings of Magento 2. The task was to export a single attribute of a product. However, this action is impossible in Magento 2 by default. Let’s see how tech-savvy users can address these issues and share a more merchant-friendly solution of exporting relevant data from Magento 2. Continue Reading

The End of The Hosted Server Epoch: How to Run Magento 2.4 That Requires PHP 7.4 and Elasticsearch

- E-Commerce, Magento 2

Magento 2 export CLI

The long-awaited update has finally arrived. Magento 2.4.0 is officially released, and we can leverage its remarkable improvements and upgraded functionalities. Two-factor authentication is now mandatory for all admin users. Along with dozens of security enhancements, this innovation dramatically increases the overall safety of Magento. The redesigned Media Gallery, with its substantially simplified workflow, is under the disposal of Magento administrators, while developers get the ability to leverage PWA Studio more efficiently. Retail customers can streamline instore pickup, while wholesale clients face better buying routines with seller-assisted shopping, brand new purchase approval workflow, and numerous performance optimizations. Last but not least, Magento 2 introduces an updated technology stack and different platform changes, including the Laminas project instead of Zend Framework, Elasticsearch as a replacement for MySQL search, and support for newer PHP, MySQL, MariaDB, etc.

Although all novelties tend to solve current issues and enhance the experiences of anyone who interacts with the platform, some shifts bring new headaches into the loop. The support for more modern technologies means the deprecation of their older versions. While it may seem a good tendency at first glance – you get a more secure, efficient, better-performing product – the ramifications are not so bright, especially for smaller market players. So, what’s wrong with Magento 2.4.0 Continue Reading

Magento 2 Cannot Import Product Images: Reasons & Resolutions

- Fire development, Magento 2

Magento 2 export CLI

In the article below, we explain two mistakes common for the import of product images to Magento 2 that roil the entire data transfer. You will find out how to counteract them, preventing possible troubles. Besides, we describe an alternative solution that reinforces the default data transfer routine, drastically extending the default import/export capabilities of the platform. More useful tips are listed here: Magento 2 Cookbook. Continue Reading

How to Improve Magento 2 Performance Issues Caused by Non-cacheable Pages

- E-Commerce, Magento 2

Magento 2 export CLI

Non-cacheable pages increase page load time dramatically. The one small detail can downgrade the performance of your Magento 2 store. Consequently, neither visitors nor search engine bots will like it. In the following article, we describe how a full page cache disabled for a block on a page affects your e-commerce website. Besides, you will find how to fix the problem and restore normal settings for elements that should be cached. More useful tips are available in this blog post: Cookbook for Magento 2. Continue Reading

How to Fix Webpack That Hangs Before Compilation (PWA Studio Issue)

- E-Commerce, Magento 2

Magento 2 export CLI

In the following article, we provide tips on how to bring Magento PWA Studio back to life when a Javascript Webpack hangs before launching compilation. The problem only affects developers who work with the native PWA tools of Magento 2. If you are looking for more useful tips, check our Magento 2 Cookbook. Now, let’s focus on the reason why Webpack hangs without even starting compilation and on how to bring PWA Studio back to life. Continue Reading

How to optimize private content blocks in Magento 2 for better performance

Magento 2 export CLI

Chances are, your private content blocks don’t let your store visitors enjoy a seamless shopping experience at maximum speed. In the following article, we describe the most common issue that slows down Magento 2 in terms of private content. Different _isScopePrivate variables degrade the performance of the platform. Let’s see how to optimize private content blocks in Magento 2, improving page speed. You can find more useful tips in this blog post: Magento 2 Developer’s Cookbook Continue Reading