easyorders 0.1.14 → 0.1.15

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 (40) hide show
  1. package/README.md +93 -93
  2. package/dist/bin/cli.js +12 -5
  3. package/dist/template/theme/config.json +95 -95
  4. package/dist/template/theme/home-sections/category-mosaic/config.json +40 -40
  5. package/dist/template/theme/home-sections/category-mosaic/template.liquid +155 -155
  6. package/dist/template/theme/home-sections/editorial-feature/config.json +67 -67
  7. package/dist/template/theme/home-sections/editorial-feature/template.liquid +153 -153
  8. package/dist/template/theme/home-sections/newsletter-luxe/config.json +60 -60
  9. package/dist/template/theme/home-sections/newsletter-luxe/template.liquid +144 -144
  10. package/dist/template/theme/home-sections/runway-hero/config.json +91 -91
  11. package/dist/template/theme/home-sections/runway-hero/template.liquid +159 -159
  12. package/dist/template/theme/home-sections/shop-the-look/config.json +75 -75
  13. package/dist/template/theme/home-sections/shop-the-look/template.liquid +304 -304
  14. package/dist/template/theme/home-sections/trust-promise/config.json +47 -47
  15. package/dist/template/theme/home-sections/trust-promise/template.liquid +96 -96
  16. package/dist/template/theme/schema.json +151 -151
  17. package/dist/template/theme/script.js +586 -586
  18. package/dist/template/theme/sections/breadcrumbs.liquid +17 -17
  19. package/dist/template/theme/sections/categories.liquid +9 -9
  20. package/dist/template/theme/sections/fake-counter.liquid +27 -27
  21. package/dist/template/theme/sections/fake-stock.liquid +6 -6
  22. package/dist/template/theme/sections/fake-visitor.liquid +6 -6
  23. package/dist/template/theme/sections/featured-products.liquid +110 -110
  24. package/dist/template/theme/sections/fixed-buy-button.liquid +46 -46
  25. package/dist/template/theme/sections/footer.liquid +128 -128
  26. package/dist/template/theme/sections/gallery.liquid +61 -61
  27. package/dist/template/theme/sections/header.liquid +152 -152
  28. package/dist/template/theme/sections/home-products-grid.liquid +109 -109
  29. package/dist/template/theme/sections/list-products.liquid +93 -93
  30. package/dist/template/theme/sections/order-invoice.liquid +154 -154
  31. package/dist/template/theme/sections/product-description.liquid +30 -30
  32. package/dist/template/theme/sections/product-details.liquid +63 -63
  33. package/dist/template/theme/sections/products-grid.liquid +86 -86
  34. package/dist/template/theme/sections/related-products.liquid +88 -88
  35. package/dist/template/theme/sections/reviews.liquid +55 -55
  36. package/dist/template/theme/sections/slider.liquid +43 -43
  37. package/dist/template/theme/sections/thanks.liquid +33 -33
  38. package/dist/template/theme/style.css +3923 -3923
  39. package/dist/template/theme/theme-data.json +9 -9
  40. package/package.json +40 -40
