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.
- package/assets/data/block-patterns.csv +160 -0
- package/assets/data/component-library/GDPR-modal.liquid +183 -0
- package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
- package/assets/data/component-library/_index.csv +157 -19
- package/assets/data/component-library/about.liquid +1557 -0
- package/assets/data/component-library/adv-header.liquid +344 -0
- package/assets/data/component-library/adv-navigation.liquid +542 -0
- package/assets/data/component-library/announcement-bar.liquid +42 -60
- package/assets/data/component-library/article.liquid +242 -0
- package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
- package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
- package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
- package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
- package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
- package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
- package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
- package/assets/data/component-library/blog.liquid +371 -0
- package/assets/data/component-library/brands-page.liquid +114 -0
- package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
- package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
- package/assets/data/component-library/collection-template.liquid +146 -0
- package/assets/data/component-library/contact-us.liquid +663 -0
- package/assets/data/component-library/contact.liquid +256 -0
- package/assets/data/component-library/copyright_payment.liquid +95 -0
- package/assets/data/component-library/custom-content.liquid +832 -0
- package/assets/data/component-library/faq-template-3.liquid +1014 -0
- package/assets/data/component-library/footer-model-1.liquid +503 -0
- package/assets/data/component-library/footer-model-10.liquid +210 -0
- package/assets/data/component-library/footer-model-2.liquid +460 -0
- package/assets/data/component-library/footer-model-3.liquid +548 -0
- package/assets/data/component-library/footer-model-4.liquid +455 -0
- package/assets/data/component-library/footer-model-5.liquid +407 -0
- package/assets/data/component-library/footer-model-6.liquid +543 -0
- package/assets/data/component-library/footer-model-7.liquid +345 -0
- package/assets/data/component-library/footer-model-8.liquid +279 -0
- package/assets/data/component-library/footer-model-9.liquid +376 -0
- package/assets/data/component-library/gallery.liquid +236 -0
- package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
- package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
- package/assets/data/component-library/gp-logo-list.liquid +362 -0
- package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
- package/assets/data/component-library/header-model-1.liquid +427 -0
- package/assets/data/component-library/header-model-10.liquid +599 -0
- package/assets/data/component-library/header-model-2.liquid +633 -0
- package/assets/data/component-library/header-model-3.liquid +415 -0
- package/assets/data/component-library/header-model-4.liquid +754 -0
- package/assets/data/component-library/header-model-5.liquid +562 -0
- package/assets/data/component-library/header-model-6.liquid +713 -0
- package/assets/data/component-library/header-model-7.liquid +743 -0
- package/assets/data/component-library/header-model-8.liquid +500 -0
- package/assets/data/component-library/header-model-9.liquid +506 -0
- package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
- package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
- package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
- package/assets/data/component-library/home-brand-slider.liquid +224 -0
- package/assets/data/component-library/home-circled-block.liquid +332 -0
- package/assets/data/component-library/home-contact-block-1.liquid +395 -0
- package/assets/data/component-library/home-contact-block-2.liquid +372 -0
- package/assets/data/component-library/home-content-block-1.liquid +320 -0
- package/assets/data/component-library/home-donut-chart.liquid +335 -0
- package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
- package/assets/data/component-library/home-faq-model.liquid +323 -0
- package/assets/data/component-library/home-featured-blog.liquid +1462 -0
- package/assets/data/component-library/home-featured-collections.liquid +484 -0
- package/assets/data/component-library/home-gallery-block1.liquid +276 -0
- package/assets/data/component-library/home-gallery-block2.liquid +396 -0
- package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
- package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
- package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
- package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
- package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
- package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
- package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
- package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
- package/assets/data/component-library/home-image-gallery.liquid +1087 -0
- package/assets/data/component-library/home-instagram.liquid +356 -0
- package/assets/data/component-library/home-newsletter.liquid +246 -0
- package/assets/data/component-library/home-number-counter.liquid +790 -0
- package/assets/data/component-library/home-price-table.liquid +416 -0
- package/assets/data/component-library/home-pricing-table.liquid +1076 -0
- package/assets/data/component-library/home-product-grid.liquid +413 -0
- package/assets/data/component-library/home-product-tab-1.liquid +528 -0
- package/assets/data/component-library/home-product-tab-2.liquid +342 -0
- package/assets/data/component-library/home-product-tab-3.liquid +357 -0
- package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
- package/assets/data/component-library/home-quotes-1.liquid +274 -0
- package/assets/data/component-library/home-quotes-2.liquid +239 -0
- package/assets/data/component-library/home-quotes-3.liquid +244 -0
- package/assets/data/component-library/home-quotes-4.liquid +258 -0
- package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
- package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
- package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
- package/assets/data/component-library/home-specification-block-1.liquid +468 -0
- package/assets/data/component-library/home-specification-block-2.liquid +291 -0
- package/assets/data/component-library/home-specification-block-3.liquid +429 -0
- package/assets/data/component-library/home-support-block.liquid +392 -0
- package/assets/data/component-library/home-testimonial.liquid +1348 -0
- package/assets/data/component-library/home-video-banner.liquid +317 -0
- package/assets/data/component-library/home-wide-banner.liquid +327 -0
- package/assets/data/component-library/icon-with-content.liquid +478 -0
- package/assets/data/component-library/instafeed.liquid +1 -0
- package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
- package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
- package/assets/data/component-library/logo-bar.liquid +314 -0
- package/assets/data/component-library/lookbook.liquid +367 -0
- package/assets/data/component-library/manual_blog.liquid +724 -0
- package/assets/data/component-library/navigation-etc.liquid +642 -0
- package/assets/data/component-library/newsletter.liquid +246 -0
- package/assets/data/component-library/order-form.liquid +96 -0
- package/assets/data/component-library/page-catev1-template.liquid +344 -0
- package/assets/data/component-library/popup_video.liquid +396 -0
- package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
- package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
- package/assets/data/component-library/product-template-2.liquid +629 -0
- package/assets/data/component-library/product-template-3.liquid +670 -0
- package/assets/data/component-library/product-template-4.liquid +627 -0
- package/assets/data/component-library/product-template-5.liquid +652 -0
- package/assets/data/component-library/product-template.liquid +698 -0
- package/assets/data/component-library/rich-text.liquid +541 -0
- package/assets/data/component-library/section-countdown-v2.liquid +215 -0
- package/assets/data/component-library/services.liquid +596 -0
- package/assets/data/component-library/shipping_info.liquid +327 -0
- package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
- package/assets/data/component-library/sidebar-category.liquid +105 -0
- package/assets/data/component-library/sidebar-colors.liquid +104 -0
- package/assets/data/component-library/single_product_feature.liquid +1892 -0
- package/assets/data/component-library/social-links-menu.liquid +244 -0
- package/assets/data/component-library/someone-purchased.liquid +190 -0
- package/assets/data/component-library/special-offer-area.liquid +530 -0
- package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
- package/assets/data/component-library/top-bar-type-1.liquid +200 -0
- package/assets/data/component-library/top-bar-type-10.liquid +395 -0
- package/assets/data/component-library/top-bar-type-11.liquid +395 -0
- package/assets/data/component-library/top-bar-type-2.liquid +106 -0
- package/assets/data/component-library/top-bar-type-3.liquid +205 -0
- package/assets/data/component-library/top-countdown-bar.liquid +116 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
- package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
- package/assets/data/component-library/video.liquid +511 -0
- package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
- package/assets/data/design-tokens.csv +93 -57
- package/assets/data/schema-library.csv +48 -46
- package/assets/data/settings-profiles.csv +235 -0
- package/assets/data/shopify-best-practices.csv +58 -36
- package/assets/scripts/backfill-component-index.py +102 -0
- package/assets/scripts/core.py +30 -8
- package/assets/scripts/fix-schema-library.py +42 -0
- package/assets/scripts/kb-analyzer-helpers.py +136 -0
- package/assets/scripts/kb-analyzer.py +186 -0
- package/assets/scripts/kb-builder.py +32 -63
- package/assets/scripts/kb-constants.py +62 -0
- package/assets/scripts/kb-extractor-helpers.py +178 -0
- package/assets/scripts/kb-extractor.py +106 -170
- package/assets/scripts/kb-synthesizer.py +251 -0
- package/assets/scripts/quality-gate-checks.py +55 -0
- package/assets/scripts/quality-gate.py +56 -2
- package/assets/scripts/section-generator-helpers.py +74 -0
- package/assets/scripts/section-generator.py +59 -49
- package/assets/templates/generation-prompt.md +78 -14
- package/package.json +1 -1
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
{% assign full = section.settings.full %}
|
|
2
|
+
{% assign margin = section.settings.margin | split: ',' %}
|
|
3
|
+
{% assign top = margin[0] %}
|
|
4
|
+
{% assign bottom = margin[1] %}
|
|
5
|
+
{%- assign limit = section.settings.grid | times: section.settings.rows -%}
|
|
6
|
+
|
|
7
|
+
{% capture image_block %}
|
|
8
|
+
<div class="overlay-text">
|
|
9
|
+
<div class="collection_title imageText_position {{ section.settings.image_text_position }}">
|
|
10
|
+
{% if section.settings.sub_caption != blank %}
|
|
11
|
+
<h6 class="section-header__title" style="color:{{ section.settings.sub_caption_clr }};">
|
|
12
|
+
{{ section.settings.sub_caption }}
|
|
13
|
+
</h6>
|
|
14
|
+
{% endif %}
|
|
15
|
+
{% if section.settings.caption != blank %}
|
|
16
|
+
<h2 class="section-header__title" style="color:{{ section.settings.caption_clr }};">
|
|
17
|
+
{{ section.settings.caption }}
|
|
18
|
+
</h2>
|
|
19
|
+
{% endif %}
|
|
20
|
+
</div>
|
|
21
|
+
{% unless section.settings.layout_setup == '100%' %}
|
|
22
|
+
{% if section.settings.image != blank %}
|
|
23
|
+
<img src="{{ section.settings.image | img_url: '1920X' }}" alt="{{ section.settings.image }}" />
|
|
24
|
+
<div class="ovrly"></div>
|
|
25
|
+
{% else %}
|
|
26
|
+
<img src="//via.placeholder.com/650x980">
|
|
27
|
+
{% endif%}
|
|
28
|
+
{% endunless %}
|
|
29
|
+
</div>
|
|
30
|
+
{% endcapture %}
|
|
31
|
+
|
|
32
|
+
{% capture content_block %}
|
|
33
|
+
{% if section.settings.title != blank or section.settings.small_title != blank %}
|
|
34
|
+
<div class="section-header section-header--small full-position-{{section.settings.content_position}}">
|
|
35
|
+
<div class="border-title">
|
|
36
|
+
{% if section.settings.small_title != blank %}
|
|
37
|
+
<div class="short-desc"><p style="color:{{ section.settings.text_clr }};">{{ section.settings.small_title }}</p></div>
|
|
38
|
+
{% endif %}
|
|
39
|
+
{% if section.settings.title != blank %}
|
|
40
|
+
<h2 class="section-header__title" style="color:{{ section.settings.title_clr }};">
|
|
41
|
+
{{ section.settings.title }}
|
|
42
|
+
</h2>
|
|
43
|
+
{% endif %}
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
{% endif %}
|
|
47
|
+
{% endcapture %}
|
|
48
|
+
|
|
49
|
+
<div class="product-grid-block" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;float:left;width:100%;{% if section.settings.image_bg != blank %} background-image:url('{{ section.settings.image_bg | img_url: 'master' }}');background-repeat:no-repeat;background-position:top left; {% endif %} background-color:{{ section.settings.bg_color }};">
|
|
50
|
+
{%- assign collection = collections[section.settings.collection] -%}
|
|
51
|
+
<div class="{% if section.settings.full %} container-fluid {% else %}container{% endif %}">
|
|
52
|
+
<div class="dt-sc-hr-invisible-large"></div>
|
|
53
|
+
<div class="product-block-inner">
|
|
54
|
+
{{content_block }}
|
|
55
|
+
{% if section.settings.layout_setup == '75%' %}
|
|
56
|
+
{% assign column1 = 'grid__item wide--three-quarters post-large--two-quarters large--two-quarters medium-down--grid__item small--grid__item' %}
|
|
57
|
+
{% assign column2 = 'grid__item wide--one-quarter post-large--two-quarters large--two-quarters medium-down--grid__item small--grid__item' %}
|
|
58
|
+
{% elsif section.settings.layout_setup == '50%' %}
|
|
59
|
+
{% assign column1 = 'grid__item wide--one-half post-large--one-half large--one-half medium-down--grid__item small--grid__item' %}
|
|
60
|
+
{% assign column2 = 'grid__item wide--one-half post-large--one-half large--one-half medium-down--grid__item small--grid__item' %}
|
|
61
|
+
{% elsif section.settings.layout_setup == '67%' %}
|
|
62
|
+
{% assign column1 = 'grid__item wide--two-thirds post-large--two-thirds large--two-quarters medium-down--grid__item small--grid__item' %}
|
|
63
|
+
{% assign column2 = 'grid__item wide--one-third post-large--two-third large--two-quarters medium-down--grid__item small--grid__item' %}
|
|
64
|
+
{% elsif section.settings.layout_setup == '60%' %}
|
|
65
|
+
{% assign column1 = 'grid__item wide--three-fifths post-large--three-fifths large--three-fifths medium-down--grid__item small--grid__item' %}
|
|
66
|
+
{% assign column2 = 'grid__item wide--two-fifths post-large--two-fifths large--two-fifths medium-down--grid__item small--grid__item' %}
|
|
67
|
+
{% elsif section.settings.layout_setup == '100%' %}
|
|
68
|
+
{% assign column1 = 'grid__item' %}
|
|
69
|
+
{% assign column2 = 'grid__item' %}
|
|
70
|
+
{% else %}
|
|
71
|
+
{% assign column1 = 'grid__item wide--three-quarters post-large--two-quarters large--two-quarters medium-down--grid__item small--grid__item' %}
|
|
72
|
+
{% assign column2 = 'grid__item wide--one-quarter post-large--two-quarters large--two-quarters medium-down--grid__item small--grid__item' %}
|
|
73
|
+
{% endif %}
|
|
74
|
+
<div class="grid-uniform">
|
|
75
|
+
{% if section.settings.image-position == 'left' %}
|
|
76
|
+
<div class="{{column2}} image-on-left">
|
|
77
|
+
{{image_block}}
|
|
78
|
+
</div>
|
|
79
|
+
{% endif %}
|
|
80
|
+
<div class="{% if section.settings.image-position != 'none' %} {{column1}} {% else %}grid__item{% endif %} product-grid-{{ section.settings.image-position }} {{ section.settings.grid_position }}">
|
|
81
|
+
<div class="product-block load-wrapper ">
|
|
82
|
+
<ul class="grid-uniform">
|
|
83
|
+
{% case section.settings.grid %}
|
|
84
|
+
{% when '1' %}
|
|
85
|
+
{% when '2' %}
|
|
86
|
+
{%- assign grid_item_width = 'wide--one-half post-large--one-half large--one-half medium--one-half small--one-half' -%}
|
|
87
|
+
{% when '3' %}
|
|
88
|
+
{% if section.settings.image-position == 'none' %}
|
|
89
|
+
{%- assign grid_item_width = 'wide--one-third post-large--one-third large--one-third medium--one-half small--one-half' -%}
|
|
90
|
+
{% else %}
|
|
91
|
+
{%- assign grid_item_width = 'wide--one-third post-large--one-third large--one-third medium--one-half small--one-half' -%}
|
|
92
|
+
{% endif %}
|
|
93
|
+
{% when '4' %}
|
|
94
|
+
{% if section.settings.image-position == 'none' %}
|
|
95
|
+
{%- assign grid_item_width = 'wide--one-quarter post-large--one-quarter large--one-half medium--one-half small--one-whole' -%}
|
|
96
|
+
{% else %}
|
|
97
|
+
{%- assign grid_item_width = 'wide--one-quarter post-large--one-half large--one-half medium--one-half small--one-whole' -%}
|
|
98
|
+
{% endif %}
|
|
99
|
+
{% when '5' %}
|
|
100
|
+
{% if section.settings.image-position == 'none' %}
|
|
101
|
+
{%- assign grid_item_width = 'wide--one-fifth post-large--one-quarter large--one-third medium--one-half small--one-half' -%}
|
|
102
|
+
{% else %}
|
|
103
|
+
{%- assign grid_item_width = 'wide--one-fifth post-large--one-half large--one-half medium--one-half small--one-half' -%}
|
|
104
|
+
{% endif %}
|
|
105
|
+
{% endcase %}
|
|
106
|
+
{% for product in collection.products limit:limit %}
|
|
107
|
+
{% include 'product-grid-item', grid_item_width: grid_item_width %}
|
|
108
|
+
{% else %}
|
|
109
|
+
{% for i in (1..8) %}
|
|
110
|
+
{% include 'empty-row', grid_item_width: grid_item_width %}
|
|
111
|
+
{% endfor %}
|
|
112
|
+
{% endfor %}
|
|
113
|
+
</ul>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
{% if section.settings.image-position == 'right' %}
|
|
117
|
+
<div class="{{column2}} image-on-right">
|
|
118
|
+
{{image_block}}
|
|
119
|
+
</div>
|
|
120
|
+
{% endif %}
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
126
|
+
<style>
|
|
127
|
+
|
|
128
|
+
{% if section.settings.image-position != 'none' %}
|
|
129
|
+
#shopify-section-{{section.id}}.home-product-grid .product-block-inner>.grid-uniform:before { border:1px solid {{ section.settings.border_clr }}; }
|
|
130
|
+
{% endif %}
|
|
131
|
+
|
|
132
|
+
</style>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
{% schema %}
|
|
136
|
+
{
|
|
137
|
+
"name": "Product Grid Type 1",
|
|
138
|
+
"class": "index-section home-product-grid",
|
|
139
|
+
"settings": [
|
|
140
|
+
{
|
|
141
|
+
"type": "checkbox",
|
|
142
|
+
"id": "full",
|
|
143
|
+
"label": "Show Full width"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "text",
|
|
147
|
+
"id": "margin",
|
|
148
|
+
"label": "Style value (Margin)",
|
|
149
|
+
"default":"0,0",
|
|
150
|
+
"info":"Top(px),Bottom(px)"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "color",
|
|
154
|
+
"id": "bg_color",
|
|
155
|
+
"label": "Bg Color",
|
|
156
|
+
"default": "#fff"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "image_picker",
|
|
160
|
+
"id": "image_bg",
|
|
161
|
+
"label": "Image",
|
|
162
|
+
"info": "Size: 1920x1770"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "select",
|
|
166
|
+
"id": "layout_setup",
|
|
167
|
+
"label": "Layout Grid Style",
|
|
168
|
+
"options": [
|
|
169
|
+
{
|
|
170
|
+
"value": "75%",
|
|
171
|
+
"label": "75/25"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"value": "50%",
|
|
175
|
+
"label": "50/50"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"value": "67%",
|
|
179
|
+
"label": "67/33"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"value": "60%",
|
|
183
|
+
"label": "60/40"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"value": "100%",
|
|
187
|
+
"label": "100/100"
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"default": "75%"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"type": "text",
|
|
194
|
+
"id": "title",
|
|
195
|
+
"label": "Heading",
|
|
196
|
+
"default": "Product Grid Type 1"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "color",
|
|
200
|
+
"id": "title_clr",
|
|
201
|
+
"label": "Title Color",
|
|
202
|
+
"default":"#000"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"type": "text",
|
|
206
|
+
"id": "small_title",
|
|
207
|
+
"label": "Small Heading",
|
|
208
|
+
"default": "Small Heading"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "color",
|
|
212
|
+
"id": "text_clr",
|
|
213
|
+
"label": "Text color",
|
|
214
|
+
"default":"#000"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"type": "select",
|
|
218
|
+
"id": "content_position",
|
|
219
|
+
"label": "Heading Position",
|
|
220
|
+
"options": [
|
|
221
|
+
{
|
|
222
|
+
"value": "default",
|
|
223
|
+
"label": "Full center"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"value": "full-left",
|
|
227
|
+
"label": "Full left"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"value": "full-right",
|
|
231
|
+
"label": "Full right"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"id": "collection",
|
|
237
|
+
"type": "collection",
|
|
238
|
+
"label": "Collection"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "select",
|
|
242
|
+
"id": "grid",
|
|
243
|
+
"label": "Products per row",
|
|
244
|
+
"default": "4",
|
|
245
|
+
"options": [
|
|
246
|
+
{
|
|
247
|
+
"value": "2",
|
|
248
|
+
"label": "2"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"value": "3",
|
|
252
|
+
"label": "3"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"value": "4",
|
|
256
|
+
"label": "4"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"value": "5",
|
|
260
|
+
"label": "5"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "select",
|
|
266
|
+
"id": "rows",
|
|
267
|
+
"label": "Rows per page (grid only)",
|
|
268
|
+
"default": "2",
|
|
269
|
+
"options": [
|
|
270
|
+
{
|
|
271
|
+
"value": "1",
|
|
272
|
+
"label": "1"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"value": "2",
|
|
276
|
+
"label": "2"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"value": "3",
|
|
280
|
+
"label": "3"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"value": "4",
|
|
284
|
+
"label": "4"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"value": "5",
|
|
288
|
+
"label": "5"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"type": "select",
|
|
294
|
+
"id": "grid_position",
|
|
295
|
+
"label": "Product Grid Position",
|
|
296
|
+
"options": [
|
|
297
|
+
{
|
|
298
|
+
"value": "default",
|
|
299
|
+
"label": "Top"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"value": "middle",
|
|
303
|
+
"label": "Middle"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "color",
|
|
309
|
+
"id": "border_clr",
|
|
310
|
+
"label": "border Color",
|
|
311
|
+
"default":"#efefef"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "image_picker",
|
|
315
|
+
"id": "image",
|
|
316
|
+
"label": "Image",
|
|
317
|
+
"info": "Size: 1000x710"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "select",
|
|
321
|
+
"id": "image-position",
|
|
322
|
+
"label": "Image alignment",
|
|
323
|
+
"default": "left",
|
|
324
|
+
"options": [
|
|
325
|
+
{
|
|
326
|
+
"value": "left",
|
|
327
|
+
"label": "Left"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"value": "right",
|
|
331
|
+
"label": "Right"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"value": "none",
|
|
335
|
+
"label": "None"
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "text",
|
|
341
|
+
"id": "caption",
|
|
342
|
+
"label": "Heading",
|
|
343
|
+
"default": "Image Title"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"type": "color",
|
|
347
|
+
"id": "caption_clr",
|
|
348
|
+
"label": "Heading Color",
|
|
349
|
+
"default":"#000"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"type": "text",
|
|
353
|
+
"id": "sub_caption",
|
|
354
|
+
"label": "Sub Heading",
|
|
355
|
+
"default": "Image Text"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"type": "color",
|
|
359
|
+
"id": "sub_caption_clr",
|
|
360
|
+
"label": "Sub Heading Color",
|
|
361
|
+
"default":"#000"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "select",
|
|
365
|
+
"id": "image_text_position",
|
|
366
|
+
"label": "Image Text Position",
|
|
367
|
+
"options": [
|
|
368
|
+
{
|
|
369
|
+
"value": "imgtxt-top-left",
|
|
370
|
+
"label": "Top Left"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"value": "imgtxt-top-right",
|
|
374
|
+
"label": "Top Right"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"value": "imgtxt-middle",
|
|
378
|
+
"label": "Middle"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"value": "imgtxt-middle-left",
|
|
382
|
+
"label": "Middle Left"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"value": "imgtxt-middle-right",
|
|
386
|
+
"label": "Middle Right"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"value": "imgtxt-bottom",
|
|
390
|
+
"label": "Bottom"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"value": "imgtxt-bottom-left",
|
|
394
|
+
"label": "Bottom Left"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"value": "imgtxt-bottom-right",
|
|
398
|
+
"label": "Bottom Right"
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
],
|
|
402
|
+
"default": "imgtxt-middle"
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
],
|
|
406
|
+
"presets": [
|
|
407
|
+
{
|
|
408
|
+
"name": "Product Grid Type 1",
|
|
409
|
+
"category": "Collection"
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
}
|
|
413
|
+
{% endschema %}
|