Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.24
Component:
Promotions
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2021 at 11:27 UTC
Updated:
28 Sep 2021 at 13:19 UTC
Jump to comment: Most recent
Comments
Comment #2
jsacksick commentedIf you want your custom condition you get the parent entity, you need to implement the
ParentEntityAwareInterfaceand use theParentEntityAwareTrait.See
OrderItemQuantityfor an example.