Included Ingredients

Ingredients the product comes with. null means the product has never been configured; a configured group with nothing currently available returns items: [].

Each item points at a product already present in one of this product's first-level product_groups, identified by the pair product_group_id + product_id. The same product can appear once in each of several groups, so always match on the pair.

See Included ingredients for the cart rules that go with this.

  • Properties: 5
  • Optional group name, used only by single_included_group. Fall back to your own label when it is null.

  • original_product_groups (the default) leaves the ingredients in their own product groups. single_included_group presents them together in one group at the top, without changing their real group or cart identity.