Closed (fixed)
Project:
Commerce License
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Nov 2016 at 09:20 UTC
Updated:
8 Feb 2017 at 12:34 UTC
Jump to comment: Most recent
Comments
Comment #2
sam0971 commentedI think you should add a relation to the commerce line item in your view.
Comment #3
Kazanir commentedThe only reference to "the" order for a license is on the line item which was part of the cart at checkout, referencing the license via the commerce_license field. By using a reverse entity reference lookup (provided by the entityreference module) in Views and then adding an additional relationship to the order from the line item, we can add the order ID to the default view. This will break if you are using multiple cart orders for a given Commerce License, but it still seems really helpful so I've added it to the defaults.
Comment #5
Kazanir commentedFixed.
Comment #6
Kazanir commented