I’m looking to make my link to vendor clickable in my product grid.
I am using Refresh theme.
Within the card-product.liquid file i have modified the text in show_vendor to add a link to the vendor
{%- if show_vendor -%}
<span class="visually-hidden">{{ 'accessibility.vendor' | t }}</span>
<div class="caption-with-letter-spacing light">{{ card_product.vendor | link_to_vendor }}</div>
{%- endif -%}
The issue I have is that the whole product grid is clickable, irrespective of whether I am clicking the image or title. This means that, whilst my vendor link is visible, clicking the whole product grid links to the product.
Does anyone know how I can modify the full click so click event takes place when clicking the image or product title and any other links are independently clickable?
Thanks