The selling_plan_group object

A group of selling plans available for some or all of a product's variants. Selling plans in a group all share the same selling_plan_option.name values.

selling_plan_group.id

A unique ID for the selling plan group.

selling_plan_group.name

The name of the selling plan group.

selling_plan_group.options

An array of selling_plan_group_option objects. A selling_plan_group_option object contains the name and respective values of an individual item in the selling_plan_group.options array.

selling_plan_group_option.name

Returns the selling plan option’s name.

selling_plan_group_option.position

Returns the index of the the option amongst all the selling_plan_group.options.

selling_plan_group_option.selected_value

Returns the value for the selling plan group option when a selling plan allocation is selected. The selected selling plan allocation is based on both the URL parameters selling_plan and id.

selling_plan_group_option.values

An array of values for the selling plan group option.

selling_plan_group.selling_plan_selected

Returns true if the selected selling plan is part of the selling plan group. The selected selling plan is based on the URL parameter selling_plan.