Product Groups
  • 12 Jan 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Product Groups

  • Dark
    Light

Article Summary

A product group represents a collection of configured products. The main difference between product categories and product groups is that categories represent groupings of unconfigured products, while groups represent groupings of configured products. Each product groups is owned by a single product or quote. Products or quotes can own multiple groups.

Product groups have the following fields

id: Internal numerical ID for this product group.
parentId: ID of the product or quote owning this group.
name: Unique name for this product group. It must be made up of only alphanumeric characters or '_' characters, (more exactly, it must be a legal variable name.) This name must be unique within its parent product or quote. That is, no other attributes or product groups in the parent product or quote can have the same name. This name will not be displayed in the product configuration.
label: User-friendly name for the product group. This will be the displayed name in the product configuration.
categories: List of IDs of product categories to limit the selection of new products for this product group. If this group is editable, this field must contain at least one category.
min: Minimum number of products that must be selected for this group during configuration. If greater than 0, the user must provide at least one product for this group. Default is 1.
max: Minimum number of products that must be selected for this group during configuration. Default is 1.
readonly: Boolean indicating whether this group can be modified by the sales rep during configuration. Default is 0, (editable).


Was this article helpful?