learnshopify.dev/Workspace
store task

Register your Function on your store, then try it with a real cart.

Pass criterion: Your store lists a cart transform that your app registered.
1. Start your app

If it is already running, leave it. Otherwise wait until the terminal says the preview is ready.

2. Create the file `register.graphql` in your app folder and paste this in

3. Run the mutation

Use a second terminal, and put your path store's name in place of YOUR-STORE if it is there. In the answer, `userErrors` should be empty: `[]`.

4. Try it on your storefront

Click Online Store, then View your store, and add two House Blend 250g and one Ceramic Dripper. The cart shows one line, Morning Ritual Bundle, at 10 percent under the price of the three products.

0 / 1 task solved