selling_ plan_ group
Information about a specific group of selling plans that include any of a product's variants.
Selling plans are grouped based on shared selling plan option names.
To learn about how to support selling plans in your theme, refer to Purchase options.
Properties
An optional string provided by an app to identify selling plan groups created by that app.
If the app doesn't provide a value, then
nilis returned.TipYou can use this property, with the
wherefilter, to filter thearray for all selling plan groups from a specific app.Tip:You can use this property, with the
wherefilter, to filter thearray for all selling plan groups from a specific app.Tip: You can use this property, with the <a href="/docs/api/liquid/filters/where"><code>where</code> filter</a>, to filter the <a href="/docs/api/liquid/objects/product#product-selling_plan_groups"><code><span class="PreventFireFoxApplyingGapToWBR">product.selling<wbr/>_plan<wbr/>_groups</span></code> array</a> for all selling plan groups from a specific app.
- optionsoptionsarray of selling_plan_group_option
The selling plan group options.
Returns
trueif the currently selected selling plan is part of the selling plan group. Returnsfalseif not.NoteThe selected selling plan is determined by the
URL parameter.Note:The selected selling plan is determined by the
URL parameter.Note: The selected selling plan is determined by the <code><span class="PreventFireFoxApplyingGapToWBR">selling<wbr/>_plan</span></code> URL parameter.
- selling_
plansselling_ plans array of selling_plan The selling plans in the group.
Example
{
"app_id": "gid://shopify/App/66228322305",
"id": "e88ff8fdb3c39c89b564859e34542e0b982076d6",
"name": "1 Week(s), 4 Week(s)",
"options": [],
"selling_plan_selected": false,
"selling_plans": []
}