Giter VIP home page Giter VIP logo

import-product-link's Introduction

Pacemaker - Product Link Import

Latest Stable Version Total Downloads License Build Status Scrutinizer Code Quality Code Coverage

This module provides the functionality to import the product links as well as the link positions, defined in the CSV file. Actually Related, Upsell + Crosssell links are supported.

Please visit the Pacemaker website or our documentation for additional information

import-product-link's People

Contributors

kenza-ya avatar mardl avatar pathmissing avatar wagnert avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

import-product-link's Issues

Importing product relations

How does the import of relations work?

We have a csv in the following format:

sku,related_skus,accessory_skus

When naming the csv "links_20200101_1.csv" and executing import:products we get the following error:

Stop processing, because can't find the mandatory OK file to process at least one of 1 files

When naming the csv "product-import_20200101_1.csv" we get the following error:

Found invalid attribute set name "" in file product-import_20200101_1.csv on line 2

The above errors appear when using the default shortcut for ce/catalog_product/add-update.

We tried to change the shortcut to only use the operation ce/catalog_product/add-update.links and the filename "links_20200101_1.csv", then the command runs through but does not import the relation. Debug mode shows notices and warnings:

PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 309
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 310
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 311
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 312
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 313
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 314
PHP Warning: Invalid argument supplied for foreach() in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 848
PHP Notice: Undefined index: skuEntityIdMapping in vendor/techdivision/import-product-link/src/Subjects/LinkSubject.php on line 65
Successfully executed command import:products with serial b4a8b422-f88f-4d7d-9932-b5bc3c885989 in 00:00:00 s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.