GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - firebearstudio/customimportexport: Module for customization of Magento 2 - Improved Import / Export extension by FireBear Studio

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
Plugin/Model/Import
Plugin/Model/Import
 
 
etc
etc
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
registration.php
registration.php
 
 

Repository files navigation

Module for customization of Magento 2 - Improved Import / Export extension by FireBear Studio

Extension manual

You can create plugins for functions from module Import and Export.

At the moment you can create plugins from Import:

  1. customChangeData($data): changing data whiling saving

  2. customBunchesData($data): changing data whiling saving bunches

This module will be replenished new features.

Examples:

public function aroundCustomChangeData(
        \Firebear\ImportExport\Model\Import\Product $model,
        \Closure $proceed,
        $data
    ) {
        $mediaAttributes = ['image', 'small_image', 'thumbnail'];
            foreach($mediaAttributes as $attribute) {
                if (isset($data[$attribute])) {
                    $data[$attribute . '_label'] = preg_replace('/\W+/','',$data[$attribute]);
                }

            }

       error_log(json_encode($model->getParameters()));

       return $proceed($data);
    }

    public function aroundCustomBunchesData(
        \Firebear\ImportExport\Model\Import\Product $model,
        \Closure $proceed,
        $data
    ) {
        error_log(json_encode($data));
        return $proceed($data);
    }

About

Module for customization of Magento 2 - Improved Import / Export extension by FireBear Studio

firebearstudio.com/the-improved-import.html

Topics

csvimportimportermagentomagento2magento2-customer-pointsmagento2-extensionmagento2-extension-freemagento2-importmagento2-pluginmagento2-productmagento2-sitephpproducts-importxml

Resources

Readme
Activity
Custom properties

Stars

9 stars

Watchers

13 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.