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,246 @@
1
+ <div data-section-id="{{ section.id }}" data-section-type="home-newsletter-block" class="home-newsletter-block" style="{% if section.settings.image_1 != blank %}background-image:url('{{ section.settings.image_1 | img_url: '1920X' }}');background-repeat:no-repeat;{% else %}background-color:{{section.settings.news_bg_clr}}{% endif%};">
2
+ <div class="newsletter-block style2">
3
+ <div class="overlay"></div>
4
+ <div class="dt-sc-hr-invisible-large"></div>
5
+ <div class="container">
6
+
7
+ <div class="news-inner-block">
8
+
9
+ <div class="grid__item wide--six-tenths post-large--six-tenths large--six-tenths medium--six-tenths">
10
+ {% if section.settings.title != blank %}
11
+ <div class="grid__item wide--four-tenths">
12
+ <div class="section-header section-header--small">
13
+
14
+ <h5 class="newslet_title " style="color:{{ section.settings.title_color }};">
15
+ {{ section.settings.title }}
16
+ </h5>
17
+
18
+ {% if section.settings.news_desc != blank %}
19
+ <p style="color:{{section.settings.text_color}}"> {{ section.settings.news_desc }}</p>
20
+ {% endif %}
21
+
22
+ </div>
23
+ </div>
24
+ {% endif %}
25
+ <div class="grid__item wide--six-tenths">
26
+ <div class="mc-embedded-subscribe-form">
27
+ {% form 'customer' %}
28
+ {{ form.errors | default_errors }}
29
+ {% if form.posted_successfully? %}
30
+ <p class="note form-success">{{ 'general.newsletter_form.mailing_list_success_message' | t }}</p>
31
+ {% else %}
32
+
33
+ <input type="email" value="{% if customer %}{{ customer.email }}{% endif %}" placeholder="{{ 'general.newsletter_form.newsletter_email' | t }}" name="contact[email]" class="mail" aria-label="{{ 'general.newsletter_form.newsletter_email' | t }}" >
34
+ <input type="hidden" name="contact[tags]" value="newsletter">
35
+ <button type="submit" class="btn subscribe" name="subscribe" value="" >
36
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 24 30" style="enable-background:new 0 0 24 24;" xml:space="preserve"><g><polygon points="8.771,16.305 13.076,11.999 8.771,7.695 9.848,6.618 15.229,11.999 9.848,17.382 "/></g></svg>
37
+ </button>
38
+
39
+ {% endif %}
40
+
41
+ {% endform %}
42
+
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div class="grid__item wide--four-tenths post-large--four-tenths large--four-tenths medium--four-tenths">
47
+ {% if section.settings.footer_social_enable %}
48
+ <div class="footer_social_links wow fadeInUp animated">
49
+ <div class="grid__item wide--four-tenths">
50
+ <div class="section-header section-header--small full-position-{{section.settings.heading_position}}">
51
+ <h5 class="social_title " style="color:{{ section.settings.title_color }};">
52
+ {{ section.settings.s_title }}
53
+ </h5>
54
+
55
+ {% if section.settings.s_desc != blank %}
56
+ <p style="color:{{section.settings.text_color}}"> {{ section.settings.s_desc }}</p>
57
+ {% endif %}
58
+ </div>
59
+ </div>
60
+ <div class="grid__item wide--six-tenths">
61
+ {% include 'social-links-type-6' %}
62
+ </div>
63
+ </div>
64
+ {% endif %}
65
+ </div>
66
+ </div>
67
+ </div>
68
+ <div class="dt-sc-hr-invisible-large"></div>
69
+ </div>
70
+ </div>
71
+
72
+ <style>
73
+
74
+ .newsletter-block form input{color:{{section.settings.input_txt_color}};border:1px solid {{section.settings.news_border_clr}};}
75
+ .newsletter-block form input:focus{background-color:{{ section.settings.input_bg_color | color_modify: 'alpha', 0.5 }}; border:1px solid {{section.settings.news_border_clr | color_modify: 'alpha', 0.5 }}; }
76
+ .newsletter-block form input::-webkit-input-placeholder {color:{{section.settings.input_txt_color}};}
77
+ .newsletter-block form input::-moz-placeholder { color:{{section.settings.input_txt_color}};}
78
+ .newsletter-block form input:-ms-input-placeholder {color:{{section.settings.input_txt_color}};}
79
+ .newsletter-block form input:-moz-placeholder { color:{{section.settings.input_txt_color}};}
80
+
81
+ /* {% if section.settings.show_overlay_bg != blank %}
82
+ .home-newsletter-block::before{background:{{section.settings.news_bg_clr}};}
83
+ {% endif %} */
84
+ .newsletter-block form .btn { fill:{{ section.settings.btn_txt_color }}; background:{{ section.settings.btn_bg_color }};}
85
+ .newsletter-block form .btn:hover { fill:{{ section.settings.btn_hover_color }}; background:{{ section.settings.btn_hover_bg_color }};}
86
+ .newsletter-block form .btn svg g { fill:{{ section.settings.btn_txt_color }}; stroke: {{ section.settings.btn_txt_color }};}
87
+ .newsletter-block form .btn:hover svg g { fill:{{ section.settings.btn_hover_color }}; stroke:{{ section.settings.btn_hover_color }};}
88
+ .newsletter-block .inline-list li a {border:1px solid {{section.settings.social_icon_borderclr}};}
89
+ .home-newsletter-block .newsletter-block.style2 .news-inner-block form { border:2px solid {{section.settings.news_border_clr}};background:{{section.settings.input_bg_color}}; }
90
+ .newsletter-block .inline-list li a:hover{border:1px solid {{section.settings.social_icon_hoverbg_clr}};background:{{section.settings.social_icon_hoverbg_clr}};color:{{section.settings.social_icon_hover_clr}};}
91
+
92
+ </style>
93
+
94
+ {% schema %}
95
+ {
96
+ "name": "Newsletter",
97
+ "class": "index-section",
98
+ "settings": [
99
+ {
100
+ "type": "image_picker",
101
+ "id": "image_1",
102
+ "label": "Image",
103
+ "info": "Size: 409x496"
104
+ },
105
+ {
106
+ "type": "checkbox",
107
+ "id": "show_overlay_bg",
108
+ "label":"Show Overlay bg Color"
109
+
110
+ },
111
+ {
112
+ "type": "color",
113
+ "id": "news_bg_clr",
114
+ "label": "Bg Color",
115
+ "default": "#fff"
116
+ },
117
+ {
118
+ "type": "text",
119
+ "id": "title",
120
+ "label": "Heading",
121
+ "default": "Newsletter"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "id": "news_desc",
126
+ "label": "Desc",
127
+ "default": "Description"
128
+ },
129
+
130
+
131
+
132
+ {
133
+ "type": "color",
134
+ "id": "title_color",
135
+ "label": "Heading",
136
+ "default": "#000"
137
+ },
138
+ {
139
+ "type": "color",
140
+ "id": "news_border_clr",
141
+ "label": "Border Color",
142
+ "default": "#000"
143
+ },
144
+
145
+ {
146
+ "type": "color",
147
+ "id": "input_bg_color",
148
+ "label": "Input Bg color",
149
+ "default": "#fff"
150
+ },
151
+ {
152
+ "type": "color",
153
+ "id": "input_txt_color",
154
+ "label": "Input Text color",
155
+ "default": "#000"
156
+ },
157
+ {
158
+ "type": "color",
159
+ "id": "text_color",
160
+ "label": "Description",
161
+ "default": "#000"
162
+ },
163
+ {
164
+ "type": "text",
165
+ "id": "button",
166
+ "label": "Button",
167
+ "default": "Subscribe"
168
+ },
169
+ {
170
+ "type": "color",
171
+ "id": "btn_txt_color",
172
+ "label": "Button Text color",
173
+ "default": "#fff"
174
+ },
175
+ {
176
+ "type": "color",
177
+ "id": "btn_bg_color",
178
+ "label": "Button Bg color",
179
+ "default": "#000"
180
+ },
181
+ {
182
+ "type": "color",
183
+ "id": "btn_hover_bg_color",
184
+ "label": "Button Hover Bg color",
185
+ "default": "#000"
186
+ },
187
+ {
188
+ "type": "color",
189
+ "id": "btn_hover_color",
190
+ "label": "Button Hover Text color",
191
+ "default": "#fff"
192
+ },
193
+
194
+ {
195
+ "type": "checkbox",
196
+ "id": "footer_social_enable",
197
+ "label": "Show social media icons"
198
+ },
199
+ {
200
+ "type": "text",
201
+ "id": "s_title",
202
+ "label": "Heading",
203
+ "default": "Follow Us"
204
+ },
205
+ {
206
+ "type": "text",
207
+ "id": "s_desc",
208
+ "label": "Desc",
209
+ "default": "We want to hear from you!"
210
+ },
211
+ {
212
+ "type": "color",
213
+ "id": "social_icon_clr",
214
+ "label": "Social Icon Color",
215
+ "default":"#000"
216
+ },
217
+ {
218
+ "type": "color",
219
+ "id": "social_icon_borderclr",
220
+ "label": "Social Icon Border Color",
221
+ "default":"#000"
222
+ },
223
+ {
224
+ "type": "color",
225
+ "id": "social_icon_hover_clr",
226
+ "label": "Social Icon Hover Color",
227
+ "default":"#000"
228
+ },
229
+ {
230
+ "type": "color",
231
+ "id": "social_icon_hoverbg_clr",
232
+ "label": "Social Icon Hover Bg Color",
233
+ "default":"#000"
234
+ }
235
+
236
+
237
+ ],
238
+ "presets": [
239
+ {
240
+ "name": "Newsletter",
241
+ "category": "Form",
242
+ "blocks": [ ]
243
+ }
244
+ ]
245
+ }
246
+ {% endschema %}
@@ -0,0 +1,96 @@
1
+
2
+ {% assign collection = collections[section.settings.collection] %}
3
+
4
+ {% paginate collection.products by 100 %}
5
+ <form action="/cart" method="post">
6
+ {% if collection.products_count > 0 %}
7
+ <div class="section-header">
8
+ <h1 class="section-header--title">{% if template contains 'page' %}{{ page.title }}{% else %}{{ collection.title }}{% endif %}</h1>
9
+ <input type="submit" value="Add to the cart" />
10
+ </div>
11
+ {% else %}
12
+ <h1>{% if template contains 'page' %}{{ page.title }}{% else %}{{ collection.title }}{% endif %}</h1>
13
+ {% endif %}
14
+
15
+ {% if template contains 'page' and page.content.size > 0 %}
16
+ <div class="rte">
17
+ {{ page.content }}
18
+ </div>
19
+ {% elsif collection.description.size > 0 %}
20
+ <div class="rte">
21
+ {{ collection.description }}
22
+ </div>
23
+ {% endif %}
24
+
25
+ {% if collection.products_count > 0 %}
26
+
27
+ <table>
28
+ <tbody>
29
+ {% for product in collection.products %}
30
+ {% if product.available %}
31
+ {% for variant in product.variants %}
32
+ {% if variant.available %}
33
+ <tr class="{% cycle 'pure-table-odd', '' %}">
34
+ <td>
35
+ <a href="{{ variant.url | collection }}">
36
+ <img src="{{ variant.image | default: product.featured_image | img_url: 'small' }}" alt="{{ variant.title | escape }}" />
37
+ </a>
38
+ </td>
39
+ <td>
40
+ <a href="{{ variant.url | collection }}">
41
+ {{ product.title }}{% unless variant.title contains 'Default' %} - {{ variant.title }}{% endunless %}{% unless variant.sku == blank %} - {{ variant.sku }}{% endunless %}
42
+ </a>
43
+ </td>
44
+ <td>
45
+ {{ variant.price | money }}
46
+ </td>
47
+ <td class="qty-box-set" style="text-align:right;">
48
+ <input name="updates[{{ variant.id }}]" onfocus="this.select()" class="quantity field quantity-selector cart-number" min="0" {% unless variant.inventory_management == blank or variant.inventory_policy == 'continue' %} max="{{ variant.inventory_quantity }}" {% endunless %} type="number" value="0" tabindex="1" />
49
+ </td>
50
+ </tr>
51
+ {% endif %}
52
+ {% endfor %}
53
+ {% endif %}
54
+ {% endfor %}
55
+ </tbody>
56
+ </table>
57
+
58
+ <div>
59
+ <input type="submit" value="Add to the cart" class="btn" />
60
+ </div>
61
+
62
+ {% else %}
63
+ <p>There are no products in this view.</p>
64
+ {% endif %}
65
+
66
+ </form>
67
+
68
+ {% endpaginate %}
69
+
70
+ {% if collection.products_count > 0 %}
71
+ <script>
72
+ jQuery(function($) {
73
+ $('table .quantity:first').focus();
74
+ $('[max]').change(function() {
75
+ var max = parseInt($(this).attr('max'), 10);
76
+ var value = parseInt($(this).val(), 10) || 0;
77
+ if (value > max) {
78
+ alert('We only have ' + max + ' of this item in stock');
79
+ $(this).val(max);
80
+ }
81
+ });
82
+ });
83
+ </script>
84
+ {% endif %}
85
+ {% schema %}
86
+ {
87
+ "name": "Order Form",
88
+ "settings": [
89
+ {
90
+ "id": "collection",
91
+ "type": "collection",
92
+ "label": "Collection"
93
+ }
94
+ ]
95
+ }
96
+ {% endschema %}
@@ -0,0 +1,344 @@
1
+ <div class="container container-240">
2
+ <div class="e-cat">
3
+ <div class="banner">
4
+ <a href="{{section.settings.bg_url}}" class="image-bd effect_img2">
5
+ <img {%if section.settings.bg_img == blank%}src="{{'o-banner.jpg'| asset_url }}"
6
+ {%else%}
7
+ src="{{section.settings.bg_img | img_url:'master'}}" class="img-reponsive"{%endif%} alt="" />
8
+ </a>
9
+ </div>
10
+ {% include 'breadcrumb' %}
11
+ <div class="section-cate">
12
+ <h3 class="e-title text-center">{{section.settings.cate_title}}</h3>
13
+ <div class="owl-carousel owl-theme owl-cate js-owl-cate">
14
+ {% if section.blocks.size > 0 %}
15
+ {% for block in section.blocks %}
16
+ {% if block.type == 'catetab' %}
17
+ <div class="item item-pd">
18
+ <div class="product-img">
19
+ <a href="{{block.settings.cate_url}}">
20
+ <img {%if block.settings.cate_img == blank%}src="{{'pd1.jpg'| asset_url }}"
21
+ {%else%}
22
+ src="{{block.settings.cate_img | img_url:'master'}}" {%endif%} alt="" />
23
+ </a>
24
+ </div>
25
+ <h3>{{block.settings.text1}}</h3>
26
+ </div>
27
+ {% endif %}
28
+ {% endfor %}
29
+ {% endif %}
30
+
31
+ </div>
32
+ </div>
33
+ <div class="bestseller">
34
+ <div class="ecome-heading style3 spc3">
35
+ <h3>{{section.settings.list_name1}}</h3>
36
+ <a href="{{section.settings.list_btn_url1}}" class="btn-show">{{section.settings.list_btn_name1}}<i class="ion-ios-arrow-forward"></i></a>
37
+ </div>
38
+ <div class="owl-carousel owl-theme owl-cate v2 js-owl-cate">
39
+ {%for product in collections[section.settings.product_collection1].products limit:section.settings.product_limit1%}
40
+ {% include 'product-grid-12' %}
41
+ {% else %}
42
+ {% include 'empty-product-grid-12'%}
43
+ {% endfor %}
44
+ </div>
45
+ </div>
46
+
47
+ <div class="onsale">
48
+ <div class="ecome-heading style3 spc3">
49
+ <h3>{{section.settings.list_name2}}</h3>
50
+ <a href="{{section.settings.list_btn_url2}}" class="btn-show">{{section.settings.list_btn_name2}}<i class="ion-ios-arrow-forward"></i></a>
51
+ </div>
52
+ <div class="owl-carousel owl-theme owl-cate v3 js-owl-cate">
53
+ {%for product in collections[section.settings.product_collection2].products limit:section.settings.product_limit2%}
54
+ {% include 'product-grid-12' %}
55
+ {% else %}
56
+ {% include 'empty-product-grid-12'%}
57
+ {% endfor %}
58
+ </div>
59
+ </div>
60
+ <!-- Brand -->
61
+ <div class="brand">
62
+ <div class="ecome-heading style3 spc3">
63
+
64
+ <h3>{{section.settings.text1}}</h3>
65
+ <a href="{{section.settings.btn_url}}" class="btn-show">{{section.settings.btn_name}}<i class="ion-ios-arrow-forward"></i></a>
66
+ </div>
67
+
68
+ <div class="owl-carousel owl-theme owl-brand js-owl-brand">
69
+ {% if section.blocks.size > 0 %}
70
+ {% for block in section.blocks %}
71
+ {% if block.type == 'brandtab' %}
72
+ <div class="brand-item">
73
+ <a href="{{block.settings.brand_url}}" class="hover-images">
74
+ <img {%if block.settings.brand_img == blank%}src="{{'brandlogo1.png'| asset_url }}"
75
+ {%else%}
76
+ src="{{block.settings.brand_img | img_url:'master'}}" class="img-reponsive"{%endif%} alt="" />
77
+ </a>
78
+ </div>
79
+ {% endif %}
80
+ {% endfor %}
81
+ {% endif %}
82
+ </div>
83
+ <div class="about-brand">
84
+ <div class="row">
85
+ <div class="col-xs-12 col-sm-12 col-sm-3 col-md-4">
86
+ <div class="about-brand-info text-center">
87
+ <div class="brand-img">
88
+ <a href="{{section.settings.btn_url}}" class="hover-images">
89
+ <img {%if section.settings.brand_img == blank%}src="{{'sony_info.jpg'| asset_url }}"
90
+ {%else%}
91
+ src="{{section.settings.brand_img | img_url:'master'}}" class="img-reponsive"{%endif%} alt="" />
92
+ </a>
93
+ </div>
94
+ <div class="brand-info">
95
+ <p>{{section.settings.brand_desc}}</p>
96
+ </div>
97
+ <a href="{{section.settings.btn_url}}" class="btn-gradient btn-brand">{{section.settings.brand_name}} <i class="ion-ios-arrow-forward"></i></a>
98
+ </div>
99
+ </div>
100
+ <div class="col-xs-12 col-sm-12 col-sm-8 col-md-8">
101
+ <div class="row engoc-equal-row">
102
+ {%for product in collections[section.settings.product_collection3].products limit:section.settings.product_limit3%}
103
+
104
+ {% include 'product-grid-4' %}
105
+ {% else %}
106
+ {% include 'empty-product-grid-4'%}
107
+ {% endfor %}
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ {% schema %}
116
+ {
117
+ "name": "Page Category Full Width",
118
+ "settings": [
119
+ {
120
+ "type": "header",
121
+ "content": "Heading"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "id": "cate_title",
126
+ "label": "Title",
127
+ "default": "Cell Phones & Accessories"
128
+ },
129
+ {
130
+ "type": "header",
131
+ "content": "Banner Top"
132
+ },
133
+ {
134
+ "type": "image_picker",
135
+ "id": "bg_img",
136
+ "label": "Image",
137
+ "info": "1398x191 recommended"
138
+ },
139
+ {
140
+ "id": "bg_url",
141
+ "type": "url",
142
+ "default": "/collections/all",
143
+ "label": "Button link"
144
+ },
145
+ {
146
+ "type": "header",
147
+ "content": "List Products 1"
148
+ },
149
+ {
150
+ "type": "text",
151
+ "id": "list_name1",
152
+ "label": "Title",
153
+ "default": "Beseller Products"
154
+ },
155
+ {
156
+ "type":"header",
157
+ "content":"Button"
158
+ },
159
+ {
160
+ "type": "text",
161
+ "id": "list_btn_name1",
162
+ "label": "Title button",
163
+ "default": "Shop more"
164
+ },
165
+ {
166
+ "type": "url",
167
+ "id": "list_btn_url1",
168
+ "label": "URL"
169
+ },
170
+ {
171
+ "type": "collection",
172
+ "id": "product_collection1",
173
+ "label": "Select collection"
174
+ },
175
+ {
176
+ "type": "text",
177
+ "id": "product_limit1",
178
+ "label": "Limit number",
179
+ "default": "12"
180
+ },
181
+ {
182
+ "type": "header",
183
+ "content": "List Products 2"
184
+ },
185
+ {
186
+ "type": "text",
187
+ "id": "list_name2",
188
+ "label": "Title",
189
+ "default": "On Sale Products"
190
+ },
191
+ {
192
+ "type":"header",
193
+ "content":"Button"
194
+ },
195
+ {
196
+ "type": "text",
197
+ "id": "list_btn_name2",
198
+ "label": "Title button",
199
+ "default": "Shop more"
200
+ },
201
+ {
202
+ "type": "url",
203
+ "id": "list_btn_url2",
204
+ "label": "URL"
205
+ },
206
+ {
207
+ "type": "collection",
208
+ "id": "product_collection2",
209
+ "label": "Select collection"
210
+ },
211
+ {
212
+ "type": "text",
213
+ "id": "product_limit2",
214
+ "label": "Limit number",
215
+ "default": "12"
216
+ },
217
+ {
218
+ "type": "header",
219
+ "content": "Brand"
220
+ },
221
+ {
222
+ "type": "text",
223
+ "id": "text1",
224
+ "label": "Title",
225
+ "default": "Shop by brand"
226
+ },
227
+ {
228
+ "type":"header",
229
+ "content":"Button"
230
+ },
231
+ {
232
+ "type": "text",
233
+ "id": "btn_name",
234
+ "label": "Title button",
235
+ "default": "Shop more"
236
+ },
237
+ {
238
+ "type": "url",
239
+ "id": "btn_url",
240
+ "label": "URL"
241
+ },
242
+ {
243
+ "type": "header",
244
+ "content": "Brand"
245
+ },
246
+ {
247
+ "type": "image_picker",
248
+ "id": "brand_img",
249
+ "label": "Brand Image",
250
+ "info": "209x37 recommended"
251
+ },
252
+ {
253
+ "type": "text",
254
+ "id": "brand_desc",
255
+ "label": "Brand Description",
256
+ "default": "brand desc"
257
+ },
258
+ {
259
+ "type": "text",
260
+ "id": "brand_name",
261
+ "label": "Title button",
262
+ "default": "Shop this brand"
263
+ },
264
+ {
265
+ "type": "url",
266
+ "id": "brand_url",
267
+ "label": "URL"
268
+ },
269
+ {
270
+ "type": "header",
271
+ "content": "List Products 3"
272
+ },
273
+ {
274
+ "type": "collection",
275
+ "id": "product_collection3",
276
+ "label": "Select collection"
277
+ },
278
+ {
279
+ "type": "text",
280
+ "id": "product_limit3",
281
+ "label": "Limit number",
282
+ "default": "4"
283
+ }
284
+
285
+
286
+ ],
287
+ "blocks": [
288
+ {
289
+ "type": "catetab",
290
+ "name": "Category Block",
291
+ "limit": 12,
292
+ "settings": [
293
+ {
294
+ "type": "image_picker",
295
+ "id": "cate_img",
296
+ "label": "Image",
297
+ "info": "320x320px recommended"
298
+ },
299
+ {
300
+ "type": "text",
301
+ "id": "text1",
302
+ "label": "Title",
303
+ "default": "Our vision"
304
+ },
305
+ {
306
+ "id": "cate_url",
307
+ "type": "url",
308
+ "default": "/collections/all",
309
+ "label": "Button link"
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "type": "brandtab",
315
+ "name": "Brand Image",
316
+ "settings": [
317
+ {
318
+ "type": "image_picker",
319
+ "id": "brand_img",
320
+ "label": "Image",
321
+ "info": "200 x 100px Recommended"
322
+ },
323
+ {
324
+ "type": "url",
325
+ "id": "brand_url",
326
+ "label": "URL"
327
+ }
328
+ ]
329
+ }
330
+
331
+ ],
332
+ "presets": [
333
+ {
334
+ "name": "Category Full Width"
335
+ }
336
+ ]
337
+ }
338
+ {% endschema %}
339
+
340
+ {% stylesheet %}
341
+ {% endstylesheet %}
342
+
343
+ {% javascript %}
344
+ {% endjavascript %}