Ir al contenido
instagram 104.png__PID:ebeae080-3edc-41ed-b78e-e32d410b6e62PINTE.png__PID:5c95b5bd-17c8-4c25-a4de-8eec0663d8a8FACEEE.png__PID:72555c95-b5bd-47c8-9c25-a4de8eec0663

Cesta

La cesta está vacía

PRUEBA

{%- assign per_row = section.settings.per_row -%} {% assign paginate_by = per_row | times: 5 %} {% if section.settings.collection_tags_style == 'inline' and collection.all_tags.size > 0 %} {% assign paginate_by = paginate_by | minus: 1 %} {% elsif section.settings.collection_subnav_style == 'inline' %} {% assign paginate_by = paginate_by | minus: 1 %} {% endif %} {% paginate collection.products by paginate_by %}
{%- if section.settings.collection_image_enable and collection.image -%}
{%- if section.settings.parallax -%}
{%- else -%} {%- assign img_url = collection.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%} {{ collection.image.alt | escape }} {%- endif -%}

{{ collection.title }}

{%- endif -%}
{% include 'breadcrumbs' %} {% unless section.settings.collection_image_enable and collection.image %}

{{ collection.title }}

{% endunless %} {% if section.settings.collection_tags_style == 'dropdown' or section.settings.collection_sort_enable %}
{% if section.settings.collection_tags_style == 'dropdown' %}
{% endif %} {% if section.settings.collection_sort_enable %}
{%- assign sort_by = collection.sort_by | default: collection.default_sort_by -%}
{% endif %}
{% endif %} {%- if section.settings.description_position == 'top' -%} {% if collection.description != blank %}
{{ collection.description }}

{% endif %} {%- endif -%}
{% assign grid_item_width = 'small--one-half medium-up--one-third' %} {% case per_row %} {% when 1 %} {%- assign grid_item_width = '' -%} {% when 2 %} {%- assign grid_item_width = 'medium-up--one-half' -%} {% when 3 %} {%- assign grid_item_width = 'small--one-half medium-up--one-third' -%} {% when 4 %} {%- assign grid_item_width = 'small--one-half medium-up--one-quarter' -%} {% when 5 %} {%- assign grid_item_width = 'small--one-half medium-up--one-fifth' -%} {% endcase %} {%- assign have_sidebar = false -%} {%- assign tag_count = 0 -%} {%- assign tag_limit = 7 -%} {%- assign have_extra_tags = false -%} {% if section.settings.collection_tags_style == 'inline' %} {% if collection.all_tags.size > 0 %}
    {% endif %} {% if current_tags contains tag or current_tags contains tag_with_hyphens %}
  • {{ tag | link_to_remove_tag: tag | replace: 'title=', 'class="js-no-transition" title=' | replace: 'view=ajax', '' }}
  • {% else %}
  • {{ tag | link_to_tag: tag | replace: 'title=', 'class="js-no-transition" title=' | replace: 'view=ajax', '' }}
  • {% endif %} {% endfor %} {% if have_extra_tags %}
{% endif %} {%- assign show_button_limit = tag_limit | minus: 1 -%} {% if tag_count > show_button_limit %}

{% endif %}
{% endif %} {% elsif section.settings.collection_subnav_style == 'inline' %} {% if linklists.main-menu.levels > 0 %} {% for link in linklists.main-menu.links %} {% if link.active %} {% if link.links.size > 0 %} {%- assign have_sidebar = true -%} {% endif %} {% elsif link.child_active %} {%- assign have_sidebar = true -%} {% endif %} {% endfor %} {% endif %} {% if have_sidebar %}
    {% if linklists.main-menu.levels > 0 %} {% for link in linklists.main-menu.links %} {% if link.active %} {% include 'subcollection-list', links: link.links %} {% elsif link.child_active %} {% for sub_link in link.links %} {% if sub_link.active or sub_link.child_active %} {% if sub_link.levels > 0 %} {% include 'subcollection-list', links: sub_link.links %} {% else %} {% include 'subcollection-list', links: link.links %} {% endif %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% if have_extra_tags %}
{% endif %} {% endif %} {%- assign show_button_limit = tag_limit | minus: 1 -%} {% if tag_count > show_button_limit %}

{% endif %}
{% endif %} {% endif %} {% for product in collection.products %} {% include 'product-grid-item' %} {% else %}

{{ 'collections.general.no_matches' | t }}

{% endfor %}
{% if paginate.pages > 1 %} {% include 'pagination' %} {% endif %} {% if settings.quick_shop_enable %} {% for product in collection.products %} {% if product.available %} {% include 'quick-shop-modal' %} {% endif %} {% endfor %} {% endif %}
{%- if section.settings.description_position == 'bottom' -%} {% if collection.description != blank %}
{{ collection.description }}
{% endif %} {%- endif -%}
{% endpaginate %} {% schema %} { "name": "Collection pages", "settings": [ { "type": "range", "id": "per_row", "label": "Products per row", "default": 4, "min": 1, "max": 5, "step": 1 }, { "type": "checkbox", "id": "collection_image_enable", "label": "Show collection image", "default": true }, { "type": "checkbox", "id": "parallax", "label": "Parallax image", "default": true }, { "type": "select", "id": "description_position", "label": "Collection description position", "default": "top", "options": [ { "value": "top", "label": "Top of page" }, { "value": "bottom", "label": "Bottom of page" } ] }, { "type": "select", "id": "collection_subnav_style", "label": "Subnavigation style", "default": "inline", "options": [ { "value": "none", "label": "None" }, { "value": "inline", "label": "Inline" } ] }, { "type": "select", "id": "collection_tags_style", "label": "Tag filter style", "default": "none", "options": [ { "value": "none", "label": "None" }, { "value": "inline", "label": "Inline" }, { "value": "dropdown", "label": "Dropdown" } ], "info": "Only one option can use Inline style at a time" }, { "type": "checkbox", "id": "collection_sort_enable", "label": "Show sort options", "default": false } ] } {% endschema %}