Skip to content

Commit 07259be

Browse files
authored
Merge pull request #457 from Shopify/dpwolf-patch-1
Fixed comment
2 parents e6db647 + 5e7a77d commit 07259be

File tree

1 file changed

+2
-6
lines changed
  • sample-apps/optional-add-ons-cart-transform/extensions/optional-add-ons-js/src

1 file changed

+2
-6
lines changed

sample-apps/optional-add-ons-cart-transform/extensions/optional-add-ons-js/src/run.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
// @ts-check
22

33
/*
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.
4+
A straightforward example of a function that expands a single line into a bundle with add-on products.
5+
The add-on options are are stored in a line item property and metafield on the product.
106
*/
117

128
/**

0 commit comments

Comments
 (0)