AvS_FastSimpleImport for Magento 2

Overview

All Contributors

FireGento_FastSimpleImport

Wrapper for Magento 2 ImportExport functionality, which imports products and customers from arrays

Documentation

Requirements

  • Magento >= 2.0.0
  • PHP >= 5.5.0

Support

If you encounter any problems or bugs, please create an issue on GitHub.

Contribution

Any contribution to the development of FastSimpleImport is highly welcome. The best possibility to provide any code is to open a pull request on GitHub.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Elias Kotlyar

πŸ’»

Andreas von Studnitz

πŸ’»

Nils Preuß

πŸ’»

Lennart Schreiber

πŸ’»

Bogdan Lewinsky

πŸ’»

rosenberger-e-conomix

πŸ’»

Fabian Schmengler />

πŸ’»

Koen V.

πŸ’»

hummer2k

πŸ’»

dcole-inviqa

πŸ’»

Vincent MARMIESSE

πŸ’»

Kevin Krieger

πŸ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

Developer

FireGento Team

Quick Installation Guide

composer require firegento/fastsimpleimport 
bin/magento module:enable FireGento_FastSimpleImport
bin/magento setup:upgrade

Licence

GNU General Public License, version 3 (GPLv3)

Copyright

(c) 2016 -2020 FireGento Team

