diff --git a/PROGRESS.md b/PROGRESS.md index 61167a5..28f5284 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -49,7 +49,8 @@ Issues found during hands-on testing of the deployed prod site on mobile and des ### Cart - [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 +- [x] Cart drawer button → "view basket" feels redundant — streamline the flow +- [ ] Shipping costs: add Stripe shipping options or query Printify for dynamic rates ### Navigation & links - [ ] Search doesn't work (modal opens but no results/functionality) diff --git a/lib/simpleshop_theme_web/components/shop_components/cart.ex b/lib/simpleshop_theme_web/components/shop_components/cart.ex index 58138b4..936521b 100644 --- a/lib/simpleshop_theme_web/components/shop_components/cart.ex +++ b/lib/simpleshop_theme_web/components/shop_components/cart.ex @@ -147,28 +147,6 @@ defmodule SimpleshopThemeWeb.ShopComponents.Cart do <% end %> - <%= if @mode == :preview do %> - Phoenix.LiveView.JS.push("change_preview_page", value: %{page: "cart"}) - } - class="cart-drawer-link" - style="display: block; text-align: center; font-family: var(--t-font-body); font-size: var(--t-text-small); color: var(--t-text-secondary); text-decoration: underline; cursor: pointer;" - > - View basket - - <% else %> - - View basket - - <% end %> """