Giter Club home page Giter Club logo

import-product-media's Introduction

Pacemaker - Product Media Import

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

This module provides the functionality to import the product media files. Actually only images are supported.

Please visit the Pacemaker website or our documentation for additional information

import-product-media's People

Contributors

david-fuehr avatar kenza-ya avatar mardl avatar pathmissing avatar wagnert avatar

Stargazers

 avatar  avatar  avatar

Watchers

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

import-product-media's Issues

All media_gallery_values have position 1

Repro

  1. import product with base_image, additional_images (additional_image_a, additional_image_b)
  2. check database table catalog_product_entity_media_gallery_value
    1. expected: base_image has position 1, additional_image_a has position 2, additional_image_b has position 3
    2. actual: all images have position 1

Information
The (generated) file media_*.csv contains a line for each image and may contain several lines for a specific sku.
The observer techdivision/import-product-media/src/Observers/MediaGalleryObserver.php gets executed for each line of that csv and resets the position counter in line 105.
Later the observer techdivision/import-product-media-ee/src/Observers/EeMediaGalleryValueObserver.php is executed and reads (and increments) the position counter.
For each line of that csv file the observers are executed in this order and therefore each gallery_value is persisted with position = 1.

Beachten des Flags zum ausblenden von Images

Aktuell besteht die Möglichkeit, über das Feld additional_images diverse Bilder zum Produkt zu importieren, sowie über das Feld additionals_image_labels die dazugehörigen Images Labels zu vergeben. Das darauf folgende Feld (hide_from_product_page) wird allerdings aktuell nicht beachtet.

Hier sollte es möglich sein, eins oder mehrere Bilder, die innerhalb der additional_images angegeben sind, für das Produkt im Bezug auf einen bestimmten Store, als hidden zu markieren.

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.