learnshopify.dev/Workspace
js component

Two fetches to fill in. (1) Fetch `/recommendations/products.json?product_id=303&limit=2`, parse it, and pass `data.products` to `render()`. (2) The delegated `[data-upsell-add]` listener is already wired for you: fill its fetch, POST `{ id: <data-variant-id>, quantity: 1 }` to `/cart/add.js`, then call `refresh()`. `render()` and `refresh()` are written for you.

0 / 1 task solved
northwind-coffee.com
Live Storefront