Untitled

mail@pastecode.io avatar
unknown
plain_text
7 days ago
494 B
5
Indexable
Never
{% if customer.tags contains "private" %}
{% section 'main-collection-product-grid' %}
{% else %}
<div class="page-width style_private">
  <h2>Please login to view this collection</h2>
  <a href="{{ routes.account_login_url }}">Login</a>
<!--   <a href="{{ routes.account_register_url }}">Register</a> -->
</div>
{% endif %}

.style_private{
  text-align: center;
}

.style_private a{
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  background: #efefef;
  margin: 0 5px;
}
Leave a Comment