Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.10
Component:
Views integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Dec 2014 at 22:29 UTC
Updated:
23 Dec 2014 at 14:02 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedI'm pretty sure I'd just recommend a custom Views field handler. You might be able to rig this up in the View itself through some combination of aggregation / contributed modules, but I doubt it'd be worth the time it took to figure that out. : P
So, custom field handler that looks at the node represented by the current row in the result, loads the referenced products, and extracts the relevant field values. It's a bit brute force, so I'd make sure you were caching the rendered View for at least some amount of time (even 1 minute) to avoid running all those entity loads every page request.