Problem/Motivation

Commerce product ids are not recognized by views (like product variations)
This is usefull if you want to filter orders by purchased products (not only by product variations)

Steps to reproduce

Try and add a filter on the Parent product, the filter "Product (entityreference filter)" does not show up.

Proposed resolution

Just introduce product ids to views in entityreference_filter_views_data_alter

Comments

adel-by created an issue. See original summary.

adel-by’s picture

adel-by’s picture

Status: Active » Needs review

maximkashuba’s picture

hi adel-by,

thank you for the patch.

Just updated the dev branch with your commit.

maximkashuba’s picture

Status: Needs review » Fixed
maximkashuba’s picture

Status: Fixed » Closed (fixed)