Skip to main content
3 events
when toggle format what by license comment
Sep 9, 2016 at 12:45 comment added nvahalik Because a line can be explicitly defined as not a product. A number of modules do this: commerce_account_balance, commerce_exactor, and commerce_payment_split to name 3. Anything that is a product must have the correct fields (from the docs, re: the product boolean attribute): "If set to TRUE, the line item type must also contain the fields added to the base product line item type, commerce_product".
Sep 9, 2016 at 5:54 comment added Felix Eve From my testing this a 100% true - however why does hook_commerce_line_item_type_info() have a product boolean?
Nov 23, 2015 at 12:15 history answered nvahalik CC BY-SA 3.0