Active
Project:
Commerce price by components
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 May 2015 at 12:36 UTC
Updated:
10 Aug 2017 at 13:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vincentdemers commentedRelated: https://www.drupal.org/node/2284209
Comment #2
mrpeanut commentedHave either of you found a solution for this issue? (I'm assuming not since this is still Active but wanted to check.)
Comment #3
vincentdemers commentedHi! I ended up coding my own views custom field by implementing hook_views_handlers(). I used the group_concat mysql function to get a long string of all the entity_ids returned by the view. Then in my custom views field render function I did a entity_load for each entity to get the base_price of each order. I can share my code send me a private msg. good luck
Comment #4
anybody@vincentdemers, it would be very helpful if you could paste your code here. Then no one has to disturb you and the code is available 24H and for further development.
Would be great, thank you! :)
Comment #5
vincentdemers commentedHi @MrPeanut & @Anybody
Here is my custom views field handler as you have requested..