using views, I cant find a backreference from the product (product entity) to the product displays (node entity). is this a bug or simply not intended to work?

tia,
attisan

Comments

irowboat’s picture

Works well with Commerce products, Facet API, multiple indexes et al. Check your settings. Good luck =)

attisan’s picture

what sort of setting do you mean - as this module comes without configuration nor settings. To my understanding it should suffice to use an entityreference field (so does commerce for display -> product) and the backreference field would be available in views -> relationship.

yet, it isn't.

any hints?
attisan

irowboat’s picture

Sorry for the vague answer!

You don't need this module, if all you want is the fields from a product display node into a view listing products.

Add a relationship to your View. You should have the following choice available: "Commerce Product: Referencing Node. Relate a product to the Node referencing it through field_."

Enabling this brings the node fields into scope.

Hope this helps!

My use case is somewhat different: Search API indexing Commerce products. this module allows me to see the backreferenced fields (the display node fields) in Search API settings, and when chosen for indexing, they are available to me in the view handling the actual search UI.