Ajustes antes de produccion

This commit is contained in:
2026-10-22 00:07:21 -06:00
parent f9666c4088
commit 1be9d16c83
124 changed files with 3540 additions and 772 deletions
+35 -31
View File
@@ -1,40 +1,44 @@
{% comment %}
This section is used in the list-collections template to render a list of
collections.
https://shopify.dev/docs/storefronts/themes/architecture/templates/collection
Category directory used by the list-collections template.
{% endcomment %}
<h1>{{ 'collections.title' | t }}</h1>
<section class="category-directory full-width">
<h1 class="category-directory__title">{{ 'category_directory.heading' | t }}</h1>
<div
class="collections {{ section.settings.grid_item_width }}"
style="--grid-gap: {{ section.settings.grid_gap }}px"
>
{% for collection in collections %}
<a class="collection-card" href="{{ collection.url }}">
{% if collection.featured_image %}
{% render 'image',
class: 'collection-card__image',
image: collection.featured_image,
width: 600,
height: 600,
crop: 'center'
%}
{% endif %}
{% capture category_cards %}
banner-limpia.avif|/collections/1-limpia|{{ 'category_directory.clean_title' | t }}|{{ 'category_directory.clean_text' | t }}
---banner-trata.avif|/collections/2-trata|{{ 'category_directory.treat_title' | t }}|{{ 'category_directory.treat_text' | t }}
---banner-hidrata.avif|/collections/3-hidrata|{{ 'category_directory.hydrate_step_title' | t }}|{{ 'category_directory.hydrate_step_text' | t }}
---banner-protectores.avif|/collections/4-protege-bloqueadores-solares|{{ 'category_directory.protect_title' | t }}|{{ 'category_directory.protect_text' | t }}
---banner-hidratantes.avif|/collections/hidratantes|{{ 'category_directory.moisturizers_title' | t }}|{{ 'category_directory.moisturizers_text' | t }}
---banner-mascarillas.avif|/collections/mascarillas|{{ 'category_directory.masks_title' | t }}|{{ 'category_directory.masks_text' | t }}
---banner-proteccion-solar.avif|/collections/proteccion-solar-1|{{ 'category_directory.sun_title' | t }}|{{ 'category_directory.sun_text' | t }}
---banner-limpiadores.avif|/collections/limpiadores|{{ 'category_directory.cleansers_title' | t }}|{{ 'category_directory.cleansers_text' | t }}
---banner-serums.avif|/collections/serum|{{ 'category_directory.serum_title' | t }}|{{ 'category_directory.serum_text' | t }}
---banner-preocupacion-acne.avif|/collections/acne-1|{{ 'category_directory.acne_title' | t }}|{{ 'category_directory.acne_text' | t }}
---banner-antiedad.avif|/collections/antiedad-1|{{ 'category_directory.aging_title' | t }}|{{ 'category_directory.aging_text' | t }}
---banner-control-grasa.avif|/collections/control-grasa|{{ 'category_directory.oil_title' | t }}|{{ 'category_directory.oil_text' | t }}
---banner-preocupacion-hidratacion.avif|/collections/hidratacion|{{ 'category_directory.hydration_title' | t }}|{{ 'category_directory.hydration_text' | t }}
---banner-preocupacion-solar.avif|/collections/proteccion-solar-1|{{ 'category_directory.sun_title' | t }}|{{ 'category_directory.sun_text' | t }}
---banner-manchas.avif|/collections/aclarar|{{ 'category_directory.spots_title' | t }}|{{ 'category_directory.spots_text' | t }}
---banner-piel-grasa.avif|/collections/piel-grasa|{{ 'category_directory.oily_title' | t }}|{{ 'category_directory.oily_text' | t }}
---banner-piel-mixta-grasa.avif|/collections/piel-mixta-grasa|{{ 'category_directory.combination_title' | t }}|{{ 'category_directory.combination_text' | t }}
---banner-piel-seca.avif|/collections/piel-seca-1|{{ 'category_directory.dry_title' | t }}|{{ 'category_directory.dry_text' | t }}
{% endcapture %}
<div class="collection-card__content">
<p>{{ collection.title }}</p>
{% if collection.description %}
<p>{{ collection.description | strip_html | truncatewords: 15 }}</p>
{% endif %}
</div>
</a>
{% assign category_rows = category_cards | split: '---' %}
{% for category_row in category_rows %}
{% assign category_parts = category_row | strip | split: '|' %}
{% if category_parts.size > 3 %}
{% render 'category-card',
image: category_parts[0],
url: category_parts[1],
title: category_parts[2],
text: category_parts[3]
%}
{% endif %}
{% endfor %}
</div>
</section>
{% schema %}
{