rebly-sections 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/assets/data/block-patterns.csv +160 -0
  2. package/assets/data/component-library/GDPR-modal.liquid +183 -0
  3. package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
  4. package/assets/data/component-library/_index.csv +157 -19
  5. package/assets/data/component-library/about.liquid +1557 -0
  6. package/assets/data/component-library/adv-header.liquid +344 -0
  7. package/assets/data/component-library/adv-navigation.liquid +542 -0
  8. package/assets/data/component-library/announcement-bar.liquid +42 -60
  9. package/assets/data/component-library/article.liquid +242 -0
  10. package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
  11. package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
  12. package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
  13. package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
  14. package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
  15. package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
  16. package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
  17. package/assets/data/component-library/blog.liquid +371 -0
  18. package/assets/data/component-library/brands-page.liquid +114 -0
  19. package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
  20. package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
  21. package/assets/data/component-library/collection-template.liquid +146 -0
  22. package/assets/data/component-library/contact-us.liquid +663 -0
  23. package/assets/data/component-library/contact.liquid +256 -0
  24. package/assets/data/component-library/copyright_payment.liquid +95 -0
  25. package/assets/data/component-library/custom-content.liquid +832 -0
  26. package/assets/data/component-library/faq-template-3.liquid +1014 -0
  27. package/assets/data/component-library/footer-model-1.liquid +503 -0
  28. package/assets/data/component-library/footer-model-10.liquid +210 -0
  29. package/assets/data/component-library/footer-model-2.liquid +460 -0
  30. package/assets/data/component-library/footer-model-3.liquid +548 -0
  31. package/assets/data/component-library/footer-model-4.liquid +455 -0
  32. package/assets/data/component-library/footer-model-5.liquid +407 -0
  33. package/assets/data/component-library/footer-model-6.liquid +543 -0
  34. package/assets/data/component-library/footer-model-7.liquid +345 -0
  35. package/assets/data/component-library/footer-model-8.liquid +279 -0
  36. package/assets/data/component-library/footer-model-9.liquid +376 -0
  37. package/assets/data/component-library/gallery.liquid +236 -0
  38. package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
  39. package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
  40. package/assets/data/component-library/gp-logo-list.liquid +362 -0
  41. package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
  42. package/assets/data/component-library/header-model-1.liquid +427 -0
  43. package/assets/data/component-library/header-model-10.liquid +599 -0
  44. package/assets/data/component-library/header-model-2.liquid +633 -0
  45. package/assets/data/component-library/header-model-3.liquid +415 -0
  46. package/assets/data/component-library/header-model-4.liquid +754 -0
  47. package/assets/data/component-library/header-model-5.liquid +562 -0
  48. package/assets/data/component-library/header-model-6.liquid +713 -0
  49. package/assets/data/component-library/header-model-7.liquid +743 -0
  50. package/assets/data/component-library/header-model-8.liquid +500 -0
  51. package/assets/data/component-library/header-model-9.liquid +506 -0
  52. package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
  53. package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
  54. package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
  55. package/assets/data/component-library/home-brand-slider.liquid +224 -0
  56. package/assets/data/component-library/home-circled-block.liquid +332 -0
  57. package/assets/data/component-library/home-contact-block-1.liquid +395 -0
  58. package/assets/data/component-library/home-contact-block-2.liquid +372 -0
  59. package/assets/data/component-library/home-content-block-1.liquid +320 -0
  60. package/assets/data/component-library/home-donut-chart.liquid +335 -0
  61. package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
  62. package/assets/data/component-library/home-faq-model.liquid +323 -0
  63. package/assets/data/component-library/home-featured-blog.liquid +1462 -0
  64. package/assets/data/component-library/home-featured-collections.liquid +484 -0
  65. package/assets/data/component-library/home-gallery-block1.liquid +276 -0
  66. package/assets/data/component-library/home-gallery-block2.liquid +396 -0
  67. package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
  68. package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
  69. package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
  70. package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
  71. package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
  72. package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
  73. package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
  74. package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
  75. package/assets/data/component-library/home-image-gallery.liquid +1087 -0
  76. package/assets/data/component-library/home-instagram.liquid +356 -0
  77. package/assets/data/component-library/home-newsletter.liquid +246 -0
  78. package/assets/data/component-library/home-number-counter.liquid +790 -0
  79. package/assets/data/component-library/home-price-table.liquid +416 -0
  80. package/assets/data/component-library/home-pricing-table.liquid +1076 -0
  81. package/assets/data/component-library/home-product-grid.liquid +413 -0
  82. package/assets/data/component-library/home-product-tab-1.liquid +528 -0
  83. package/assets/data/component-library/home-product-tab-2.liquid +342 -0
  84. package/assets/data/component-library/home-product-tab-3.liquid +357 -0
  85. package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
  86. package/assets/data/component-library/home-quotes-1.liquid +274 -0
  87. package/assets/data/component-library/home-quotes-2.liquid +239 -0
  88. package/assets/data/component-library/home-quotes-3.liquid +244 -0
  89. package/assets/data/component-library/home-quotes-4.liquid +258 -0
  90. package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
  91. package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
  92. package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
  93. package/assets/data/component-library/home-specification-block-1.liquid +468 -0
  94. package/assets/data/component-library/home-specification-block-2.liquid +291 -0
  95. package/assets/data/component-library/home-specification-block-3.liquid +429 -0
  96. package/assets/data/component-library/home-support-block.liquid +392 -0
  97. package/assets/data/component-library/home-testimonial.liquid +1348 -0
  98. package/assets/data/component-library/home-video-banner.liquid +317 -0
  99. package/assets/data/component-library/home-wide-banner.liquid +327 -0
  100. package/assets/data/component-library/icon-with-content.liquid +478 -0
  101. package/assets/data/component-library/instafeed.liquid +1 -0
  102. package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
  103. package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
  104. package/assets/data/component-library/logo-bar.liquid +314 -0
  105. package/assets/data/component-library/lookbook.liquid +367 -0
  106. package/assets/data/component-library/manual_blog.liquid +724 -0
  107. package/assets/data/component-library/navigation-etc.liquid +642 -0
  108. package/assets/data/component-library/newsletter.liquid +246 -0
  109. package/assets/data/component-library/order-form.liquid +96 -0
  110. package/assets/data/component-library/page-catev1-template.liquid +344 -0
  111. package/assets/data/component-library/popup_video.liquid +396 -0
  112. package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
  113. package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
  114. package/assets/data/component-library/product-template-2.liquid +629 -0
  115. package/assets/data/component-library/product-template-3.liquid +670 -0
  116. package/assets/data/component-library/product-template-4.liquid +627 -0
  117. package/assets/data/component-library/product-template-5.liquid +652 -0
  118. package/assets/data/component-library/product-template.liquid +698 -0
  119. package/assets/data/component-library/rich-text.liquid +541 -0
  120. package/assets/data/component-library/section-countdown-v2.liquid +215 -0
  121. package/assets/data/component-library/services.liquid +596 -0
  122. package/assets/data/component-library/shipping_info.liquid +327 -0
  123. package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
  124. package/assets/data/component-library/sidebar-category.liquid +105 -0
  125. package/assets/data/component-library/sidebar-colors.liquid +104 -0
  126. package/assets/data/component-library/single_product_feature.liquid +1892 -0
  127. package/assets/data/component-library/social-links-menu.liquid +244 -0
  128. package/assets/data/component-library/someone-purchased.liquid +190 -0
  129. package/assets/data/component-library/special-offer-area.liquid +530 -0
  130. package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
  131. package/assets/data/component-library/top-bar-type-1.liquid +200 -0
  132. package/assets/data/component-library/top-bar-type-10.liquid +395 -0
  133. package/assets/data/component-library/top-bar-type-11.liquid +395 -0
  134. package/assets/data/component-library/top-bar-type-2.liquid +106 -0
  135. package/assets/data/component-library/top-bar-type-3.liquid +205 -0
  136. package/assets/data/component-library/top-countdown-bar.liquid +116 -0
  137. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
  138. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
  139. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
  140. package/assets/data/component-library/video.liquid +511 -0
  141. package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
  142. package/assets/data/design-tokens.csv +93 -57
  143. package/assets/data/schema-library.csv +48 -46
  144. package/assets/data/settings-profiles.csv +235 -0
  145. package/assets/data/shopify-best-practices.csv +58 -36
  146. package/assets/scripts/backfill-component-index.py +102 -0
  147. package/assets/scripts/core.py +30 -8
  148. package/assets/scripts/fix-schema-library.py +42 -0
  149. package/assets/scripts/kb-analyzer-helpers.py +136 -0
  150. package/assets/scripts/kb-analyzer.py +186 -0
  151. package/assets/scripts/kb-builder.py +32 -63
  152. package/assets/scripts/kb-constants.py +62 -0
  153. package/assets/scripts/kb-extractor-helpers.py +178 -0
  154. package/assets/scripts/kb-extractor.py +106 -170
  155. package/assets/scripts/kb-synthesizer.py +251 -0
  156. package/assets/scripts/quality-gate-checks.py +55 -0
  157. package/assets/scripts/quality-gate.py +56 -2
  158. package/assets/scripts/section-generator-helpers.py +74 -0
  159. package/assets/scripts/section-generator.py +59 -49
  160. package/assets/templates/generation-prompt.md +78 -14
  161. package/package.json +1 -1
