From 5e7a77d95d9b3f5996cec2cf82069551d5a0eaca Mon Sep 17 00:00:00 2001 From: David Wolf Date: Wed, 21 Feb 2024 19:12:05 -0500 Subject: [PATCH] Fixed comment --- .../extensions/optional-add-ons-js/src/run.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sample-apps/optional-add-ons-cart-transform/extensions/optional-add-ons-js/src/run.js b/sample-apps/optional-add-ons-cart-transform/extensions/optional-add-ons-js/src/run.js index a095afdd..c74657cc 100644 --- a/sample-apps/optional-add-ons-cart-transform/extensions/optional-add-ons-js/src/run.js +++ b/sample-apps/optional-add-ons-cart-transform/extensions/optional-add-ons-js/src/run.js @@ -1,12 +1,8 @@ // @ts-check /* -A straightforward example of a function that expands a bundle into its component parts. -The parts of a bundle are stored in a metafield on the product parent value with a specific format, -specifying each part's quantity and variant. - -The function reads the cart. Any item containing the metafield that specifies the bundle parts -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. */ /**