Skip to content

Commit

Permalink
Make the product title a link to the product page.
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-menard committed May 30, 2024
1 parent 6cc3f56 commit 3bba303
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/quick-add.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@
padding-left: 1rem;
}

.quick-add-modal__content-info--bulk-details > a:hover {
text-decoration: underline;
text-underline-offset: 0.3rem;
}

@media screen and (min-width: 990px) {
.quick-add-modal__content-info--bulk .quick-add__product-media,
.quick-add-modal__content-info--bulk .quick-add__product-container,
Expand Down
6 changes: 5 additions & 1 deletion snippets/card-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,11 @@
</div>
<div>
<div class="quick-add-modal__content-info--bulk-details small-hide medium-hide">
<h3 class="h2">{{ card_product.title | escape }}</h3>
<a href="{{ card_product.url }}" class="full-unstyled-link">
<h3 class="h2">
{{ card_product.title | escape }}
</h3>
</a>
{% render 'price', product: card_product, price_class: '', show_compare_at_price: true %}
{%- if card_product.quantity_price_breaks_configured? -%}
<div class="card__information-volume-pricing-note">
Expand Down

0 comments on commit 3bba303

Please sign in to comment.