learnshopify.dev/Workspace
local task

Have your agent turn the Bundles page into a list with a delete, and give the home page something to say.

Pass criterion: The Bundles page lists the bundles from `BundleLog`, your app can delete a bundle and its row, the home page shows numbers from your store, and the app builds.
$ npx @learnshopifydev/cli check manage-your-bundles
1. Give your agent the job

Paste this message to your agent. The part about deleting gives the order: the rule comes off first.

2. List the files that changed

You should see files in `app/`, and neither `prisma/schema.prisma` nor anything in `extensions/`.

3. Open Bundles in your app and compare it with the pattern

The page has the heading Bundles, one main button and a table. Its one row is Evening Ritual Bundle, with 3 x House Blend 250g, 1 x Ceramic Dripper and 15% off.

4. Create a bundle to delete

Click Create bundle and make `Trial Bundle` with 1 House Blend 250g and 1 Ceramic Dripper. It shows as a second row.

5. Delete Trial Bundle

Click Delete in its row and confirm. The row is gone, Trial Bundle is gone from Products, and `component_parents` on House Blend 250g holds three rules again.

6. Look at your app's home page, then commit

The home page shows 1 bundle, and 1 active.

0 / 1 task solved