We use cookies and similar technologies to ensure the proper functioning of the website, to analyze traffic, and to personalize content. We also use cookies for personalized advertising (including through Google and other partners) in order to show you offers tailored to your interests. To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies. Learn more.
Product Import Module for Magento 2 - resizes bigger images
Import product module for Magento 2
This module addresses the following problems with built in Magento 2 import:
- Does not create duplicate images for existing products in Magento pub/media/catalog/product
- Decreases image size for large images while still keeps image quality good.
- No need to run the bellow command to make images visible after import.
- php bin/magento catalog:images:resize
- Imports additional attributes if they are present in CSV and in the product attribute set that is being imported
- Some problems with URLs are fixed
- Categories are not created on import. If category specified in CSV is not found, product is imported without being placed in specific cateogry.
Must Do
- Install module by placing it in app/code folder of Magento
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
- Create a folder magento-root/pub/media/catalog/uploaded - will be used as temporary storage for uploaded images
Module Description
Sample CSV file ready for import:
sku,group,name,qty,price,special_price,is_in_stock,manufacturer,product_type,categories,warranty,attribute_set_code,product_websites,base_image,small_image,thumbnail_image,swatch_image,additional_images,meta_title,meta_keywords,meta_description,short_description,weight,url_key,google_product_category,color,fingerprint,screensize,resolution,battery,storage,ram,processor,operatingsystem,resistancy,screenprotection,frontcamera,backcamera,storageslot,simtype,nfc,infrared,usb_type,functions
MX9R2GH/A,APPLE,iPhone SE2 3 GB 64 GB storage Black,5,495.449,,1,Apple,simple,Default Category/Electronics/Mobile phones,24,Smart Phone,base,https://solytron.bg/resources/iPhoneSE2_BLACK.jpg?guid={9df31824-abdb-4878-b0b9-c3c87eb732bc},https://solytron.bg/resources/iPhoneSE2_BLACK.jpg?guid={9df31824-abdb-4878-b0b9-c3c87eb732bc},https://solytron.bg/resources/iPhoneSE2_BLACK.jpg?guid={9df31824-abdb-4878-b0b9-c3c87eb732bc},https://solytron.bg/resources/iPhoneSE2_BLACK.jpg?guid={9df31824-abdb-4878-b0b9-c3c87eb732bc},https://solytron.bg/resources/iPhoneSE2_BLACK.jpg?guid={9df31824-abdb-4878-b0b9-c3c87eb732bc},Apple iPhone SE2 64GB Black - MX9R2GH/A,Apple iPhone SE2 64GB Black - MX9R2GH/A,Apple iPhone SE2 64GB Black - MX9R2GH/A,Apple iPhone SE2 64GB Black - MX9R2GH/A,1,Apple-iPhone-SE2-64GB-Black-MX9R2GH/A,Electronics > Communications > Telephony > Mobile Phones,Black,,4.7,1334 x 750,,64 GB storage,3 GB,A13 Bionic chip Apple A13 Bionic (Hexa-Core) chip,iOS 13,,Ion-strengthened glass,7 MP,12 MP,,Nano-SIM,Yes,,,
MX9T2GH/A,APPLE,iPhone SE2 3 GB 64 GB storage White,5,495.449,,1,Apple,simple,Default Category/Electronics/Mobile phones,24,Smart Phone,base,https://solytron.bg/resources/iPhoneSE2_WHITE.jpg?guid={f1a489fa-0314-4332-a893-b3d02f6c0b04},https://solytron.bg/resources/iPhoneSE2_WHITE.jpg?guid={f1a489fa-0314-4332-a893-b3d02f6c0b04},https://solytron.bg/resources/iPhoneSE2_WHITE.jpg?guid={f1a489fa-0314-4332-a893-b3d02f6c0b04},https://solytron.bg/resources/iPhoneSE2_WHITE.jpg?guid={f1a489fa-0314-4332-a893-b3d02f6c0b04},https://solytron.bg/resources/iPhoneSE2_WHITE.jpg?guid={f1a489fa-0314-4332-a893-b3d02f6c0b04},Apple iPhone SE2 64GB White - MX9T2GH/A,Apple iPhone SE2 64GB White - MX9T2GH/A,Apple iPhone SE2 64GB White - MX9T2GH/A,Apple iPhone SE2 64GB White - MX9T2GH/A,1,Apple-iPhone-SE2-64GB-White-MX9T2GH/A,Electronics > Communications > Telephony > Mobile Phones,White,,4.7,1334 x 750,,64 GB storage,3 GB,A13 Bionic chip Apple A13 Bionic (Hexa-Core) chip,iOS 13,,Ion-strengthened glass,7 MP,12 MP,,Nano-SIM,Yes,,,