learnshopify.dev/Workspace
js component

Wire the Load More button. In its click handler: fetch `"/collections/all?section_id=product-grid&page=2"`, read it with `.then(function (r) { return r.text(); })`, then `grid.insertAdjacentHTML("beforeend", html)`, then set `btn.textContent = "That's all of them"` and `btn.disabled = true`.

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