Comments
  • Can not install the module via Composer

    Can not install the module via Composer

    I'm trying to install this module: https://github.com/firegento/FireGento_FastSimpleImport2 via composer( sudo composer require firegento/fastsimpleimport2) but it is giving me the following error on terminal: "[InvalidArgumentException] Could not find package firegento/fastsimpleimport2 at any version for your minimum-stability (alpha) . Check the package spelling or your minimum-stability" Any solution is appreciated.

    opened by AminMemariani 15
  • Import Failed With message

    Import Failed With message "Please enter a correct entity model". Any Suggestion ?

    /public_html/ves_yume_magento$ /opt/lampp/bin/php bin/magento fastsimpleimport2demo:products:importsimple Import started Please enter a correct entity model. 1: Begin data validation Import finished. Elapsed time: 0.8s

    opened by svaapta 12
  • Trying to Import Category but i am not able to download Sample CSV File

    Trying to Import Category but i am not able to download Sample CSV File

    Hi, I want to import category through your extension but I am not able to download CSV format. Can you please provide the format of CSV for Category Import?

    Thanks

    opened by punitgadhiya 8
  • PHP 8.1 - Fix optional parameter error

    PHP 8.1 - Fix optional parameter error

    With PHP 8.1, fix the following error

    Deprecated Functionality: Optional parameter $delimiter declared before required parameter $string is implicitly treated as a required parameter in /var/www/html/vendor/firegento/fastsimpleimport/Model/Import/Category.php on line 106
    

    That's because $delimiter can't be optional if the following parameter $string is not.

    opened by VincentMarmiesse 7
  • Fixing Category Import

    Fixing Category Import

    • Removed _ (underscores) of vars/functions according http://www.php-fig.org/psr/psr-2/#4-2-properties
    • Added ignoreDuplicates config
    • Added possibility to upload file
    • Corrected deletion of category
    • And some little bugfixes
    opened by blewinsky 7
  • Category Import fixes

    Category Import fixes

    This has the compatibility fixes I commented on, sets a default category_path_seperator "/", and reverses the parameters for explodeEscaped because having the first parameter optional is deprecated.

    opened by rbrown 5
  • Error importing products

    Error importing products

    Hi, I tried to import the sample product with the code you gave in documentation:

    /** @var \FireGento\FastSimpleImport\Model\Importer $importerModel */
    $importerModel = $this->objectManager->create('FireGento\FastSimpleImport\Model\Importer');
    
    $productsArray = [
        [
            'sku' => 'firegento-test',
            'attribute_set_code' => 'Default',
            'product_type' => 'simple',
            'product_websites' => 'base',
            'name' => 'FireGento Test Product',
            'price' => '14.0000',
        ],
    ];
    
    try {
        $importerModel->processImport($productsArray);
    } catch (\Exception $e) {
        $output->writeln($e->getMessage());
    }
    
    print_r($importerModel->getLogTrace());
    print_r($importerModel->getErrorMessages());
    

    I inserted the code in a PHP file, but when I try to execute it I have the following error:

    PHP Fatal Error: Uncaught Error: Using $this when not in object context in test.php:2

    What should I do? Thanks!

    opened by emanueledibella 5
  • category not assigned with product import

    category not assigned with product import

    I passed below product data array.

    $data[] = array( 'sku' => 'test4', 'attribute_set_code' => 'Bottom', 'product_type' => 'simple', 'product_websites' => 'base', 'name' => 'Test Product2', 'price' => '1000', 'visibility' => 'Catalog, Search', 'tax_class_name' => 'Taxable Goods', 'product_online' => '1', 'weight' => '1.0000', 'short_description' => 'short description', 'description' => 'long description', 'qty' => 120, 'is_in_stock' => 'in_stock', 'color' => 'Red', 'size' => 32, 'category_ids' => array('Gear','7',9), );

    tried everything with category ids data, but facing problem "This file does not contain any data. " if i remove category_ids then it works.

    opened by amitphpdeveloper 5
  • Rename images when importing from external URL

    Rename images when importing from external URL

    First of all, thanks for this great extension and the demo extension with the sample code!

    When importing product images from external URLs, the resulting image file name contains the domain name and path of the external URL.

    Is there a way to rename the image upon importing?

    opened by qx54 4
  • Not setting qty attribute.

    Not setting qty attribute.

    Trying to import product data and stock data. I use attribute qty and it is not getting saved into de DB... So, no stock, no products in frontend.

    Example of attributes in product array:

    'sku' => $codigo_proveedor.$articulo->codigo, 'categories' => $categorias_str, 'attribute_set_code' => 'Default', 'product_type' => 'simple', 'product_websites' => 'base', 'additional_attributes' => "ean=".$articulo->ean.",talla=".$articulo->talla.",hashtalla=".$articulo->hashtalla.",novedad=".$articulo->novedad.",promocion=".$articulo->promocion.",reponer=".$articulo->reponer.",precio_comercio_a=".$articulo->precio_comercio_a, 'name' => $articulo->descripcion, 'price' => $articulo->precio_recomendado, 'is_in_stock' => 1, 'qty' => intval($articulo->stock_disponible), 'base_image'=>$imagen_base, 'small_image'=>$articulo->imagen_gr, 'thumbnail_image'=>$articulo->imagen_bu, 'additional_images'=>$imagenes_str, 'visibility' => 'Catalog, Search', //'tax_class_name' => $articulo->iva, //'manufacturer' => $articulo->fabricante, 'description' => $articulo->explicacion,

    Thanks for your help.

    opened by EA3HZZ 4
  • catalog_product_link row disappears when updating product

    catalog_product_link row disappears when updating product

    Hello,

    we have found a really strange behaviour: when we try and update a product data (fields status, visibility, qty, is_in_stock, date_update), product links disappear from catalog_product_link table. Specifically upsell product link related to the product which is updated. My update code does not refer in any way to product links and I can't understand such behaviour.

    opened by matteorossi-thespacesm 3
  • Don't use the same import model for validation and import

    Don't use the same import model for validation and import

    If we create new options during validation (by "before" plugin to \Magento\CatalogImportExport\Model\Import\Product\Validator::isAttributeValid), we need to re-init it so the new option is available during import.

    This restores the behavior from version 1.x.

    opened by avstudnitz 0
  • $importerModel->getLogTrace() return empty string

    $importerModel->getLogTrace() return empty string

    Hi, I've updated to the new version 2.0.1 Unfortunately the public function $importerModel->getLogTrace() return empty string. It was very convenient to have the import log. Why was it eliminated? Would it be possible to get it back? Or is there an other way to do get the same thing? Thank you.

    opened by ildelux 0
  • Category import fails on DateTime->format() call

    Category import fails on DateTime->format() call

    In the category import, the Magento DateTime class is now used, which does not have a format call. https://github.com/firegento/FireGento_FastSimpleImport2/pull/121 fixes that and it would be awesome, if this could be merged.

    opened by norgeindian 0
  •  Deprecated Functionality: Optional parameter $delimiter declared before required parameter $string

    Deprecated Functionality: Optional parameter $delimiter declared before required parameter $string

    Deprecated Functionality: Optional parameter $delimiter declared before required parameter $string is implicitly treated as a required pa
    rameter in /home/users/ajay.singh/www/html/244/vendor/firegento/fastsimpleimport/Model/Import/Category.php on line 1066

    Magento version:- 2.4.4

    Issue:- Getting this issue while running php bin/magento setup:di:compile

    php version: 8.1

    opened by ajaysingh-webkul 4
  • Return the complete category image path

    Return the complete category image path

    When a category image is imported, it's saved without the media/catalog/category path.

    For instance, if I import a main.jpg image, it will be saved as /m/a/main.jpg, causing a 404 when the image is displayed.

    I'm not sure if it's the cleanest way to do it tho.

    opened by VincentMarmiesse 0