@@ -1,47 +1,47 @@
1
- {
2
- "icon": "https://api.iconify.design/lucide:shield-check.svg",
3
- "label": "Trust promise strip",
4
- "section_schema": [
5
- {
6
- "name": "style",
7
- "type": "select",
8
- "default": "soft",
9
- "description": "Background treatment",
10
- "options": [
11
- { "label": "Soft neutral", "value": "soft" },
12
- { "label": "High contrast", "value": "contrast" }
13
- ]
14
- },
15
- {
16
- "name": "accent_color",
17
- "type": "color",
18
- "default": "#C9A962",
19
- "description": "Icon tint and highlights"
20
- },
21
- {
22
- "name": "promises",
23
- "type": "object_array",
24
- "description": "Service promises",
25
- "fields": [
26
- {
27
- "name": "icon",
28
- "type": "image",
29
- "default": "",
30
- "description": "Optional small icon or logo"
31
- },
32
- {
33
- "name": "title",
34
- "type": "string",
35
- "default": "Complimentary shipping",
36
- "description": "Promise title"
37
- },
38
- {
39
- "name": "text",
40
- "type": "string",
41
- "default": "On all orders over a threshold—tracked and insured.",
42
- "description": "Short supporting copy"
43
- }
44
- ]
45
- }
46
- ]
47
- }
1
+ {
2
+ "icon": "https://api.iconify.design/lucide:shield-check.svg",
3
+ "label": "Trust promise strip",
4
+ "section_schema": [
5
+ {
6
+ "name": "style",
7
+ "type": "select",
8
+ "default": "soft",
9
+ "description": "Background treatment",
10
+ "options": [
11
+ { "label": "Soft neutral", "value": "soft" },
12
+ { "label": "High contrast", "value": "contrast" }
13
+ ]
14
+ },
15
+ {
16
+ "name": "accent_color",
17
+ "type": "color",
18
+ "default": "#C9A962",
19
+ "description": "Icon tint and highlights"
20
+ },
21
+ {
22
+ "name": "promises",
23
+ "type": "object_array",
24
+ "description": "Service promises",
25
+ "fields": [
26
+ {
27
+ "name": "icon",
28
+ "type": "image",
29
+ "default": "",
30
+ "description": "Optional small icon or logo"
31
+ },
32
+ {
33
+ "name": "title",
34
+ "type": "string",
35
+ "default": "Complimentary shipping",
36
+ "description": "Promise title"
37
+ },
38
+ {
39
+ "name": "text",
40
+ "type": "string",
41
+ "default": "On all orders over a threshold—tracked and insured.",
42
+ "description": "Short supporting copy"
43
+ }
44
+ ]
45
+ }
46
+ ]
47
+ }
@@ -1,96 +1,96 @@
1
- <section
2
- class="trust-promise trust-promise--{{ section_data.style | default: 'soft' }}"
3
- style="--tp-accent: {{ section_data.accent_color | default: '#C9A962' }};"
4
- >
5
- {% if section_data.promises and section_data.promises.size > 0 %}
6
- <div class="trust-promise__row">
7
- {% for item in section_data.promises %}
8
- <div class="trust-promise__item">
9
- <div class="trust-promise__icon-wrap" aria-hidden="true">
10
- {% if item.icon != blank %}
11
- <img class="trust-promise__icon" src="{{ item.icon }}" alt="" width="36" height="36" loading="lazy" />
12
- {% else %}
13
- <span class="trust-promise__icon-fallback"></span>
14
- {% endif %}
15
- </div>
16
- <div class="trust-promise__text">
17
- {% if item.title != blank %}
18
- <h3 class="trust-promise__title">{{ item.title }}</h3>
19
- {% endif %}
20
- {% if item.text != blank %}
21
- <p class="trust-promise__desc">{{ item.text }}</p>
22
- {% endif %}
23
- </div>
24
- </div>
25
- {% endfor %}
26
- </div>
27
- {% endif %}
28
- </section>
29
-
30
- <style>
31
- .trust-promise {
32
- padding: 1.75rem 1.25rem;
33
- border-block: 1px solid rgba(20, 18, 24, 0.06);
34
- }
35
- .trust-promise--soft {
36
- background: #faf8f5;
37
- color: #2a2622;
38
- }
39
- .trust-promise--contrast {
40
- background: #141218;
41
- color: #f4eee6;
42
- border-color: rgba(255, 255, 255, 0.08);
43
- }
44
- .trust-promise__row {
45
- max-width: 1100px;
46
- margin: 0 auto;
47
- display: grid;
48
- gap: 1.5rem 2rem;
49
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
50
- align-items: flex-start;
51
- }
52
- .trust-promise__item {
53
- display: flex;
54
- gap: 1rem;
55
- align-items: flex-start;
56
- }
57
- .trust-promise__icon-wrap {
58
- flex-shrink: 0;
59
- width: 44px;
60
- height: 44px;
61
- border-radius: 50%;
62
- display: flex;
63
- align-items: center;
64
- justify-content: center;
65
- background: color-mix(in srgb, var(--tp-accent, #c9a962) 16%, transparent);
66
- border: 1px solid color-mix(in srgb, var(--tp-accent, #c9a962) 35%, transparent);
67
- }
68
- .trust-promise--contrast .trust-promise__icon-wrap {
69
- background: rgba(255, 255, 255, 0.06);
70
- border-color: rgba(255, 255, 255, 0.12);
71
- }
72
- .trust-promise__icon {
73
- width: 22px;
74
- height: 22px;
75
- object-fit: contain;
76
- }
77
- .trust-promise__icon-fallback {
78
- width: 10px;
79
- height: 10px;
80
- border-radius: 50%;
81
- background: var(--tp-accent, #c9a962);
82
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-accent, #c9a962) 35%, transparent);
83
- }
84
- .trust-promise__title {
85
- margin: 0 0 0.35rem;
86
- font-size: 0.95rem;
87
- font-weight: 600;
88
- letter-spacing: 0.02em;
89
- }
90
- .trust-promise__desc {
91
- margin: 0;
92
- font-size: 0.88rem;
93
- line-height: 1.55;
94
- opacity: 0.82;
95
- }
96
- </style>
1
+ <section
2
+ class="trust-promise trust-promise--{{ section_data.style | default: 'soft' }}"
3
+ style="--tp-accent: {{ section_data.accent_color | default: '#C9A962' }};"
4
+ >
5
+ {% if section_data.promises and section_data.promises.size > 0 %}
6
+ <div class="trust-promise__row">
7
+ {% for item in section_data.promises %}
8
+ <div class="trust-promise__item">
9
+ <div class="trust-promise__icon-wrap" aria-hidden="true">
10
+ {% if item.icon != blank %}
11
+ <img class="trust-promise__icon" src="{{ item.icon }}" alt="" width="36" height="36" loading="lazy" />
12
+ {% else %}
13
+ <span class="trust-promise__icon-fallback"></span>
14
+ {% endif %}
15
+ </div>
16
+ <div class="trust-promise__text">
17
+ {% if item.title != blank %}
18
+ <h3 class="trust-promise__title">{{ item.title }}</h3>
19
+ {% endif %}
20
+ {% if item.text != blank %}
21
+ <p class="trust-promise__desc">{{ item.text }}</p>
22
+ {% endif %}
23
+ </div>
24
+ </div>
25
+ {% endfor %}
26
+ </div>
27
+ {% endif %}
28
+ </section>
29
+
30
+ <style>
31
+ .trust-promise {
32
+ padding: 1.75rem 1.25rem;
33
+ border-block: 1px solid rgba(20, 18, 24, 0.06);
34
+ }
35
+ .trust-promise--soft {
36
+ background: #faf8f5;
37
+ color: #2a2622;
38
+ }
39
+ .trust-promise--contrast {
40
+ background: #141218;
41
+ color: #f4eee6;
42
+ border-color: rgba(255, 255, 255, 0.08);
43
+ }
44
+ .trust-promise__row {
45
+ max-width: 1100px;
46
+ margin: 0 auto;
47
+ display: grid;
48
+ gap: 1.5rem 2rem;
49
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
50
+ align-items: flex-start;
51
+ }
52
+ .trust-promise__item {
53
+ display: flex;
54
+ gap: 1rem;
55
+ align-items: flex-start;
56
+ }
57
+ .trust-promise__icon-wrap {
58
+ flex-shrink: 0;
59
+ width: 44px;
60
+ height: 44px;
61
+ border-radius: 50%;
62
+ display: flex;
63
+ align-items: center;
64
+ justify-content: center;
65
+ background: color-mix(in srgb, var(--tp-accent, #c9a962) 16%, transparent);
66
+ border: 1px solid color-mix(in srgb, var(--tp-accent, #c9a962) 35%, transparent);
67
+ }
68
+ .trust-promise--contrast .trust-promise__icon-wrap {
69
+ background: rgba(255, 255, 255, 0.06);
70
+ border-color: rgba(255, 255, 255, 0.12);
71
+ }
72
+ .trust-promise__icon {
73
+ width: 22px;
74
+ height: 22px;
75
+ object-fit: contain;
76
+ }
77
+ .trust-promise__icon-fallback {
78
+ width: 10px;
79
+ height: 10px;
80
+ border-radius: 50%;
81
+ background: var(--tp-accent, #c9a962);
82
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-accent, #c9a962) 35%, transparent);
83
+ }
84
+ .trust-promise__title {
85
+ margin: 0 0 0.35rem;
86
+ font-size: 0.95rem;
87
+ font-weight: 600;
88
+ letter-spacing: 0.02em;
89
+ }
90
+ .trust-promise__desc {
91
+ margin: 0;
92
+ font-size: 0.88rem;
93
+ line-height: 1.55;
94
+ opacity: 0.82;
95
+ }
96
+ </style>
@@ -1,151 +1,151 @@
1
- [
2
- {
3
- "name": "hero_headline",
4
- "type": "string",
5
- "default": "Welcome to Our Store",
6
- "description": "Hero headline text"
7
- },
8
- {
9
- "name": "font_size_base",
10
- "type": "number",
11
- "default": 16,
12
- "description": "Base font size in px"
13
- },
14
- {
15
- "name": "color_primary",
16
- "type": "color",
17
- "default": "#1A1A2E",
18
- "description": "Primary brand color"
19
- },
20
- {
21
- "name": "hero_show_overlay",
22
- "type": "boolean",
23
- "default": true,
24
- "description": "Show dark overlay on hero image"
25
- },
26
- {
27
- "name": "color_scheme",
28
- "type": "select",
29
- "default": "light",
30
- "options": [
31
- {
32
- "label": "Light",
33
- "value": "light"
34
- },
35
- {
36
- "label": "Dark",
37
- "value": "dark"
38
- },
39
- {
40
- "label": "System default",
41
- "value": "system"
42
- }
43
- ],
44
- "description": "Base color scheme"
45
- },
46
- {
47
- "name": "product_badge_types",
48
- "type": "multi_select",
49
- "default": ["sale", "new"],
50
- "options": [
51
- {
52
- "label": "Sale",
53
- "value": "sale"
54
- },
55
- {
56
- "label": "New arrival",
57
- "value": "new"
58
- },
59
- {
60
- "label": "Bestseller",
61
- "value": "bestseller"
62
- },
63
- {
64
- "label": "Low stock",
65
- "value": "low_stock"
66
- },
67
- {
68
- "label": "Sold out",
69
- "value": "sold_out"
70
- }
71
- ],
72
- "description": "Active product badge types"
73
- },
74
- {
75
- "name": "hero_slides",
76
- "type": "object_array",
77
- "fields": [
78
- {
79
- "name": "image",
80
- "type": "image",
81
- "default": "",
82
- "description": "Slide background image"
83
- },
84
- {
85
- "name": "title",
86
- "type": "string",
87
- "default": "",
88
- "description": "Slide headline"
89
- },
90
- {
91
- "name": "overlay_opacity",
92
- "type": "number",
93
- "default": 40,
94
- "description": "Overlay darkness (0–100)"
95
- },
96
- {
97
- "name": "text_color",
98
- "type": "color",
99
- "default": "#FFFFFF",
100
- "description": "Slide text color"
101
- },
102
- {
103
- "name": "enabled",
104
- "type": "boolean",
105
- "default": true,
106
- "description": "Enable this slide"
107
- },
108
- {
109
- "name": "cta_style",
110
- "type": "select",
111
- "default": "filled",
112
- "options": [
113
- {
114
- "label": "Filled",
115
- "value": "filled"
116
- },
117
- {
118
- "label": "Outline",
119
- "value": "outline"
120
- },
121
- {
122
- "label": "Text only",
123
- "value": "text"
124
- }
125
- ],
126
- "description": "CTA button style"
127
- },
128
- {
129
- "name": "show_on_devices",
130
- "type": "multi_select",
131
- "default": ["desktop", "mobile"],
132
- "options": [
133
- {
134
- "label": "Desktop",
135
- "value": "desktop"
136
- },
137
- {
138
- "label": "Tablet",
139
- "value": "tablet"
140
- },
141
- {
142
- "label": "Mobile",
143
- "value": "mobile"
144
- }
145
- ],
146
- "description": "Show this slide on"
147
- }
148
- ],
149
- "description": "Hero slide"
150
- }
151
- ]
1
+ [
2
+ {
3
+ "name": "hero_headline",
4
+ "type": "string",
5
+ "default": "Welcome to Our Store",
6
+ "description": "Hero headline text"
7
+ },
8
+ {
9
+ "name": "font_size_base",
10
+ "type": "number",
11
+ "default": 16,
12
+ "description": "Base font size in px"
13
+ },
14
+ {
15
+ "name": "color_primary",
16
+ "type": "color",
17
+ "default": "#1A1A2E",
18
+ "description": "Primary brand color"
19
+ },
20
+ {
21
+ "name": "hero_show_overlay",
22
+ "type": "boolean",
23
+ "default": true,
24
+ "description": "Show dark overlay on hero image"
25
+ },
26
+ {
27
+ "name": "color_scheme",
28
+ "type": "select",
29
+ "default": "light",
30
+ "options": [
31
+ {
32
+ "label": "Light",
33
+ "value": "light"
34
+ },
35
+ {
36
+ "label": "Dark",
37
+ "value": "dark"
38
+ },
39
+ {
40
+ "label": "System default",
41
+ "value": "system"
42
+ }
43
+ ],
44
+ "description": "Base color scheme"
45
+ },
46
+ {
47
+ "name": "product_badge_types",
48
+ "type": "multi_select",
49
+ "default": ["sale", "new"],
50
+ "options": [
51
+ {
52
+ "label": "Sale",
53
+ "value": "sale"
54
+ },
55
+ {
56
+ "label": "New arrival",
57
+ "value": "new"
58
+ },
59
+ {
60
+ "label": "Bestseller",
61
+ "value": "bestseller"
62
+ },
63
+ {
64
+ "label": "Low stock",
65
+ "value": "low_stock"
66
+ },
67
+ {
68
+ "label": "Sold out",
69
+ "value": "sold_out"
70
+ }
71
+ ],
72
+ "description": "Active product badge types"
73
+ },
74
+ {
75
+ "name": "hero_slides",
76
+ "type": "object_array",
77
+ "fields": [
78
+ {
79
+ "name": "image",
80
+ "type": "image",
81
+ "default": "",
82
+ "description": "Slide background image"
83
+ },
84
+ {
85
+ "name": "title",
86
+ "type": "string",
87
+ "default": "",
88
+ "description": "Slide headline"
89
+ },
90
+ {
91
+ "name": "overlay_opacity",
92
+ "type": "number",
93
+ "default": 40,
94
+ "description": "Overlay darkness (0–100)"
95
+ },
96
+ {
97
+ "name": "text_color",
98
+ "type": "color",
99
+ "default": "#FFFFFF",
100
+ "description": "Slide text color"
101
+ },
102
+ {
103
+ "name": "enabled",
104
+ "type": "boolean",
105
+ "default": true,
106
+ "description": "Enable this slide"
107
+ },
108
+ {
109
+ "name": "cta_style",
110
+ "type": "select",
111
+ "default": "filled",
112
+ "options": [
113
+ {
114
+ "label": "Filled",
115
+ "value": "filled"
116
+ },
117
+ {
118
+ "label": "Outline",
119
+ "value": "outline"
120
+ },
121
+ {
122
+ "label": "Text only",
123
+ "value": "text"
124
+ }
125
+ ],
126
+ "description": "CTA button style"
127
+ },
128
+ {
129
+ "name": "show_on_devices",
130
+ "type": "multi_select",
131
+ "default": ["desktop", "mobile"],
132
+ "options": [
133
+ {
134
+ "label": "Desktop",
135
+ "value": "desktop"
136
+ },
137
+ {
138
+ "label": "Tablet",
139
+ "value": "tablet"
140
+ },
141
+ {
142
+ "label": "Mobile",
143
+ "value": "mobile"
144
+ }
145
+ ],
146
+ "description": "Show this slide on"
147
+ }
148
+ ],
149
+ "description": "Hero slide"
150
+ }
151
+ ]