"Magento 2 Developer’s Cookbook"

How To Add Product Quantity To The Existing Value During Magento 2 Product Import

- Magento 2, Our extensions

Imagine a situation when you need to upload a file provided by your supplier with the quantity of the products sent to your store. By default, Magento 2 will replace the existing quantity with the one specified in the import table. However, you need to ADD the provided new QTY value to the existing product stock. In the following article, we explain how to do that with the help of the Improved Import & Export extension. You will learn how to add product quantity to the existing value during Magento 2 product import instead of replacing it. Follow our Magento 2 Developer’s Cookbook for more useful tips. Continue Reading

How to Import Only Mapped Fields to Magento 2

- Magento 2, Our extensions

In the following article, we shed light on how to import only mapped attributes to Magento 2 when you transfer a data update to your e-commerce website. By default, Magento 2 imports all the fields from the data file that follow the internal platform’s requirements. However, you can easily reduce the number of imported fields, transferring those matched to the internal Magento 2 records. This functionality is associated with the Improved Import & Export Magento 2 extension and its import jobs. Below, you will learn how to use the module to import only mapped fields to Magento 2. You will discover more tips like this one in our Magento 2 Developer’s Cookbook.

Continue Reading

How to Resize Images after Import With Imagick (ImageMagick) for Magento 2

- Magento 2, Our extensions

In the following article, we explore how to resize product images in Magento 2 in the most user-friendly way. If you still reduce the size of high-resolution product photos manually before uploading them to your e-commerce website, you’ve come to the right place. We will teach you how to automate this process. Spoiler: you will need to install the Improved Import & Export extension and Imagick for Magento 2. If for some reason you still use product pictures as they are, you will find out why it is crucial to resize images in Magento 2. You can find more tips like this one in our Magento 2 Developer’s Cookbook. Continue Reading

How to Remove Images From Magento 2 Directory After Import

- Magento 2, Our extensions

You’ve probably been in a situation when the Magento 2 directory gets full of unnecessary product images. Therefore, it is necessary to clear them manually from time to time. If there are several unnecessary files in the directory, it’s not a big deal. However, if you regularly import hundreds of products, deleting the corresponding images may consume much time. And, unfortunately, we don’t know any instrument that can clear your Magento 2 directory automatically. But you can harness advanced import processes to keep it clear. In the following article, we shed light on how to automatically remove product images from the Magento 2 directory after every import. For more tips like that, follow our Magento 2 Developer’s Cookbook. Continue Reading

How to Change Stock Status in Magento 2 Import When “is_in_stock” Is Missing

- Magento 2, Our extensions

You can easily change a product stock status in Magento 2 automatically by importing the update straight to your e-commerce website. But what if the “is_in_stock” column is missing or doesn’t contain any values? Use Improved Import & Export. Provide the update, and the extension will recreate “is_in_stock” values following the corresponding “qty” values automatically. So, when is_in_stock is missing in the import table, there is no need to create additional files or apply changes to the import table. Let’s see how to change a product stock status in Magento 2 when “is_in_stock” data is absent. Follow our Developer’s Cookbook for more useful tips on Magento 2. Continue Reading

How to Convert Kilograms to Grams During Magento 2 Product Import 

- Magento 2, Our extensions

Chances are, you need to change the measurement unit during Magento 2 product import. However, it is impossible to do that if you transfer products with the default import tools. Let’s suppose you sell food supplements on your e-commerce website. Your partner provides an update table for different sorts of protein with the weight specified in kilograms. However, you display it in grams on your e-commerce storefront.
If you use the default import tool, it is necessary to edit the update table manually, converting kilograms into grams before importing the update. But there is a much easier way to change the measurement unit. You can effortlessly convert kilograms into grams or vice versa with the help of the Improved Import & Export Magento 2 extension.  

In the following article, we explain how to use our extension to automate the conversion process and avoid unnecessary manual editing. You will learn how to import products to Magento 2 and convert different measurement units between each other. For instance, we explain how to turn kilograms into grams and back on import. Also, you will find out how to calculate kilograms to pounds. For more tips like this one, follow our Developer’s Cookbook Continue Reading

How to Export Simple Products With Their Parent Product Relations in Magento 2

- Magento 2, Our extensions

Let’s suppose, you need to export products from Magento 2. Your catalog contains a couple of simple products associated with a few parent products each. By default, it is quite hard to export these items and keep their parent relations in the exported data table. However, you can fix that with the help of the Improved Import & Export module. In the following article, we shed light on how to use the extension to export simple products from Magento 2 along with the information about their parent products. Follow our Developer’s Cookbook for more tips like this. Continue Reading

How to Import Base Images to Magento 2 as Small & Thumbnail Images

- Magento 2, Our extensions

Let’s suppose you need to import products to Magento 2 but you only have base images. However, small and thumbnail images are among the most important product components. In the standard import procedure, you need to recreate them from scratch. The more products with the missing components you have, the more headache you get. However, there is a reliable and efficient remedy for this disease.  Meet the Improved Import & Export extension. It can help you import base images as small and thumbnail images while you import products to Magento 2. You will no longer need to recreate them manually and add them to the import file. Let’s see what is the difference between these image types and then proceed to the advanced import procedure. Follow our Developer’s Cookbook to discover more Magento 2 tips.     Continue Reading