add quantity controls to cart drawer via shared CartHook
Move increment/decrement handlers from Cart LiveView into CartHook so they work from any page's drawer. Enable show_quantity_controls on the drawer's cart_item_row. Scope cart tests to #main-content to avoid duplicate button matches. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,7 @@ Issues found during hands-on testing of the deployed prod site on mobile and des
|
||||
- [ ] Real product variants need testing and refinement with live data
|
||||
|
||||
### Cart
|
||||
- [ ] Should be able to change quantity in the cart drawer (currently only on cart page?)
|
||||
- [x] Should be able to change quantity in the cart drawer (currently only on cart page?)
|
||||
- [ ] Cart drawer button → "view basket" feels redundant — streamline the flow
|
||||
|
||||
### Navigation & links
|
||||
|
||||
Reference in New Issue
Block a user