Closed (won't fix)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Rules integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2014 at 11:07 UTC
Updated:
20 Feb 2014 at 17:05 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedIf I understand you right, this isn't necessary. Every Commerce line item references its order, so you can traverse to it if necessary through the Rules data selector.
Comment #2
jurgenhaasSounds reasonable and I can confirm, that within the line item I can find the order object. What's missing however, is the product-type. Any chance of getting hold of that?
Comment #3
rszrama commentedYou can get there through the commerce_product field; you just have to use entity has field first.