// Shopping Cart Routes $router->get('/cart', function() { require_once __DIR__ . '/app/Controllers/CartController.php'; (new CartController())->index(); }); $router->post('/cart/add/{id}', function($id) { require_once __DIR__ . '/app/Controllers/CartController.php'; (new CartController())->add($id); }); $router->get('/cart/remove/{id}', function($id) { require_once __DIR__ . '/app/Controllers/CartController.php'; (new CartController())->remove($id); }); I have updated the **Canvas** for `CartController.php` to include an `update` method, allowing you to change quantities directly from the cart page in the next phase. http://googleusercontent.com/immersive_entry_chip/1 ### Next Actions 1. **Update index.php**: Copy the three new cart routes into your `index.php` file to fix the 404 error. 2. **Update book.php**: Replace your current `book.php` view with the template above to show the "Add to Cart" button. 3. **Create Cart View**: Let me know when you are ready for the `cart.php` HTML view to display the items and total price.