Releases(2.0.1)
Owner
FireGento e. V.
Our association unites people who share an interest in Magento. We work together to provide benefits for the Magento community.
FireGento e. V.
A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2

Simple Import / Export tool A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2. Table data

EcomDev B.V. 51 Dec 5, 2022
This Magento 2 extension integrates EasyTranslate into Magento 2.

EasyTranslate Magento 2 Connector This Magento 2 extension integrates EasyTranslate into Magento 2. Mind that you need to have an account with EasyTra

Easytranslate ApS 0 Oct 7, 2022
Magento-Functions - A Resource of Magento Functions

Magento-Functions A Resource of Magento Functions Table of Contents Category Product User Cart Checkout General Account [Working w/ URL's] (#urls) Cat

Bryan Littlefield 28 Apr 19, 2021
Magento - Magento Community Editions

Magento Community Edition /// THIS REPOSITORY IS DEPREACTED /// 1.9.4.1 will be the last version update. Please switch over to OpenMage! Either to the

FireGento e. V. 107 Oct 17, 2022
Magento-Vagrant-Puppet-Nginx - Installs magento and a nginx server

Magento-Vagrant-Puppet-Nginx Installs Magento MySQL PHP PHP-FPM Nginx n98-magerun Setup git submodule init git submodule update vagrant up Modify pupp

Christian MΓΌnch 61 Aug 10, 2022
Docker-magento - Docker image for Magento 1.6 to 1.9

Docker image for Magento 1.x This repo creates a Docker image for Magento 1.x. Please note The primary goal of this repo is to create Docker images fo

Fu Cheng 144 Nov 18, 2022
Magento-composer-installer - Composer installer for Magento modules

!!! support the maintainer of this project via Patreon: https://www.patreon.com/Flyingmana Magento Composer Installer The purpose of this project is t

null 213 Sep 24, 2022
Chef-magento - Installs and Configures a Magento project

Description Requirements Chef 0.10.0 or higher required (for Chef environment use). Platform Debian, Ubuntu CentOS, Red Hat, Fedora Your basebox must

Inviqa 3 Jun 30, 2020
Cookbook-magento - Collection of recipes to build app stack for the Magento deployments with Chef

Magento Cookbook Collection of recipes to build app stack for the Magento deployments with Chef Installation With Berkshelf echo "cookbook 'magento',

Yevhen Viktorov 37 Sep 26, 2020
Magento-bulk - Bulk Import/Export helper scripts and CLI utilities for Magento Commerce

Magento Bulk Bulk operations for Magento. Configuration Copy config.php.sample to config.php and edit it. Product Attribute Management List All Attrib

Bippo Indonesia 23 Dec 20, 2022
Phpcs-magento-rules - A set of PHPCS rules used by made.com when hacking Magento

Made.com PHPCS Magento Rules A set of PHPCS rules used by made.com when hacking Magento. Pre-Requisites PHPCS Installation Short Version Clone this re

Made.com Tech Team 26 Jun 3, 2020
This Magento extension provides a Real Full Page Caching for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

This Magento extension provides a Real Full Page Caching (FPC) for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

Hugues Alary 95 Feb 11, 2022
Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Strategery 123 Nov 20, 2021
Foundation 3 Framework for Magento 1.7. Foundation styles and libraries. Magento Responsive theme. Off-canvas Left-Right sidebar columns for mobile.

Magento Foundation 3 Framework Zurb Foundation 3 framework for Magento 1.7. Magento Foundation 3 Version 1.3.0. Demo page: http://magendation.internet

Nando Boronat 62 Apr 1, 2022
[ONLY Magento 2.0.x Compatible] Code samples for Magento developers

Synopsis This project is a collection of samples to demonstrate technologies introduced in Magento 2. You will find the most simple extension along wi

Magento 58 Dec 26, 2022
Magento 2 Blog Extension is a better blog extension for Magento 2 platform. These include all useful features of Wordpress CMS

Magento 2 Blog extension FREE Magento 2 Better Blog by Mageplaza is integrated right into the Magento backend so you can manage your blog and your e-c

Mageplaza 113 Dec 14, 2022