remove redundant "view basket" link from cart drawer
The drawer now has full quantity controls, remove, subtotal, and checkout — the link to the cart page added friction without value. Cart page remains accessible via the basket icon in nav. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b3d1019cd4
commit
ac46c1504f
@ -49,7 +49,8 @@ Issues found during hands-on testing of the deployed prod site on mobile and des
|
|||||||
|
|
||||||
### Cart
|
### Cart
|
||||||
- [x] 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
|
- [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
|
### Navigation & links
|
||||||
- [ ] Search doesn't work (modal opens but no results/functionality)
|
- [ ] Search doesn't work (modal opens but no results/functionality)
|
||||||
|
|||||||
@ -147,28 +147,6 @@ defmodule SimpleshopThemeWeb.ShopComponents.Cart do
|
|||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if @mode == :preview do %>
|
|
||||||
<a
|
|
||||||
href="#"
|
|
||||||
phx-click={
|
|
||||||
close_cart_drawer_js()
|
|
||||||
|> 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
|
|
||||||
</a>
|
|
||||||
<% else %>
|
|
||||||
<a
|
|
||||||
href="/cart"
|
|
||||||
phx-click={close_cart_drawer_js()}
|
|
||||||
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
|
|
||||||
</a>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user