We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6db647 + 5e7a77d commit 07259beCopy full SHA for 07259be
sample-apps/optional-add-ons-cart-transform/extensions/optional-add-ons-js/src/run.js
@@ -1,12 +1,8 @@
1
// @ts-check
2
3
/*
4
-A straightforward example of a function that expands a bundle into its component parts.
5
-The parts of a bundle are stored in a metafield on the product parent value with a specific format,
6
-specifying each part's quantity and variant.
7
-
8
-The function reads the cart. Any item containing the metafield that specifies the bundle parts
9
-will return an Expand operation containing the parts.
+A straightforward example of a function that expands a single line into a bundle with add-on products.
+The add-on options are are stored in a line item property and metafield on the product.
10
*/
11
12
/**
0 commit comments