"Magento 2 Developer’s Cookbook"

How to update products that are not listed in a product table during Magento 2 import

- Magento 2

Magento 2 Development; Magento 2 tutorial

Chances are, you faced a situation when your product import file didn’t contain all the items from your Magento 2 catalog, but you had to update every single position on your e-commerce website. The more records were missing, the more work had to be done. Now, you can forever forget about this painful experience. Below, we explain how to update products that are not available in your import table during the Magento 2 import. Spoiler: No manual editing is required!  Continue Reading

How to fix “The source file moving process failed” error in Magento 2

- Magento 2

Magento 2 Development; Magento 2 tutorial

In this article, we explain how to fix the “The source file moving process failed” error in Magento 2. It may occur in Magento 2.4 upon import. If you’ve already experienced this issue, you will find the solution below. Check our Magento 2 cookbook for more tips like that. The following material incorporates a Stack Exchange case and our own experience related to Magento 2 data import and export.  Continue Reading

How to Export Page Builder Pages and Templates in Magento 2

- Magento 2

Magento 2 Developer's Coocbook image to illustrate how to Export Page Builder Pages and Templates in Magento 2

Magento 2 Page Builder makes it easy to create attractive CMS pages, reusable templates, and custom content blocks. But what happens when you need to move these elements to another website? Unfortunately, Magento 2 doesn’t provide a built-in export option for Page Builder pages or templates.

You can still transfer your content without recreating every layout manually. One option involves exporting template records directly from the database. Another, more flexible approach uses the Improved Import & Export extension to move CMS pages and blocks created with Page Builder between Magento 2 installations.

Below, we explain both methods, their limitations, and how to choose the right one for your workflow. Continue Reading

How to Add a Delete Confirmation Popup in Magento 2 (2026)

- Magento 2

illustrative image for Magento 2 tutorial on Delete Confirmation Popup in Magento 2

Deleting records during a Magento 2 import can help clean up outdated products, remove obsolete entries, or sync data with an external system. However, one incorrect setting can lead to unwanted data loss. A Delete Confirmation Popup in Magento 2 adds an extra safety check by asking administrators to confirm a deletion before it proceeds.

This becomes particularly important when working with custom entities through Magento’s default import functionality. A confirmation message gives administrators a chance to review their actions and cancel potentially destructive operations.

In this guide, we’ll explain how to add a Magento 2 delete confirmation popup using JavaScript, customize its message, and implement a more advanced confirmation modal with Magento’s built-in UI widget. We’ll also explore how to handle deletion during imports and what to consider when working with custom entities. Continue Reading

Magento 2 Import of Custom Options: How to Update Product Options with Ease

- Magento 2, Our extensions

illustrative image for the "Magento 2 Import of Custom Options" guide with emojis, text, and magento logo on orange background

Updating Magento 2 product custom options through import can feel like a roadblock for many merchants. By default, Magento offers no straightforward way to manage or update customizable options in bulk, leaving you with tedious manual edits. That’s where the Improved Import & Export extension comes in. The module provides full support for Magento import product options, including advanced attributes like opt_id and opt_row_id, allowing you to update customizable options in Magento 2 quickly and reliably.

In this guide, we’ll show you exactly how to import and update custom options for simple products, highlight the limitations of the default tools, and explain how the Improved Import & Export extension removes these bottlenecks. For a deeper dive into customizable options in Magento 2, you can also explore our Complete Guide to Magento 2 Simple Product Customizable Options. And if you’re looking for more practical tips, don’t miss our Magento 2 Developer’s Cookbook.

Continue Reading

Magento 2 Stock Status Explained: What It Is and How to Change It During Stock Update Import

- Magento 2, Our extensions

illustrative image for the Magento 2 Stock Status Guide with emojis, magento logo, and text on orange background

Managing product availability is critical for every Magento store, and that’s where the Magento 2 stock status comes into play. This attribute tells customers whether an item is in stock or unavailable, directly influencing sales and customer trust. Normally, stock status is controlled by the is_in_stock field in your import file. But what if that column is missing or empty?

By default, Magento can’t automatically fill in the blanks — leaving you with manual fixes or broken imports. The Improved Import & Export extension solves this by recalculating stock status based on the product’s qty value. That means you can bulk import products, and the extension will automatically set the right stock status without additional files or manual changes.

In this guide, we’ll explain what stock status in Magento 2 is, why it matters for your store, and how to update it during import — even if is_in_stock values are absent. Follow our Developer’s Cookbook for more useful tips on Magento 2.

Continue Reading

Magento 2 Scheduled Import Guide 2026: How to Automate Product Imports Daily, Weekly, Monthly & More

- E-Commerce, Magento 2

illustrative image for the Magento 2 Scheduled Import Guide with magento logo and emojis on orange background

