Initial Shopify theme

This commit is contained in:
2026-09-25 13:26:23 -06:00
parent 462ac0c5de
commit 2e6142e55b
54 changed files with 3753 additions and 1 deletions
+47
View File
@@ -0,0 +1,47 @@
{% comment %}
This section is used in the collection template to render collection page
listing all products within a collection.
https://shopify.dev/docs/storefronts/themes/architecture/templates/collection
{% endcomment %}
<h1>{{ collection.title }}</h1>
<div class="collection-products">
{% paginate collection.products by 20 %}
{% for product in collection.products %}
<div class="collection-product">
{% if product.featured_image %}
{% render 'image',
class: 'collection-product__image',
image: product.featured_image,
url: product.url,
width: 400,
height: 400,
crop: 'center'
%}
{% endif %}
<div class="collection-product__content">
<p>{{ product.title | escape | link_to: product.url }}</p>
<p>{{ product.price | money }}</p>
</div>
</div>
{% endfor %}
{{ paginate | default_pagination }}
{% endpaginate %}
</div>
{% stylesheet %}
.collection-products {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}
{% endstylesheet %}
{% schema %}
{
"name": "t:general.collection",
"settings": []
}
{% endschema %}