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,327 @@
1
+
2
+ <style>
3
+
4
+ #bottom_blocks .bottom-block {
5
+ border-radius: 5px;
6
+ float: left;
7
+ margin-bottom: 10px;
8
+ padding: 15px 10px;
9
+ width: 100%;
10
+ margin-top: 20px;
11
+ }
12
+ #bottom_blocks .mar_bottom { margin-bottom:10px;}
13
+
14
+ .block-logo .fa {
15
+ font-size:{{ section.settings.badges_size }};
16
+ color:{{ settings.badges_color }};
17
+ }
18
+ .block-logo {
19
+ margin-top: 6px;
20
+ text-align: center;
21
+ }
22
+ .flex-item {
23
+ -webkit-flex: auto;
24
+ -moz-flex: auto;
25
+ -ms-flex: auto;
26
+ flex: auto;
27
+ }
28
+ @media only screen and (max-width: 749px) {
29
+ .block-logo {
30
+ margin-top: 0px;
31
+ margin-bottom: 10px;
32
+ }
33
+ .block-content {
34
+ text-align: center;
35
+ }
36
+
37
+ }
38
+ @media only screen and (min-width: 750px) and (max-width: 979px){
39
+ .block-logo .fa {font-size:30px;}
40
+ }
41
+ </style>
42
+ <div class="shipping_info_page">
43
+ <div class="page-width">
44
+
45
+ <div id="bottom_blocks" class="grid grid--uniform grid--no-gutters">
46
+ {% for block in section.blocks %}
47
+ {% if block.settings.shipping_icon != blank %}
48
+ <div class=" grid__item mar_bottom{% if section.blocks.size == 3 %} medium-up--one-third small--one-half{% else %} medium-up--one-quarter small--one-half{% endif %}" {{ block.shopify_attributes }}>
49
+ <div data-delay="300" data-animate="fadeInLeft " class="bottom-block fadeInLeft animated" >
50
+ <div class="grid__item medium-up--one-quarter block-logo">
51
+ <i class="fa {{ block.settings.shipping_icon }}"></i>
52
+ </div>
53
+
54
+ <div class="grid__item medium-up--three-quarters block-content">
55
+ <div class="info_title">{{ block.settings.badges_title }}</div>
56
+ <p>{{ block.settings.badges_text | slice :0,70}}</p>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ {% endif %}
61
+ {% endfor %}
62
+ </div>
63
+ </div>
64
+
65
+ </div>
66
+
67
+
68
+
69
+
70
+ {% schema %}
71
+ {
72
+ "name": "Info Badges",
73
+ "settings": [
74
+ {
75
+ "type": "header",
76
+ "content": "Info Badges [NEED HELP?](https:\/\/help.boostertheme.com\/hc\/en-us\/articles\/360002079013-How-to-setup-Info-Badge-section-in-Booster-2-0)"
77
+ },
78
+ {
79
+ "type": "select",
80
+ "id": "badges_size",
81
+ "label": "Shipping badges size",
82
+ "options": [
83
+ {
84
+ "value": "20px",
85
+ "label": "20px"
86
+ },
87
+ {
88
+ "value": "25px",
89
+ "label": "25px"
90
+ },
91
+ {
92
+ "value": "30px",
93
+ "label": "30px"
94
+ },
95
+ {
96
+ "value": "35px",
97
+ "label": "35px"
98
+ },
99
+ {
100
+ "value": "40px",
101
+ "label": "40px"
102
+ }
103
+ ]
104
+ }
105
+ ],
106
+ "blocks": [
107
+ {
108
+ "type": "image",
109
+ "name": "Info Badges",
110
+ "settings": [
111
+ {
112
+ "type": "select",
113
+ "id": "shipping_icon",
114
+ "label": "Heading font style",
115
+ "default": "fa-plane",
116
+ "options": [
117
+ {
118
+ "value": "fa-bullhorn",
119
+ "label": "Bullhorn"
120
+ },
121
+ {
122
+ "value": "fa-bullseye",
123
+ "label": "Bullseye"
124
+ },
125
+ {
126
+ "value": "fa-calendar-check",
127
+ "label": "Calendar-check"
128
+ },
129
+ {
130
+ "value": "fa-calculator",
131
+ "label": "Calculator"
132
+ },
133
+ {
134
+ "value": "fa-cart-arrow-down",
135
+ "label": "Cart-Arrow-Down"
136
+ },
137
+ {
138
+ "value": "fa-cart-plus",
139
+ "label": "Cart-Plus"
140
+ },
141
+ {
142
+ "value": "fa-certificate",
143
+ "label": "Certificate"
144
+ },
145
+ {
146
+ "value": "fa-chart-line",
147
+ "label": "Chart-line"
148
+ },
149
+ {
150
+ "value": "fa-check-circle",
151
+ "label": "Check-circle"
152
+ },
153
+ {
154
+ "value": "fa-child",
155
+ "label": "Child"
156
+ },
157
+ {
158
+ "value": "fa-circle-notch",
159
+ "label": "Circle-Notch"
160
+ },
161
+ {
162
+ "value": "fa-coffee",
163
+ "label": "Coffee"
164
+ },
165
+ {
166
+ "value": "fa-credit-card",
167
+ "label": "Credit-card"
168
+ },
169
+ {
170
+ "value": "fa-expand",
171
+ "label": "Expand"
172
+ },
173
+ {
174
+ "value": "fa-fighter-jet",
175
+ "label": "Fighter-Jet"
176
+ },
177
+ {
178
+ "value": "fa-fire",
179
+ "label": "Fire"
180
+ },
181
+ {
182
+ "value": "fa-flag",
183
+ "label": "Flag"
184
+ },
185
+ {
186
+ "value": "fa-gem",
187
+ "label": "Gem"
188
+ },
189
+ {
190
+ "value": "fa-leaf",
191
+ "label": "Flag"
192
+ },
193
+ {
194
+ "value": "fa-map",
195
+ "label": "Map"
196
+ },
197
+ {
198
+ "value": "fa-shield-alt",
199
+ "label": "Shield-alt"
200
+ },
201
+ {
202
+ "value": "fa-shirtsinbulk",
203
+ "label": "Shirtsinbulk"
204
+ },
205
+ {
206
+ "value": "fa-shopping-bag",
207
+ "label": "Shopping-Bag"
208
+ },
209
+ {
210
+ "value": "fa-shopping-basket",
211
+ "label": "Shopping-Basket"
212
+ },
213
+ {
214
+ "value": "fa-shopping-cart",
215
+ "label": "Shopping-cart"
216
+ },
217
+ {
218
+ "value": "fa-tag",
219
+ "label": "Tag"
220
+ },
221
+ {
222
+ "value": "fa-tags",
223
+ "label": "Tags"
224
+ },
225
+ {
226
+ "value": "fa-telegram-plane",
227
+ "label": "Telegram-plane"
228
+ },
229
+ {
230
+ "value": "fa-thumbs-up",
231
+ "label": "Thumbs-up"
232
+ },
233
+ {
234
+ "value": "fa-tree",
235
+ "label": "Tree"
236
+ },
237
+ {
238
+ "value": "fa-keyboard",
239
+ "label": "Keyboard"
240
+ },
241
+ {
242
+ "value": "fa-key",
243
+ "label": "Key"
244
+ },
245
+ {
246
+ "value": "fa-info",
247
+ "label": "Info"
248
+ },
249
+ {
250
+ "value": "fa-heart",
251
+ "label": "Heart"
252
+ },
253
+ {
254
+ "value": "fa-envelope",
255
+ "label": "Envelope"
256
+ },
257
+ {
258
+ "value": "fa-envelope-open",
259
+ "label": "Envelope-Open"
260
+ },
261
+ {
262
+ "value": "fa-comment-alt",
263
+ "label": "Comment-Alt"
264
+ },
265
+ {
266
+ "value": "fa-comments",
267
+ "label": "Comments"
268
+ },
269
+ {
270
+ "value": "fa-phone-square",
271
+ "label": "Phone-Square"
272
+ },
273
+ {
274
+ "value": "fa-phone-volume",
275
+ "label": "Phone-Volume"
276
+ },
277
+ {
278
+ "value": "fa-plane",
279
+ "label": "Plane"
280
+ },
281
+ {
282
+ "value": "fa-phone",
283
+ "label": "Phone"
284
+ }
285
+ ]
286
+ },
287
+ {
288
+ "type": "text",
289
+ "id": "badges_title",
290
+ "label": "Heading",
291
+ "default": "FREE SHIPPING"
292
+ },
293
+ {
294
+ "type": "text",
295
+ "id": "badges_text",
296
+ "label": "Text",
297
+ "default": "Get free shipping on every order over 75$",
298
+ "info": "First 80 character will display"
299
+ }
300
+ ]
301
+ }
302
+ ],
303
+ "presets": [
304
+ {
305
+ "name": "Info Badges",
306
+ "category": "Shipping info",
307
+ "blocks": [
308
+ {
309
+ "type": "image"
310
+ },
311
+ {
312
+ "type": "image"
313
+ },
314
+ {
315
+ "type": "image"
316
+ }
317
+ ]
318
+ }
319
+ ]
320
+ }
321
+ {% endschema %}
322
+
323
+ {% stylesheet %}
324
+ {% endstylesheet %}
325
+
326
+ {% javascript %}
327
+ {% endjavascript %}
@@ -0,0 +1,109 @@
1
+ {% if section.settings.show_best_products %}
2
+
3
+ <div class="widget widget_top_rated_products">
4
+ {% if section.settings.title != blank %}
5
+ <h4>{{ section.settings.title }}</h4>
6
+ {% endif %}
7
+ <div class="carousel-block">
8
+ <ul class="no-bullets top-products {{ section.id }} owl-carousel owl-theme">
9
+ {% for product in collections[section.settings.bestseller].products limit: section.settings.limit %}
10
+ <li class="products">
11
+ <div class="product-container">
12
+ {% if product.images.size > 0 %}
13
+ <a class="thumb grid__item" href="{{ product.url | within: collection }}">
14
+ {% if product.compare_at_price > product.price and settings.collections_show_sale_circle %}
15
+ <div class="featured-tag">
16
+ <span class="badge badge--sale">
17
+ <span class="gift-tag badge__text{% if sale_text.size > 7 %} badge__text--small{% endif %}">{{ 'products.product.sale' | t }}</span>
18
+ </span>
19
+ </div>
20
+ {% endif %}
21
+
22
+
23
+ <img alt="featured product" src="{{ product.featured_image | product_img_url: '350X' }}">
24
+
25
+ {% if settings.count_down_enable and settings.count_down_collections %}
26
+ {% assign dealTime = settings.home_productdeal_time | split: ' ' | join: ' ' | split: ' ' %}
27
+ {% include 'deal-snippet-sidebar' %}
28
+ {% endif %}
29
+ </a>
30
+ {% endif %}
31
+ </div>
32
+
33
+ <div class="product-detail">
34
+ <a class="grid-link__title" href="{{ product.url | within: collection }}"> {{ product.title }} </a>
35
+ {% if settings.product_review %} <span class="shopify-product-reviews-badge" data-id="{{ product.id }}"></span> {% endif %}
36
+ {% for tag in product.tags %}
37
+
38
+ {% endfor %}
39
+ <div class="top-product-prices grid-link__meta">
40
+
41
+ <div class="product_price">
42
+ <div class="grid-link__org_price">
43
+ {{ product.price_min | money }}
44
+ </div>
45
+ {% if product.compare_at_price_max > product.price %}
46
+ <del>{{ product.compare_at_price_max | money }}</del>
47
+ {% endif %}
48
+ </div>
49
+ </div>
50
+ </div>
51
+
52
+
53
+
54
+ </li>
55
+ {% endfor %}
56
+ </ul>
57
+ <div class="sidabar_nav top_products_nav {{ section.id }}"></div>
58
+ </div>
59
+ </div>
60
+ {% endif %}
61
+
62
+ {% schema %}
63
+ {
64
+ "name": "Products",
65
+ "settings": [
66
+ {
67
+ "type": "checkbox",
68
+ "id": "show_best_products",
69
+ "label": "Enable best sellers",
70
+ "default":false
71
+ },
72
+ {
73
+ "type": "text",
74
+ "id": "title",
75
+ "label": "Heading"
76
+ },
77
+ {
78
+ "type": "collection",
79
+ "id": "bestseller",
80
+ "label": "Collection"
81
+ },
82
+ {
83
+ "type": "text",
84
+ "id": "limi",
85
+ "label": "Product Limit",
86
+ "default": "4"
87
+ }
88
+
89
+ ]
90
+ }
91
+ {% endschema %}
92
+
93
+ {% stylesheet %}
94
+ {% endstylesheet %}
95
+
96
+
97
+ <script type="text/javascript">
98
+ $(document).ready(function(){
99
+ $(".top-products.{{ section.id }}").owlCarousel({
100
+ items:1,
101
+ loop:false,
102
+ nav:true,
103
+ dots: false,
104
+ navContainer: ".top_products_nav.{{ section.id }}",
105
+ navText: ['<a class="prev btn active"><i class="fa fa-angle-left"></i></a>','<a class="next btn"><i class="fa fa-angle-right"></i></a>']
106
+ });
107
+ });
108
+
109
+ </script>
@@ -0,0 +1,105 @@
1
+ {%- assign sidebar_linklist = section.settings.linkedlist -%}
2
+
3
+ {% if section.settings.enable_sidecategory %}
4
+ <div class="widget widget_product_categories">
5
+ {% if section.settings.linkedlist_title != blank %}
6
+ <h4>
7
+ {{ section.settings.linkedlist_title }}
8
+ </h4>
9
+ {% endif %}
10
+ {% if linklists[sidebar_linklist].links.size > 0 %}
11
+ <ul class="product-categories dt-sc-toggle-frame-set">
12
+ {% for link in linklists[sidebar_linklist].links %}
13
+ {% assign child_list_handle = link.title | handle %}
14
+ {% if linklists[child_list_handle] and linklists[child_list_handle].links.size > 0 %}
15
+ <li class="cat-item cat-item-39 cat-parent first">
16
+ <i></i>
17
+ <a class="{% if link.active %}active{% endif %}" href="{{ link.url }}">{{ link.title | escape }}</a> <span class="dt-sc-toggle"></span>
18
+
19
+ {% if linklists[child_list_handle].links.size > 0 %}
20
+ <ul class="children dt-sc-toggle-content ">
21
+ {% for child_link in linklists[link.handle].links %}
22
+ {% assign sub_sub_link_handle = child_link.title | handle %}
23
+ <li class="second">
24
+ <i></i>
25
+ <a class="{% if child_link.active %}active{% endif %}" href="{{ child_link.url }}">{{ child_link.title | escape }}</a>
26
+ {% if linklists[sub_sub_link_handle].links.size > 0 %}<span class="dt-sc-toggle"></span> {% endif %}
27
+ {% if linklists[sub_sub_link_handle].links.size > 0 %}
28
+ <ul class="third children dt-sc-toggle-content">
29
+ {% for sub_sub_link in linklists[child_link.handle].links %}
30
+ <li> <a class="{% if sub_sub_link.active %}active{% endif %}" href="{{ sub_sub_link.url }}">{{ sub_sub_link.title | escape }}</a></li>
31
+ {% endfor %}
32
+ </ul>
33
+ {% else %}
34
+ {% endif %}
35
+
36
+ </li>
37
+ {% endfor %}
38
+ </ul>
39
+ {% endif %}
40
+ </li>
41
+ {% else %}
42
+ <li class="cat-item cat-item-39 cat-parent">
43
+ <i></i><a class=" {% if link.active %}active{% endif %}" href="{{ link.url }}">{{ link.title | escape }}</a>
44
+ </li>
45
+ {% endif %}
46
+ {% endfor %}
47
+ </ul>
48
+ {% endif %}
49
+ </div>
50
+ {% endif %}
51
+
52
+ {% schema %}
53
+ {
54
+ "name": "Collection",
55
+ "settings": [
56
+ {
57
+ "type": "checkbox",
58
+ "id": "enable_sidecategory",
59
+ "label": "Enable category",
60
+ "default":false
61
+ },
62
+ {
63
+ "type": "link_list",
64
+ "id": "linkedlist",
65
+ "label": "Linklist"
66
+ },
67
+ {
68
+ "type": "text",
69
+ "id": "linkedlist_title",
70
+ "label": "Heading"
71
+ }
72
+ ]
73
+
74
+ }
75
+ {% endschema %}
76
+
77
+
78
+
79
+ {% javascript %}
80
+ $(document).ready(function(){
81
+ $(".dt-menu-expand").click(function(event){
82
+ event.preventDefault();
83
+ if( $(this).hasClass("dt-mean-clicked") ){
84
+ $(this).html('<i class="fas fa-plus"></i>');
85
+ if( $(this).prev('ul').length ) {
86
+ $(this).prev('ul').slideUp(400);
87
+ } else {
88
+ $(this).prev('.megamenu-child-container').find('ul:first').slideUp(600);
89
+ }
90
+ } else {
91
+ $(this).html('<i class="fas fa-minus"></i>');
92
+ if( $(this).prev('ul').length ) {
93
+ $(this).prev('ul').slideDown(400);
94
+ } else{
95
+ $(this).prev('.megamenu-child-container').find('ul:first').slideDown(2000);
96
+ }
97
+ }
98
+
99
+ $(this).toggleClass("dt-mean-clicked");
100
+ return false;
101
+ });
102
+
103
+ });
104
+
105
+ {% endjavascript %}
@@ -0,0 +1,104 @@
1
+ {% if section.blocks.size > 0 %}
2
+ {% assign counter = 0 %}
3
+ {% for block in section.blocks %}
4
+ {% assign tag = block.settings.title | strip %}
5
+ {% if current_tags contains tag %}
6
+ {% else %}
7
+ {% if collection.tags contains tag %}
8
+ {% assign counter = counter | plus:1 %}
9
+ {% endif %}
10
+ {% endif %}
11
+ {% endfor %}
12
+ {% if section.settings.enable_shop_by_tags_1 %}
13
+ <aside class="sidebar-tag color filter tags {% if counter == 0 %} counter_zero {% endif %}">
14
+ <div class="widget widget_colors">
15
+ <h4>
16
+ <span>{{ section.settings.shop_by_tags_1_title }}</span>
17
+ <a href="javascript:void(0)" class="clear" style="display:none">
18
+ <i class="fas fa-times"></i>
19
+ </a>
20
+ </h4>
21
+
22
+ <div class="widget-content">
23
+ <ul>
24
+ {% for block in section.blocks %}
25
+ {% if block.settings.title != blank %}
26
+ {% assign tag = block.settings.title | strip %}
27
+ {% if collection.tags contains tag %}
28
+ <li class="{{tag | handle}}">
29
+ {% assign tag_value = tag | handleize %}
30
+ <input type="checkbox" id="{{ tag }}{{forloop.index}}" value="{{ tag_value }}" {% if current_tags contains tag %}checked{% endif %}/>
31
+ <a href="javascript:void(0)" {% if current_tags contains tag %} class="active" {% endif %} title="{{tag}}">
32
+ <label for="{{ tag }}{{forloop.index}}">
33
+ <span style="background:{{ block.settings.color }};"></span>
34
+ </label>
35
+ </a>
36
+ </li>
37
+ {% else %}
38
+ <li class="{{tag | handle}}">
39
+ {% assign tag_value = tag | handleize %}
40
+ <input type="checkbox" id="{{ tag }}{{forloop.index}}" value="{{ tag_value }}" />
41
+ <a href="javascript:void(0)" title="{{tag}}" {% if current_tags contains tag %} class="active" {% endif %}>
42
+ <label for="{{ tag }}{{forloop.index}}">
43
+ <span style="background:{{ block.settings.color }};"></span>
44
+ </label>
45
+ </a>
46
+ </li>
47
+ {% endif %}
48
+ {% endif %}
49
+ {% endfor %}
50
+
51
+ </ul>
52
+ </div></div>
53
+ </aside>
54
+ {% endif %}
55
+ {% endif %}
56
+
57
+
58
+ {% schema %}
59
+ {
60
+ "name": "Colors",
61
+ "max_blocks": 20,
62
+ "settings": [
63
+ {
64
+ "type": "header",
65
+ "content": "Shop by Color"
66
+ },
67
+ {
68
+ "type": "checkbox",
69
+ "id": "enable_shop_by_tags_1",
70
+ "label": "Enable",
71
+ "default": true
72
+ },
73
+ {
74
+ "type": "text",
75
+ "id": "shop_by_tags_1_title",
76
+ "label": "Title",
77
+ "default": "Shop By Color",
78
+ "info": "i.e \"Shop by Color\"."
79
+ }
80
+ ],
81
+
82
+ "blocks": [
83
+ {
84
+ "type": "image",
85
+ "name": "Color",
86
+ "settings": [
87
+ {
88
+ "type": "text",
89
+ "id": "title",
90
+ "label": "Color name"
91
+ },
92
+ {
93
+ "type": "color",
94
+ "id": "color",
95
+ "label": "Image"
96
+ }
97
+ ]
98
+ }
99
+ ]
100
+ }
101
+ {% endschema %}
102
+
103
+ {% stylesheet %}
104
+ {% endstylesheet %}