Welcome to our Magento 2 scheduled import guide for 2026. Below, we explain how to automate Magento 2 imports. Available options, however, depend on your platform. Adobe Commerce provides native scheduled import functionality, while Magento Open Source does not support automated imports out of the box. If you use Magento Open Source — or need more flexible scheduling and data transfer options in Adobe Commerce — you can automate import processes with Improved Import & Export.

The extension lets you create reusable import jobs, configure predefined or custom cron schedules, automate product and other entity updates, work with external data sources, and run import jobs from the command line.

So, let’s see how Magento 2 scheduled imports work in Adobe Commerce and Magento Open Source, how to configure automatic product imports, and how the CLI can be used to launch and manage import jobs. As a bonus, we compare the native Adobe Commerce functionality with the more advanced automation available through Improved Import & Export.

Continue Reading

How to Import Magento 2 Product Images & Product Data Separately: A Faster Way to Bulk Upload

- Magento 2, Our extensions

illustrative image for the How to Import Magento 2 Product Images & Product Data Separately Guide with emojis, magento logo, and text on orange background

Importing products with images in Magento 2 often feels like a bottleneck. The more pictures you assign to each SKU, the longer the process drags on. Sometimes a simple catalog update can turn into hours of waiting and still lead to errors. Why does that happen? Because Magento 2, by default, ties product data and product images together during import. Consequently, the update quickly becomes resource-intensive and error-prone. The larger catalogs or high-resolution files you have, the more time they require for the update to complete.

That’s where a smarter workflow comes in. With the Improved Import & Export extension, you can import product images in Magento 2 separately from product data. This advanced feature, known as Deferred Import Images, allows you to upload products first and then process image files. The result? Faster imports, reduced RAM usage, and a far more stable process when handling thousands of SKUs.

In this guide, we’ll show you how to set up Magento 2 import for products and images separately, why this approach outperforms the default tools, and what best practices to follow to avoid common pitfalls like broken paths or missing files. By the end, you’ll know exactly how to streamline your catalog uploads, saving time and keeping your Magento 2 store fully operable. And don’t forget to visit our Magento 2 Developer’s Cookbook for other useful tips.
Continue Reading

How to Manage Inventory in Magento 2: Update, Increment, and Automate Product Quantities with Import

- Magento 2, Our extensions

illustrative image for the How to Manage Inventory in Magento 2 Guide with emojis, magento logo, and text on orange background

What is effective inventory management in Magento 2? Right, it is the backbone of any successful online store that ensures accurate product availability, prevents overselling, and keeps both customers and backend operations aligned. Now, you may wonder how to manage inventory in Magento to obtain the conditions described. Should it happen manually? Sometimes it may work. In that case, however, updating stock levels can quickly become a bottleneck. The more products you have to update, the more time-consuming this process becomes, especially if you have to deal with frequent supplier updates.

Now, imagine a common scenario: your supplier provides you with a CSV with product quantities they’ve sent to you. By default, a Magento inventory update import will overwrite existing stock levels with the new values from the file. But what if you need to add the new quantities to your current stock? For example, you already have 50 items in stock and your supplier delivers 30 more, you’ll want Magento to reflect 80 — not just 30. That’s where the Improved Import & Export extension comes in.

In this guide, we’ll show you how to automatically add product quantities to existing values during Magento 2 product import, instead of replacing them. With this approach, you can keep inventory accurate, streamline updates, and reduce manual work. Want more practical solutions? Explore our Magento 2 Developer’s Cookbook for additional tips and ready-to-use solutions.
Continue Reading

How to Archive Files After Magento 2 CSV Import to Save Storage Space

- Magento 2, Our extensions

illustrative image for the How to Archive Files After Magento 2 CSV Import Guide with emojis, magento logo, and text on orange background

Running frequent updates via Magento 2 CSV import is crucial for keeping your catalog, prices, and customer data current. However, every transfer has one disadvantage that you cannot eliminate. The problem is that every import leaves behind source files, quickly eating up server space. The more often you update your store, the more clutter these CSV files create, leading to wasted storage, slower performance, and messy backups.

That’s why efficient file management is just as important as the import itself. By archiving or compressing files automatically after each Magento CSV import, you not only free up storage but also keep your system organized and secure. Unfortunately, Magento doesn’t provide this functionality out of the box.

With the Improved Import & Export extension, however, you can automate archiving as part of your Magento 2 import CSV workflow. The module includes a dedicated “Archive file after import” feature that compresses processed files into ZIP archives and stores them in a structured way. This guide shows how to enable this functionality, why it matters for merchants handling bulk data updates, and how it fits into your broader Magento import CSV strategy.

👉 For more developer insights, check out our Magento 2 Developer’s Cookbook.
Continue Reading