Skip to content

Grouped product media gallery in collection #5276

Closed
@wkaminsk

Description

@wkaminsk

Preconditions

Magento 2.0.7 via composer

Steps to reproduce

  1. Install Magento 2.0.7 via composer
  2. Have two products in catalog - one simple and one grouped product
  3. Add more than two images for each product
  4. Prepare product collection (PC1) where only grouped product is fetched from catalog
  5. Prepare second product collection (PC2) where all products are fetched from catalog

Expected result

  1. During collection item loop, get media gallery list (\Magento\Catalog\Model\Product\Gallery\GalleryManagement:: getList) should return all gallery images for specified product

Actual result

  1. During looping second collection (PC2) for grouped product media gallery is empty.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions