selling_ plan
Information about the intent of how a specific selling plan affects a line item.
To learn about how to support selling plans in your theme, refer to Purchase options.
Properties
- checkout_
charge The checkout charge of the selling plan.
- Note
The name is shown at checkout with the line item summary.
The name of the selling plan.
NoteThe name is shown at checkout with the line item summary.
- optionsarray of selling_plan_option
The selling plan options.
- price_
adjustments array of selling_plan_price_adjustment The selling plan price adjustments.
The maximum length of the array is two. If the selling plan doesn't create any price adjustments, then the array is empty.
Each
maps to a
in the
array. The
array contains the intent of the selling plan, and the
contains the resulting money amounts.
Returns
true
if the selling plan includes multiple deliveries. Returnsfalse
if not.
Anchor to
Anchor to
Anchor to
{
"checkout_charge": {},
"description": null,
"group_id": "f6f782040b07aa2353008932051a8d9bef0536d0",
"id": 610435137,
"name": "Delivery every 1 Week",
"options": [],
"price_adjustments": [],
"recurring_deliveries": true,
"selected": true
}
{
"checkout_charge": {},
"description": null,
"group_id": "f6f782040b07aa2353008932051a8d9bef0536d0",
"id": 610435137,
"name": "Delivery every 1 Week",
"options": [],
"price_adjustments": [],
"recurring_deliveries": true,
"selected": true
}
Was this section helpful?