@@ -0,0 +1,1139 @@
1
+ {%- capture contentForQuerystring -%}{{ content_for_header }}{%- endcapture -%}
2
+ {%- assign pUrl = contentForQuerystring | split:'"pageurl":"' | last | split:'"' | first | split:'.myshopify.com' | last |
3
+ replace:'\/','/' |
4
+ replace:'%20',' ' |
5
+ replace:'\u0026','&'
6
+ -%}
7
+
8
+ {%- assign limit = section.settings.limit -%}
9
+ {%- assign aView = pUrl | split : "limit=" -%}
10
+ {%- if aView.size > 1 and aView[1] != blank-%}
11
+ {%- assign limit = aView[1] | plus: 0 -%}
12
+ {%- endif -%}
13
+ {%- assign limit_string = limit | append: '' %}
14
+
15
+ {%- assign layout = section.settings.layout %}
16
+ {%- assign aLayout = pUrl | split : "lo=" -%}
17
+ {%- if aLayout.size > 1 and aLayout[1] != blank-%}
18
+ {%- assign aLayout = aLayout[1] | split: "&" -%}
19
+ {%- assign layout = aLayout[0] -%}
20
+ {%- endif -%}
21
+
22
+ {%- assign actionType = '' %}
23
+ {%- assign aActionType = pUrl | split : "act=" -%}
24
+ {%- if aActionType.size > 1 and aActionType[1] != blank-%}
25
+ {%- assign aActionType = aActionType[1] | split: "&" -%}
26
+ {%- assign actionType = aActionType[0] -%}
27
+ {%- endif -%}
28
+
29
+ {% paginate collection.products by limit %}
30
+
31
+ <div class="container{%-if section.settings.collection_fullwidth-%}-fluid{%-endif-%}">
32
+ {% if section.settings.show_collection_image and collection.image != blank %}
33
+ <div class="collection-image"><img class="lazyload w-100 d-block"
34
+ data-src="{{ collection.image | img_url: "master" }}" /></div>
35
+ {% endif %}
36
+ <div class="loaded" id="section-{{ section.id }}" data-section-id="{{ section.id }}"
37
+ data-section-type="collection-template" data-collection-handle="{{ collection.handle }}">
38
+ <ul class="w-100 pt-2 pb-2 breadcrumb">
39
+ <li><a href="{{ shop.url }}">{{ 'homepage.general.title' | t }}</a></li>
40
+ <li><a href="{{ shop.url }}/collections">{{ 'collections.general.shop' | t }}</a></li>
41
+ <li>{{ collection.title }}</li>
42
+ </ul>
43
+ {% if section.settings.banner_top %}
44
+ <div class="collection-promotion-banner banner-mass">
45
+ <div class="col-12 mb-4 appear-animate" data-animation-options="{
46
+ 'name': '{% cycle "fadeInRightShorter", "fadeInLeftShorter" %}',
47
+ 'delay': '.2s'
48
+ }">
49
+ <div
50
+ class="rt-banner banner-fixed banner_2 content-{{ section.settings.banner_content_hori_align}} hover-zoom hover-gloom appear-animate">
51
+ {% if section.settings.banner_image != blank %}
52
+ <figure class="d-flex">
53
+ <img src="{{ section.settings.banner_image | img_url: 'master' }}" alt="banner" />
54
+ </figure>
55
+ {% else %}
56
+ <figure style="min-height:400px;background-color:#ccc;"></figure>
57
+ {% endif %}
58
+ <div class="banner-content {{ section.settings.banner_content_vert_align }}">
59
+ <div class="appear-animate" data-animation-options="{
60
+ 'name': 'fadeInUpShorter',
61
+ 'delay': '.2s'
62
+ }">
63
+ <h3 class="banner-title font-weight-slight-bold ls-m text-{{ section.settings.banner_color_text }} fs-5">
64
+ {{ section.settings.banner_title }}</h3>
65
+ <p class="text-{{ section.settings.banner_color_text }} fs-2p5">{{ section.settings.banner_description }}
66
+ </p>
67
+ {% if section.settings.banner_button_text != blank %}
68
+ <a href="{{ section.settings.banner_button_url | default: 'javascript:void(0);' }}"
69
+ class="btn btn-primary btn-shadow-lg btn-ellipse text-normal">{{ section.settings.banner_button_text }}</a>
70
+ {% endif %}
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ {% endif %}
77
+ <!-- filter -->
78
+ <div class="toolbox-wrap">
79
+ <aside class="sidebar sidebar-fixed border-bottom">
80
+ <form id="CollectionFiltersForm">
81
+ <div class="sidebar-overlay">
82
+ <a class="sidebar-close" href="#"><i class="close-icon"></i></a>
83
+ </div>
84
+ <div class="sidebar-content">
85
+ <div class="filter-actions pb-0 pt-4 pb-lg-4 pt-lg-0">
86
+ <div class="select-items" style="display: block;">
87
+ {%- assign has_active_value = false %}
88
+ {%- for filter in collection.filters -%}
89
+ {%- for value in filter.active_values -%}
90
+ <a class="select-item" href="{{ value.url_to_remove }}">
91
+ {{ value.label | escape }}<i class="la la-close"></i>
92
+ </a>
93
+ {%- assign has_active_value = true %}
94
+ {%- endfor -%}
95
+ {% if filter.type == "price_range" %}
96
+ {%- if filter.min_value.value != nil or filter.max_value.value != nil -%}
97
+ <a class="select-item" href="{{ filter.url_to_remove }}">
98
+ {%- if filter.min_value.value -%}{{ filter.min_value.value | money }}{%- else -%}{{ 0 | money }}{%- endif -%}-{%- if filter.max_value.value -%}{{ filter.max_value.value | money }}{%- else -%}{{ filter.range_max | money }}{%- endif -%}
99
+ <i class="la la-close"></i>
100
+ </a>
101
+ {%- assign has_active_value = true %}
102
+ {%- endif -%}
103
+ {% endif %}
104
+ {%- endfor -%}
105
+ {%- if has_active_value == true -%}
106
+ <a href="{{ collection.url }}" class="filter-clean text-primary">{{ 'collections.general.filters_clean' | t }}</a>
107
+ {%- endif -%}
108
+ </div>
109
+ </div>
110
+ <div class="row cols-lg-3">
111
+ {% for block in section.blocks %}
112
+ {% case block.type %}
113
+ {% when "cat_list" %}
114
+ <div class="widget col-lg-3 pr-lg-5" {{ block.shopify_attributes }}>
115
+ <h3 class="widget-title mb-0 pb-2">{{ block.settings.cat_list_heading }}</h3>
116
+ {% assign categories = linklists[block.settings.cat_list_linklist] %}
117
+ {% if categories != blank %}
118
+ <ul class="widget-body filter-items search-ul cat-ul{% if categories.links.size > 7 %} d-flex cols-1 cols-lg-2 flex-wrap{% endif %}">
119
+ {% for link in categories.links %}
120
+ <li class="{% if link.links.size > 0 %}with-ul{% if link.active %} show{% endif %}{% endif %}">
121
+ <a href="{{ link.url }}"
122
+ class="fs-1p7">{{ link.title | remove: '|megamenu' | remove: '| megamenu' }}</a>
123
+ {% if link.links.size > 0 and false %}
124
+ <ul {% if link.active %}style="display:block" {% endif %}>
125
+ {% for sub_link in link.links %}
126
+ <li><a href="{{ sub_link.url }}" class="fs-1p7">{{ sub_link.title }}</a></li>
127
+ {% endfor %}
128
+ </ul>
129
+ {% endif %}
130
+ </li>
131
+ {% endfor %}
132
+ </ul>
133
+ {% else %}
134
+ YOUR MENU CONTENT
135
+ {% endif %}
136
+ </div>
137
+ {% when "filters" %}
138
+ {%- assign total_active_values = 0 -%}
139
+ {%- for filter in collection.filters -%}
140
+ {%- assign total_active_values = total_active_values | plus: filter.active_values.size -%}
141
+ {%- assign has_swatches = false %}
142
+ {% case filter.type %}
143
+ {% when 'list' %}
144
+ {%- if block.settings.swatch_color -%}
145
+ {%- assign _filter_label_handle = filter.label | handle | downcase -%}
146
+ {%- if _filter_label_handle == 'color' or _filter_label_handle == 'colour' -%}
147
+ {%- assign has_swatches = true %}
148
+ {%- endif -%}
149
+ {%- endif -%}
150
+ <div class="widget col-lg-3 pr-lg-5" {{ block.shopify_attributes }}>
151
+ <h3 class="widget-title mb-0 pb-2">{{ filter.label | escape }}</h3>
152
+ <ul
153
+ class="widget-body pt-2 widget-tags-filter filter-items{% if has_swatches == true %} filter-swatch{% endif %}">
154
+ {%- for value in filter.values -%}
155
+ <li {% if value.active %}class="active"{% endif %}>
156
+ <a data-filter-choice data-value="{{ value.value }}" data-name="{{ value.param_name }}"
157
+ href="javascript:void(0);"
158
+ {% if has_swatches == true %}
159
+ class="filter-color"
160
+ style="background-color:{{ value.label | escape }};background-image: url({{ value.label | escape | append : '.png' | asset_url }})"
161
+ {% endif %}>
162
+ <label for="Filter-{{ filter.label | escape }}-{{ forloop.index }}"{% if value.count == 0 and value.active == false %} style="text-decoration: line-through;"{% endif %}>
163
+ {{ value.label | escape }}
164
+ </label>
165
+ <input type="checkbox"
166
+ name="{{ value.param_name }}"
167
+ value="{{ value.value }}"
168
+ id="Filter-{{ filter.label | escape }}-{{ forloop.index }}"
169
+ {% if value.active %}checked{% endif %}
170
+ {% if value.count == 0 and value.active == false %}disabled{% endif %}
171
+ >
172
+ <span>({{ value.count }})</span>
173
+ </a>
174
+ </li>
175
+ {% endfor %}
176
+ </ul>
177
+ </div>
178
+
179
+ {% when 'price_range' %}
180
+ {% liquid
181
+ assign currencies_using_comma_decimals = 'ANG,ARS,BRL,BYN,BYR,CLF,CLP,COP,CRC,CZK,DKK,EUR,HRK,HUF,IDR,ISK,MZN,NOK,PLN,RON,RUB,SEK,TRY,UYU,VES,VND' | split: ','
182
+ assign uses_comma_decimals = false
183
+ if currencies_using_comma_decimals contains cart.currency.iso_code
184
+ assign uses_comma_decimals = true
185
+ endif
186
+ %}
187
+ <div class="widget col-lg-3 pr-lg-5" {{ block.shopify_attributes }}>
188
+ <h3 class="widget-title mb-0 pb-2">{{ filter.label | escape }}</h3>
189
+ <div class="widget-body pt-2">
190
+ <div class="filter-price-slider" data-rangemin="0" data-rangemax="{%- if uses_comma_decimals -%}
191
+ {{ filter.range_max | money_without_currency | replace: '.', '' | replace: ',', '.' | floor }}
192
+ {%- else -%}
193
+ {{ filter.range_max | money_without_currency | replace: ',', '' | floor }}
194
+ {%- endif -%}"
195
+ data-currmin="
196
+ {%- if filter.min_value.value -%}
197
+ {%- if uses_comma_decimals -%}
198
+ {{- filter.min_value.value | money_without_currency | replace: '.', '' | replace: ',', '.' | floor -}}
199
+ {%- else -%}
200
+ {{- filter.min_value.value | money_without_currency | replace: ',', '' | floor -}}
201
+ {%- endif -%}
202
+ {%- else -%}0
203
+ {%- endif -%}"
204
+ data-currmax="
205
+ {%- if filter.max_value.value -%}
206
+ {%- if uses_comma_decimals -%}
207
+ {{- filter.max_value.value | money_without_currency | replace: '.', '' | replace: ',', '.' | floor -}}
208
+ {%- else -%}
209
+ {{- filter.max_value.value | money_without_currency | replace: ',', '' | floor -}}
210
+ {%- endif -%}
211
+ {%- else -%}
212
+ {%- if uses_comma_decimals -%}
213
+ {{ filter.range_max | money_without_currency | replace: '.', '' | replace: ',', '.' | floor }}
214
+ {%- else -%}
215
+ {{ filter.range_max | money_without_currency | replace: ',', '' | floor }}
216
+ {%- endif -%}
217
+ {%- endif -%}">
218
+ </div>
219
+ <div class="filter-actions">
220
+ <button type="button" class="btn btn-sm btn-outline btn-dark btn-rounded price-filter-action fs-1p4 pt-1 pb-1">{{ 'collections.general.filter_price' | t }}</button>
221
+ <div class="filter-price-text">
222
+ <span class="filter-price-range"></span>
223
+ </div>
224
+ </div>
225
+ <input type="hidden" class="filter-price--min"
226
+ name="{{ filter.min_value.param_name }}"
227
+ {%- if filter.min_value.value -%}
228
+ {%- if uses_comma_decimals -%}
229
+ value="{{ filter.min_value.value | money_without_currency | replace: '.', '' | replace: ',', '.' | floor }}"
230
+ {%- else -%}
231
+ value="{{ filter.min_value.value | money_without_currency | replace: ',', '' | floor }}"
232
+ {% endif %}
233
+ {%- endif -%}>
234
+ </input>
235
+ <input type="hidden" class="filter-price--max"
236
+ name="{{ filter.max_value.param_name }}"
237
+ {%- if filter.max_value.value -%}
238
+ {%- if uses_comma_decimals -%}
239
+ value="{{ filter.max_value.value | money_without_currency | replace: '.', '' | replace: ',', '.' | floor }}"
240
+ {%- else -%}
241
+ value="{{ filter.max_value.value | money_without_currency | replace: ',', '' | floor }}"
242
+ {% endif %}
243
+ {%- endif -%}>
244
+ </input>
245
+ </div>
246
+ </div>
247
+ {% endcase %}
248
+ {%- endfor -%}
249
+ {%- endcase -%}
250
+ {% endfor %}
251
+ </div>
252
+ </div>
253
+ </form>
254
+ </aside>
255
+ </div>
256
+ <!-- featured products-->
257
+ {% if section.settings.featured_collection_used %}
258
+ <section class="mt-8 mb-0 mt-lg-8 pb-3 pb-lg-8 content-center">
259
+ <h2 class="title">{{- section.settings.featured_collection_heading -}}</h2>
260
+ {% assign _collection = collections[section.settings.featured_collection] %}
261
+ <div class="owl-carousel owl-theme row cols-2 cols-md-3 cols-lg-4" data-owl-options="{
262
+ 'items': 4,
263
+ 'nav': false,
264
+ 'loop': false,
265
+ 'dots': true,
266
+ 'margin': 20,
267
+ 'responsive': {
268
+ '0': {
269
+ 'items': 2
270
+ },
271
+ '768': {
272
+ 'items': 3
273
+ },
274
+ '992': {
275
+ 'items': {{ section.settings.featured_collection_items_visible}},
276
+ 'dots': false,
277
+ 'nav': true
278
+ }
279
+ }
280
+ }">
281
+ {% if _collection != blank %}
282
+ {% assign sign_id = section.id | append :"-feature" %}
283
+ {% for _product in _collection.products limit:block.settings.featured_collection_items_limit %}
284
+ {% render 'product-item', product:_product, style:'default', sign: sign_id %}
285
+ {% endfor %}
286
+ {% else %}
287
+ {% for i in (1..4) %}
288
+ {% render 'product-item-dummy' %}
289
+ {% endfor %}
290
+ {% endif %}
291
+ </div>
292
+ </section>
293
+ {% endif %}
294
+ <!-- two banners-->
295
+ {% if section.settings.two_banners %}
296
+ <div class="collection-promotion-banner banner-mass mb-4">
297
+ <div class="container pl-0 pr-0">
298
+ <div class="row">
299
+ <div class="col-lg-6 mb-4 appear-animate" data-animation-options="{
300
+ 'name': 'fadeInRightShorter',
301
+ 'delay': '.2s'
302
+ }">
303
+ <div
304
+ class="rt-banner banner-fixed banner_2 content-{{ section.settings.banner_content_hori_align_1}} hover-zoom hover-gloom appear-animate">
305
+ {% if section.settings.banner_image_1 != blank %}
306
+ <figure class="d-flex">
307
+ <img src="{{ section.settings.banner_image_1 | img_url: 'master' }}" alt="banner" />
308
+ </figure>
309
+ {% else %}
310
+ <figure style="min-height:400px;background-color:#ccc;"></figure>
311
+ {% endif %}
312
+ <div class="banner-content {{ section.settings.banner_content_vert_align_1 }}">
313
+ <div class="appear-animate" data-animation-options="{
314
+ 'name': 'fadeInUpShorter',
315
+ 'delay': '.2s'
316
+ }">
317
+ <p class="text-{{ section.settings.color_text_1 }} fs-2p2">{{ section.settings.banner_description_1 }}
318
+ </p>
319
+ <h3
320
+ class="banner-title font-weight-slight-bold ls-m text-{{ section.settings.banner_color_text_1 }} fs-4 mb-4">
321
+ {{ section.settings.banner_title_1 }}</h3>
322
+ {% if section.settings.banner_button_text_1 != blank %}
323
+ <a href="{{ section.settings.banner_button_url_1 | default: 'javascript:void(0);' }}"
324
+ class="btn btn-primary btn-shadow-lg btn-ellipse text-normal">{{ section.settings.banner_button_text_1 }}</a>
325
+ {% endif %}
326
+ </div>
327
+ </div>
328
+ </div>
329
+ </div>
330
+ <div class="col-lg-6 mb-4 appear-animate" data-animation-options="{
331
+ 'name': 'fadeInLeftShorter',
332
+ 'delay': '.2s'
333
+ }">
334
+ <div
335
+ class="rt-banner banner-fixed banner_2 content-{{ section.settings.banner_content_hori_align_2}} hover-zoom hover-gloom appear-animate">
336
+ {% if section.settings.banner_image_2 != blank %}
337
+ <figure class="d-flex">
338
+ <img src="{{ section.settings.banner_image_2 | img_url: 'master' }}" alt="banner" />
339
+ </figure>
340
+ {% else %}
341
+ <figure style="min-height:400px;background-color:#ccc;"></figure>
342
+ {% endif %}
343
+ <div class="banner-content {{ section.settings.banner_content_vert_align_2 }}">
344
+ <div class="appear-animate" data-animation-options="{
345
+ 'name': 'fadeInUpShorter',
346
+ 'delay': '.2s'
347
+ }">
348
+ <p class="text-{{ section.settings.color_text_2 }} fs-2p2">{{ section.settings.banner_description_2 }}
349
+ </p>
350
+ <h3
351
+ class="banner-title font-weight-slight-bold ls-m text-{{ section.settings.banner_color_text_2 }} fs-4 mb-4">
352
+ {{ section.settings.banner_title_2 }}</h3>
353
+ {% if section.settings.banner_button_text_2 != blank %}
354
+ <a href="{{ section.settings.banner_button_url_2 | default: 'javascript:void(0);' }}"
355
+ class="btn btn-primary btn-shadow-lg btn-ellipse text-normal">{{ section.settings.banner_button_text_2 }}</a>
356
+ {% endif %}
357
+ </div>
358
+ </div>
359
+ </div>
360
+ </div>
361
+ </div>
362
+ </div>
363
+ </div>
364
+ {% endif %}
365
+ <!-- sale products banners-->
366
+ {% if section.settings.sale_collection_used != blank %}
367
+ <section class="mt-8 mb-0 mt-lg-8 pb-3 pb-lg-8 content-center row justify-content-center">
368
+ <h2 class="title">{{- section.settings.sale_collection_heading -}}</h2>
369
+
370
+ {% assign _collection = collections[section.settings.sale_collection] %}
371
+ <div class="owl-carousel owl-theme row cols-2 cols-md-3 cols-lg-4 col-md-6 offset-md-3
372
+ " data-owl-options="{
373
+ 'items': 4,
374
+ 'nav': false,
375
+ 'loop': false,
376
+ 'dots': true,
377
+ 'margin': 20,
378
+ 'responsive': {
379
+ '0': {
380
+ 'items': 2
381
+ },
382
+ '768': {
383
+ 'items': 3
384
+ },
385
+ '992': {
386
+ 'items': {{ section.settings.sale_collection_items_visible}},
387
+ 'dots': false,
388
+ 'nav': true
389
+ }
390
+ }
391
+ }">
392
+ {% if _collection != blank %}
393
+ {% assign sign_id = section.id | append :"-sale" %}
394
+ {% for _product in _collection.products limit:block.settings.sale_collection_items_limit %}
395
+ {% render 'product-item', product:_product, style:'default', sign: sign_id %}
396
+ {% endfor %}
397
+ {% else %}
398
+ {% for i in (1..3) %}
399
+ {% render 'product-item-dummy' %}
400
+ {% endfor %}
401
+ {% endif %}
402
+ </div>
403
+ </section>
404
+ {% endif %}
405
+
406
+ <div class="row main-content-wrap gutter-lg">
407
+ <div class="col-lg-12 main-content">
408
+ <nav class="toolbox border-top">
409
+ <div class="toolbox-left">
410
+ <a href="#" class="left-sidebar-toggle btn btn-sm fs-1p4 btn-outline btn-dark btn-icon-left d-lg-none"><i
411
+ class="fas fa-align-left"></i>{{ 'collections.general.filters' | t }}</a>
412
+ <h1 class="font-weight-slight-bold hide">{{ collection.title }}</h1>
413
+ <div class="toolbox-item toolbox-layout">
414
+ <a href="javascript:void(0);" data-layout data-value="list"
415
+ class="btn-layout{% if layout == 'list' %} active{% endif %}">
416
+ <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
417
+ <path d="M0 0H15V3H0V0Z" />
418
+ <path d="M0 6H15V9H0V6Z" />
419
+ <path d="M0 12H15V15H0V12Z" />
420
+ </svg>
421
+ </a>
422
+ <a href="javascript:void(0);" data-layout data-value="grid-2"
423
+ class="btn-layout{% if layout == 'grid-2' %} active{% endif %}">
424
+ <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
425
+ <path d="M0 0H6V6H0V0Z" />
426
+ <path d="M0 9H6V15H0V9Z" />
427
+ <path d="M9 0H15V6H9V0Z" />
428
+ <path d="M9 9H15V15H9V9Z" />
429
+ </svg>
430
+ </a>
431
+ <a href="javascript:void(0);" data-layout data-value="grid-3"
432
+ class="btn-layout{% if layout == 'grid-3' %} active{% endif %}">
433
+ <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
434
+ <path d="M0 0H3V3H0V0Z" />
435
+ <path d="M0 6H3V9H0V6Z" />
436
+ <path d="M0 12H3V15H0V12Z" />
437
+ <path d="M6 0H9V3H6V0Z" />
438
+ <path d="M6 6H9V9H6V6Z" />
439
+ <path d="M6 12H9V15H6V12Z" />
440
+ <path d="M12 0H15V3H12V0Z" />
441
+ <path d="M12 6H15V9H12V6Z" />
442
+ <path d="M12 12H15V15H12V12Z" />
443
+ </svg>
444
+ </a>
445
+ <a href="javascript:void(0);" data-layout data-value="grid-4"
446
+ class="btn-layout{% if layout == 'grid-4' %} active{% endif %}">
447
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
448
+ <path d="M0 0H2V2H0V0Z" />
449
+ <path d="M0 4H2V6H0V4Z" />
450
+ <path d="M0 8H2V10H0V8Z" />
451
+ <path d="M0 12H2V14H0V12Z" />
452
+ <path d="M4 0H6V2H4V0Z" />
453
+ <path d="M4 4H6V6H4V4Z" />
454
+ <path d="M4 8H6V10H4V8Z" />
455
+ <path d="M4 12H6V14H4V12Z" />
456
+ <path d="M8 0H10V2H8V0Z" />
457
+ <path d="M8 4H10V6H8V4Z" />
458
+ <path d="M8 8H10V10H8V8Z" />
459
+ <path d="M8 12H10V14H8V12Z" />
460
+ <path d="M12 0H14V2H12V0Z" />
461
+ <path d="M12 4H14V6H12V4Z" />
462
+ <path d="M12 8H14V10H12V8Z" />
463
+ <path d="M12 12H14V14H12V12Z" />
464
+ </svg>
465
+ </a>
466
+ </div>
467
+ </div>
468
+ <div class="toolbox-right">
469
+ {% if section.settings.sort_enable %}
470
+ {%- assign sort_by = collection.sort_by | default: collection.default_sort_by -%}
471
+ <div class="toolbox-item toolbox-sort select-box">
472
+ <label>{{ 'collections.sorting.title' | t }}</label>
473
+ <select name="orderby" class="form-control" id="SortBy"
474
+ data-default-sortby="{{ collection.default_sort_by }}">
475
+ {%- for option in collection.sort_options -%}
476
+ <option value="{{ option.value }}" {% if option.value == sort_by %}selected="selected" {% endif %}>
477
+ {{ option.name }}</option>
478
+ {%- endfor -%}
479
+ </select>
480
+ </div>
481
+ {% endif %}
482
+ <div class="toolbox-item toolbox-show select-box">
483
+ <label>{{ 'collections.general.show' | t }}</label>
484
+ {% assign limits = '6,8,9,10,12,14,15,16,20,24' | split: ',' %}
485
+ <select name="count" class="form-control" id="limit" data-default-limit="{{ section.settings.limit }}">
486
+ {% for _current_limit in limits %}
487
+ <option value="{{ _current_limit }}" {% if _current_limit == limit_string %} selected{% endif %}>
488
+ {{ _current_limit }}</option>
489
+ {% endfor %}
490
+ </select>
491
+ </div>
492
+ </div>
493
+ </nav>
494
+ {% if layout == 'list' %}
495
+ <div
496
+ class="product-lists product-wrapper{% if section.settings.pagination == 'infinite-scroll' %} scroll-load{% endif %}"
497
+ data-next-url="{% if paginate.pages > 1 and paginate.next.is_link %} {{ paginate.next.url }}&act=ajax&lo={{ layout }}{% endif %}">
498
+ {% for product in collection.products %}
499
+ {% include 'product-item', product:product, product_type:'list', sign: section.id %}
500
+ {% else %}
501
+ {%- assign is_empty_collection = true -%}
502
+ {% endfor %}
503
+ </div>
504
+ {% else %}
505
+ <div
506
+ class="row cols-2 cols-sm-{{ layout | replace: 'grid-', '' }} product-wrapper{% if section.settings.pagination == 'infinite-scroll' %} scroll-load{% endif %}"
507
+ data-next-url="{% if paginate.pages > 1 and paginate.next.is_link %} {{ paginate.next.url }}&act=ajax&lo={{ layout }}{% endif %}">
508
+ {% for product in collection.products %}
509
+ <div class="product-wrap{% if actionType == 'ajax' %} fade{% endif %}">
510
+ {% include 'product-item', product:product, sign: section.id %}
511
+ </div>
512
+ {% else %}
513
+ {%- assign is_empty_collection = true -%}
514
+ {% endfor %}
515
+ </div>
516
+ {% endif %}
517
+ {% if is_empty_collection %}
518
+ <p class="text-center">{{ 'collections.general.no_matches' | t }}</p>
519
+ {% endif %}
520
+ {%- if paginate.pages > 1 and section.settings.pagination != "infinite-scroll" -%}
521
+ {% include 'pagination', paginate: paginate, layout_type: layout %}
522
+ {%- endif -%}
523
+ </div>
524
+ </div>
525
+ </div>
526
+ </div>
527
+
528
+ {% endpaginate %}
529
+
530
+ <style>
531
+ [data-section-type="collection-template"]:not(.loaded) {
532
+ pointer-events: none;
533
+ }
534
+
535
+ [data-section-type="collection-template"]:not(.loaded) .product-wrapper .product>* {
536
+ opacity: 0;
537
+ }
538
+
539
+ [data-section-type="collection-template"]:not(.loaded) .product-wrapper .product-visual {
540
+ position: relative;
541
+ overflow: hidden;
542
+ background: #ebeef0;
543
+ opacity: 1;
544
+ }
545
+
546
+ [data-section-type="collection-template"]:not(.loaded) .product-wrapper .product-visual>* {
547
+ opacity: 0;
548
+ }
549
+
550
+ [data-section-type="collection-template"]:not(.loaded) .product-wrapper .product-visual::after {
551
+ content: '';
552
+ display: block;
553
+ position: absolute;
554
+ left: -150px;
555
+ top: 0;
556
+ height: 100%;
557
+ width: 150px;
558
+ background: linear-gradient(to right, transparent 0%, #E8E8E8 50%, transparent 100%);
559
+ animation: placeholder_load 0.7s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
560
+ }
561
+
562
+ @keyframes placeholder_load {
563
+ from {
564
+ left: -150px;
565
+ }
566
+
567
+ to {
568
+ left: 100%;
569
+ }
570
+ }
571
+ </style>
572
+
573
+ {% schema %}
574
+ {
575
+ "name": "Collection pages",
576
+ "settings": [
577
+ {
578
+ "type": "header",
579
+ "content": "General"
580
+ },
581
+ {
582
+ "type": "checkbox",
583
+ "id": "collection_fullwidth",
584
+ "label": "Full Width",
585
+ "default": false
586
+ },
587
+ {
588
+ "type": "select",
589
+ "id": "layout",
590
+ "label": "Layout",
591
+ "options": [
592
+ {
593
+ "value": "grid-4",
594
+ "label": "Grid 4 columns"
595
+ },
596
+ {
597
+ "value": "grid-3",
598
+ "label": "Grid 3 columns"
599
+ },
600
+ {
601
+ "value": "grid-2",
602
+ "label": "Grid"
603
+ },
604
+ {
605
+ "value": "list",
606
+ "label": "List"
607
+ }
608
+ ],
609
+ "default": "grid-2"
610
+ },
611
+ {
612
+ "type": "select",
613
+ "id": "limit",
614
+ "label": "Products per page",
615
+ "options": [
616
+ {
617
+ "value": "6",
618
+ "label": "6"
619
+ },
620
+ {
621
+ "value": "8",
622
+ "label": "8"
623
+ },
624
+ {
625
+ "value": "9",
626
+ "label": "9"
627
+ },
628
+ {
629
+ "value": "10",
630
+ "label": "10"
631
+ },
632
+ {
633
+ "value": "12",
634
+ "label": "12"
635
+ },
636
+ {
637
+ "value": "14",
638
+ "label": "14"
639
+ },
640
+ {
641
+ "value": "15",
642
+ "label": "15"
643
+ },
644
+ {
645
+ "value": "16",
646
+ "label": "16"
647
+ },
648
+ {
649
+ "value": "20",
650
+ "label": "20"
651
+ },
652
+ {
653
+ "value": "24",
654
+ "label": "24"
655
+ }
656
+ ],
657
+ "default": "12"
658
+ },
659
+ {
660
+ "type": "select",
661
+ "id": "pagination",
662
+ "label": "Pagination",
663
+ "options": [
664
+ {
665
+ "value": "",
666
+ "label": "Classic (buttons)"
667
+ },
668
+ {
669
+ "value": "infinite-scroll",
670
+ "label": "Infinite scroll"
671
+ }
672
+ ]
673
+ },
674
+ {
675
+ "type": "checkbox",
676
+ "id": "show_collection_image",
677
+ "label": "Show collection image",
678
+ "default": true
679
+ },
680
+ {
681
+ "type": "header",
682
+ "content": "- Top Banner"
683
+ },
684
+ {
685
+ "type": "checkbox",
686
+ "id": "banner_top",
687
+ "label": "Enabled",
688
+ "default": true
689
+ },
690
+ {
691
+ "type": "image_picker",
692
+ "id": "banner_image",
693
+ "label": "Background image"
694
+ },
695
+ {
696
+ "type": "textarea",
697
+ "id": "banner_title",
698
+ "label": "Title",
699
+ "default": "Banner title"
700
+ },
701
+ {
702
+ "type": "textarea",
703
+ "id": "banner_description",
704
+ "label": "Description"
705
+ },
706
+ {
707
+ "type": "text",
708
+ "id": "banner_button_text",
709
+ "label": "Button text",
710
+ "default": "Shop now"
711
+ },
712
+ {
713
+ "type": "url",
714
+ "id": "banner_button_url",
715
+ "label": "Button URL"
716
+ },
717
+ {
718
+ "type": "header",
719
+ "content": "Layout"
720
+ },
721
+ {
722
+ "type": "select",
723
+ "id": "banner_content_hori_align",
724
+ "label": "Content alignment",
725
+ "options": [
726
+ {
727
+ "value": "left",
728
+ "label": "Left"
729
+ },
730
+ {
731
+ "value": "center",
732
+ "label": "Center"
733
+ },
734
+ {
735
+ "value": "right",
736
+ "label": "Right"
737
+ }
738
+ ],
739
+ "default": "left"
740
+ },
741
+ {
742
+ "type": "select",
743
+ "id": "banner_content_vert_align",
744
+ "label": "Content vertical align",
745
+ "options": [
746
+ {
747
+ "value": "y-top pt-9",
748
+ "label": "Top"
749
+ },
750
+ {
751
+ "value": "y-50",
752
+ "label": "Middle"
753
+ },
754
+ {
755
+ "value": "y-bottom pb-9",
756
+ "label": "Bottom"
757
+ }
758
+ ],
759
+ "default": "y-50"
760
+ },
761
+ {
762
+ "type": "header",
763
+ "content": "Color"
764
+ },
765
+ {
766
+ "type": "select",
767
+ "id": "banner_color_text",
768
+ "label": "Text color",
769
+ "options": [
770
+ {
771
+ "value": "white",
772
+ "label": "White",
773
+ "group": "Basic"
774
+ },
775
+ {
776
+ "value": "black",
777
+ "label": "Black",
778
+ "group": "Basic"
779
+ },
780
+ {
781
+ "value": "primary",
782
+ "label": "Primary",
783
+ "group": "From settings"
784
+ },
785
+ {
786
+ "value": "dark",
787
+ "label": "Dark",
788
+ "group": "From settings"
789
+ }
790
+ ],
791
+ "default": "white"
792
+ },
793
+ {
794
+ "type": "header",
795
+ "content": "- Featured Collection"
796
+ },
797
+ {
798
+ "type": "checkbox",
799
+ "id": "featured_collection_used",
800
+ "label": "Enabled",
801
+ "default": true
802
+ },
803
+ {
804
+ "type": "text",
805
+ "id": "featured_collection_heading",
806
+ "label": "Heading",
807
+ "default": "Featured collection"
808
+ },
809
+ {
810
+ "type": "collection",
811
+ "id": "featured_collection",
812
+ "label": "Choose a collection"
813
+ },
814
+ {
815
+ "type": "range",
816
+ "id": "featured_collection_items_visible",
817
+ "label": "Visible items",
818
+ "min": 1,
819
+ "step": 1,
820
+ "max": 12,
821
+ "default": 4
822
+ },
823
+ {
824
+ "type": "range",
825
+ "id": "featured_collection_items_limit",
826
+ "label": "Limit",
827
+ "min": 1,
828
+ "step": 1,
829
+ "max": 12,
830
+ "default": 4
831
+ },
832
+ {
833
+ "type": "header",
834
+ "content": "- Two Banner"
835
+ },
836
+ {
837
+ "type": "checkbox",
838
+ "id": "two_banners",
839
+ "label": "Enabled",
840
+ "default": true
841
+ },
842
+ {
843
+ "type": "header",
844
+ "content": "- Banner #1"
845
+ },
846
+ {
847
+ "type": "image_picker",
848
+ "id": "banner_image_1",
849
+ "label": "Background image"
850
+ },
851
+ {
852
+ "type": "textarea",
853
+ "id": "banner_title_1",
854
+ "label": "Title",
855
+ "default": "Banner title"
856
+ },
857
+ {
858
+ "type": "textarea",
859
+ "id": "banner_description_1",
860
+ "label": "Description"
861
+ },
862
+ {
863
+ "type": "text",
864
+ "id": "banner_button_text_1",
865
+ "label": "Button text",
866
+ "default": "Shop now"
867
+ },
868
+ {
869
+ "type": "url",
870
+ "id": "banner_button_url_1",
871
+ "label": "Button URL"
872
+ },
873
+ {
874
+ "type": "header",
875
+ "content": "Layout"
876
+ },
877
+ {
878
+ "type": "select",
879
+ "id": "banner_content_hori_align_1",
880
+ "label": "Content alignment",
881
+ "options": [
882
+ {
883
+ "value": "left",
884
+ "label": "Left"
885
+ },
886
+ {
887
+ "value": "center",
888
+ "label": "Center"
889
+ },
890
+ {
891
+ "value": "right",
892
+ "label": "Right"
893
+ }
894
+ ],
895
+ "default": "left"
896
+ },
897
+ {
898
+ "type": "select",
899
+ "id": "banner_content_vert_align_1",
900
+ "label": "Content vertical align",
901
+ "options": [
902
+ {
903
+ "value": "y-top pt-9",
904
+ "label": "Top"
905
+ },
906
+ {
907
+ "value": "y-50",
908
+ "label": "Middle"
909
+ },
910
+ {
911
+ "value": "y-bottom pb-9",
912
+ "label": "Bottom"
913
+ }
914
+ ],
915
+ "default": "y-50"
916
+ },
917
+ {
918
+ "type": "header",
919
+ "content": "Color"
920
+ },
921
+ {
922
+ "type": "select",
923
+ "id": "banner_color_text_1",
924
+ "label": "Text color",
925
+ "options": [
926
+ {
927
+ "value": "white",
928
+ "label": "White",
929
+ "group": "Basic"
930
+ },
931
+ {
932
+ "value": "black",
933
+ "label": "Black",
934
+ "group": "Basic"
935
+ },
936
+ {
937
+ "value": "primary",
938
+ "label": "Primary",
939
+ "group": "From settings"
940
+ },
941
+ {
942
+ "value": "dark",
943
+ "label": "Dark",
944
+ "group": "From settings"
945
+ }
946
+ ],
947
+ "default": "white"
948
+ },
949
+ {
950
+ "type": "header",
951
+ "content": "- Banner #2"
952
+ },
953
+ {
954
+ "type": "image_picker",
955
+ "id": "banner_image_2",
956
+ "label": "Background image"
957
+ },
958
+ {
959
+ "type": "textarea",
960
+ "id": "banner_title_2",
961
+ "label": "Title",
962
+ "default": "Banner title"
963
+ },
964
+ {
965
+ "type": "textarea",
966
+ "id": "banner_description_2",
967
+ "label": "Description"
968
+ },
969
+ {
970
+ "type": "text",
971
+ "id": "banner_button_text_2",
972
+ "label": "Button text",
973
+ "default": "Shop now"
974
+ },
975
+ {
976
+ "type": "url",
977
+ "id": "banner_button_url_2",
978
+ "label": "Button URL"
979
+ },
980
+ {
981
+ "type": "header",
982
+ "content": "Layout"
983
+ },
984
+ {
985
+ "type": "select",
986
+ "id": "banner_content_hori_align_2",
987
+ "label": "Content alignment",
988
+ "options": [
989
+ {
990
+ "value": "left",
991
+ "label": "Left"
992
+ },
993
+ {
994
+ "value": "center",
995
+ "label": "Center"
996
+ },
997
+ {
998
+ "value": "right",
999
+ "label": "Right"
1000
+ }
1001
+ ],
1002
+ "default": "left"
1003
+ },
1004
+ {
1005
+ "type": "select",
1006
+ "id": "banner_content_vert_align_2",
1007
+ "label": "Content vertical align",
1008
+ "options": [
1009
+ {
1010
+ "value": "y-top pt-9",
1011
+ "label": "Top"
1012
+ },
1013
+ {
1014
+ "value": "y-50",
1015
+ "label": "Middle"
1016
+ },
1017
+ {
1018
+ "value": "y-bottom pb-9",
1019
+ "label": "Bottom"
1020
+ }
1021
+ ],
1022
+ "default": "y-50"
1023
+ },
1024
+ {
1025
+ "type": "header",
1026
+ "content": "Color"
1027
+ },
1028
+ {
1029
+ "type": "select",
1030
+ "id": "banner_color_text_2",
1031
+ "label": "Text color",
1032
+ "options": [
1033
+ {
1034
+ "value": "white",
1035
+ "label": "White",
1036
+ "group": "Basic"
1037
+ },
1038
+ {
1039
+ "value": "black",
1040
+ "label": "Black",
1041
+ "group": "Basic"
1042
+ },
1043
+ {
1044
+ "value": "primary",
1045
+ "label": "Primary",
1046
+ "group": "From settings"
1047
+ },
1048
+ {
1049
+ "value": "dark",
1050
+ "label": "Dark",
1051
+ "group": "From settings"
1052
+ }
1053
+ ],
1054
+ "default": "white"
1055
+ },
1056
+ {
1057
+ "type": "header",
1058
+ "content": "- Sale Collection"
1059
+ },
1060
+ {
1061
+ "type": "checkbox",
1062
+ "id": "sale_collection_used",
1063
+ "label": "Enabled",
1064
+ "default": true
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "id": "sale_collection_heading",
1069
+ "label": "Heading",
1070
+ "default": "Sale collection"
1071
+ },
1072
+ {
1073
+ "type": "collection",
1074
+ "id": "sale_collection",
1075
+ "label": "Choose a collection"
1076
+ },
1077
+ {
1078
+ "type": "range",
1079
+ "id": "sale_collection_items_visible",
1080
+ "label": "Visible items",
1081
+ "min": 1,
1082
+ "step": 1,
1083
+ "max": 12,
1084
+ "default": 3
1085
+ },
1086
+ {
1087
+ "type": "range",
1088
+ "id": "sale_collection_items_limit",
1089
+ "label": "Limit",
1090
+ "min": 1,
1091
+ "step": 1,
1092
+ "max": 12,
1093
+ "default": 3
1094
+ },
1095
+ {
1096
+ "type": "header",
1097
+ "content": "- Main collection"
1098
+ },
1099
+ {
1100
+ "type": "checkbox",
1101
+ "id": "sort_enable",
1102
+ "label": "Enable sorting",
1103
+ "default": true
1104
+ }
1105
+ ],
1106
+ "blocks": [
1107
+ {
1108
+ "type": "filters",
1109
+ "name": "Filters",
1110
+ "limit": 1,
1111
+ "settings": [
1112
+ {
1113
+ "type": "checkbox",
1114
+ "id": "swatch_color",
1115
+ "label": "Show swatch color"
1116
+ }
1117
+ ]
1118
+ },
1119
+ {
1120
+ "type": "cat_list",
1121
+ "name": "Categories list",
1122
+ "limit": 1,
1123
+ "settings": [
1124
+ {
1125
+ "type": "text",
1126
+ "id": "cat_list_heading",
1127
+ "label": "Heading",
1128
+ "default": "All Categories"
1129
+ },
1130
+ {
1131
+ "type": "link_list",
1132
+ "id": "cat_list_linklist",
1133
+ "label": "Choose a menu"
1134
+ }
1135
+ ]
1136
+ }
1137
+ ]
1138
+ }
1139
+ {% endschema %}