How to edit "return-link" VENTURE THEME

Solved
JLbyone
Excursionist
169 16 34

How can i change that code to redirect to my homepage?  i dont want to show collection.title im trying to make the same but goes to my homepage

  {% if collection %}
  <div class="full-width full-width--return-link">
    <a href="{{ collection.url }}" class="h1 return-link">
      {% include 'icon-arrow-thin-left' %}
      {{ 'products.product.collection_return' | t: collection: collection.title }}
    </a>
  </div>
{% endif %}

 

0 Likes
JLbyone
Excursionist
169 16 34

This is an accepted solution.

done! change your code with something like that:

  {% if collection %}
  <div class="full-width full-width--return-link">
    <a href="/" class="h1 return-link">
      {% include 'icon-arrow-thin-left' %} Volver a inicio</a>
  </div>
{% endif %}
0 Likes