"Magento 2 Developer’s Cookbook"

How to create redirects from old URL keys to new ones via Magento 2 import

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

Chances are, you’ve been in a situation when the updated URL keys in Magento 2 continued returning a 404 error. Importing them via a CSV file introduced new URL keys but didn’t affect the exact user experience. Consequently, you had to edit URL keys manually per each store page. 

Below, we describe how to avoid this problem. You will learn how to create redirects from old URL keys to new ones using a CSV import in Magento 2. You will need an additional instrument to smooth the angles of the default Magento 2 import and get what you want from importing URL redirects to Magento 2. For more tips like this one, follow our Magento 2 Developer’s Cookbook. So, how to create redirects from old URL keys to new ones using a CSV import in Magento 2? Let’s see. Continue Reading

How to import & export Magento 2 categories with custom separators

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

Since category names on an e-commerce website may contain commas, the export process may recognize them as separators, creating new categories in your export file. The same issue impacts your category tree on import: since the comma is considered a delimiter, a long category name can be split into several new categories. Below, we explain how to import and export Magento 2 categories with custom separators to avoid these issues. As usual, you will need the Improved Import & Export extension for Magento 2 since the platform’s default data transfer instruments do not support category import or export, nor it lets you use custom separators for category names when you import and export products.   Continue Reading

How to disable products not available in an import file for specific Magento 2 websites

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

We’ve already explained how to update Magento 2 products that are not available in an import file. Today, we explain a more specific case: you will learn how to disable products that are not available in an import file. Moreover, there is a possibility to disable the on specific Magento 2 websites. Of course, you won’t be able to do that with the default Magento 2 import tool. You will need the Improved Import & Export extension to transfer the update as intended.  Continue Reading

How to send CC & BCC email notifications for Magento 2 import & export 

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

You may not always be able to monitor your Magento 2 import and export processes in real time. And you may not need to do so with the Improved Import & Export extension. The module offers a robust system of email notifications so that you can always be in the know about the success of your data transfers. While most similar solutions let you send a notification to a single recipient only, our plugin offers a few other options. Below, we explain how to send CC and BCC email notifications for import and export processes in Magento 2. But let’s first explain what CC and BCC are.  Continue Reading

How to import and export attribute sets with multiple values in Magento 2

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

In the following article, you will learn how to import and export attribute sets with multiple values in Magento 2. While previously you had to duplicate attribute rows per each specific attribute set, we’ve enhanced this process in the latest version of the Improved Import & Export extension. Now, you can reduce the size of your update file, since the attribute_set attribute can contain multiple values.  Continue Reading

How to Update Bundle Product Options Using Magento 2 Import

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

Updating existing bundle product options in Magento 2 can be tricky, especially when multiple options share the same title, or you need to change individual selections without affecting the rest of the bundle. A regular product import in Magento 2 may not reliably identify which existing option or selection to modify.

Fortunately, you can update Magento 2 bundle product options using import with the Improved Import & Export extension. The module supports two important identifiers — option_id and selection_id — that let you target existing bundle options and their selections.

In this guide, we’ll explain why these identifiers matter and demonstrate how to change a bundle option title and an individual selection’s default quantity. For a broader explanation of bundle configurations, see our complete Magento 2 bundle product guide. Continue Reading

How to import nested XML files to Magento 2

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

Since Magento 2 supports only CSV files for data import, you get stuck when your product update is provided via XML. So is a file with customers or any entity that you may need to import to Magento 2. However, some third-party modules understand what XML files are. But it is not always enough. Especially when you deal with complex XML structures or nested XML files. 

If your XML file contains more than one nested level most third-party extensions cannot import it to Magento 2.  Unless it is the Improved Import & Export Magento 2 module. 

Below, we explain how to import data to Magento 2 using nested XML files if the update is hidden deep in their structure. To be honest, it is quite simple: you need to specify a path to the data within the file. But let’s first see what nested XML is.  Continue Reading

How to import nested JSON files to Magento 2

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

By default, Magento 2 doesn’t let you use JSON files to import data to your e-commerce website. While you can fix that with the help of some third-party extensions, they usually fail when it comes to complex JSON structures or nested JSON files. If there is more than one nested level, you won’t be able to import data to Magento 2. However, we know the solution, and it is our Improved Import & Export Magento 2 extension.

Below, you will learn how to import nested JSON files to Magento 2 if the desired information is hidden deep in their structure. In a nutshell, it is necessary to specify a path to the data within the file, but let’s see the details.  Continue Reading

How to import unique custom option titles for specific store views in Magento 2

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

Magento 2 allows for having different titles for the same custom option in different store views. Thus, it brings an additional layer of diversity if you use several storefronts. However, you may not be able to import specific titles for particular store views. In this situation, you have to deal with additional editing after importing the product update file. Fortunately, it is possible to avoid these unnecessary chores with the help of Improved Import & Export. Below, we explain how to import unique custom options titles for specific store views in Magento 2. Continue Reading

How to import customers to Magento 2 and assign them to a customer group

- Magento 2, Our extensions

Magento 2 Development; Magento 2 tutorial

Chances are, you know a situation when it is necessary to import customers to Magento 2, but they are not assigned to a customer group. You need to re-assign them manually in this situation. The more cusomers your data file consists of, the more time you have to spend doing this data entry routine. But what if this process could be automated? 

Below, we explain how to import customers to Magento 2 and assign them to a customer group even if this customer group doesn’t exist on your e-commerce website. All you need is Improved Import & Export. But let’s explore the issue in more detail before discussing the solution.   Continue Reading