@shopify/cli 3.76.1 → 3.77.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/dist/{chunk-RDHYYXFE.js → chunk-3ARIMAIR.js} +3 -3
- package/dist/{chunk-EHL6XSBG.js → chunk-4BPRKRYD.js} +4 -4
- package/dist/{chunk-WWI2QVFK.js → chunk-5ZMRZCPZ.js} +2 -2
- package/dist/{chunk-T2LQCR7X.js → chunk-6ZKE2WPK.js} +2 -2
- package/dist/{chunk-FZT5AGA5.js → chunk-74V7KQLD.js} +4 -4
- package/dist/{chunk-LUCMIGZJ.js → chunk-7IKFEU6I.js} +2 -2
- package/dist/{chunk-JBS4NEJX.js → chunk-ACSVNEID.js} +5 -5
- package/dist/{chunk-PDQLM7DM.js → chunk-AUBRXAVZ.js} +3 -3
- package/dist/{chunk-6TPMZTXG.js → chunk-AW7SZYGV.js} +7 -7
- package/dist/{chunk-ACGZSEHA.js → chunk-AZ33PIX2.js} +7 -7
- package/dist/{chunk-MVZ4LGIM.js → chunk-CBLCYLJO.js} +2 -2
- package/dist/{chunk-DFFXOFLT.js → chunk-DHO2PUCK.js} +2 -2
- package/dist/{chunk-IROPFRNN.js → chunk-FJAIUBHO.js} +34 -18
- package/dist/{chunk-ZQU7DVLN.js → chunk-GPICPOCE.js} +8 -5
- package/dist/{chunk-W6WCETMJ.js → chunk-IX7XAR6F.js} +143 -28
- package/dist/{chunk-LXQWZFLX.js → chunk-J3C7BGUW.js} +22 -10
- package/dist/{chunk-ULBY4CUT.js → chunk-MYIEKIZR.js} +2 -2
- package/dist/{chunk-RB5K7TGA.js → chunk-NHMQOM7T.js} +2 -2
- package/dist/{chunk-3THHNKSL.js → chunk-NZVJ77WD.js} +3 -3
- package/dist/{chunk-742MYXOA.js → chunk-O5U2T7LH.js} +6 -3
- package/dist/{chunk-FUA76K3T.js → chunk-PHWPEUZI.js} +5 -2
- package/dist/{chunk-3Q5TSFEN.js → chunk-QVZW3IVL.js} +7 -7
- package/dist/{chunk-LTIYNGCV.js → chunk-RA5UDHSI.js} +3 -3
- package/dist/{chunk-4OD4TP6T.js → chunk-RWT677FV.js} +4 -4
- package/dist/{chunk-5TZDSORY.js → chunk-S3PY2ULH.js} +213 -120
- package/dist/{chunk-7UIQNXWE.js → chunk-SO33Y5TT.js} +3 -3
- package/dist/{chunk-6KV6OKFB.js → chunk-U7E5RRYF.js} +3 -3
- package/dist/{chunk-VX5SZCUI.js → chunk-V5G4FJZH.js} +14 -12
- package/dist/{chunk-4SFWD6RY.js → chunk-VTEM2QWG.js} +3 -3
- package/dist/{chunk-A44GEDKW.js → chunk-WN6OLVLP.js} +4 -4
- package/dist/{chunk-BJG7ZRQ2.js → chunk-YL7TDFFA.js} +3 -3
- package/dist/{chunk-EJU7LVJW.js → chunk-YXR557PE.js} +3 -3
- package/dist/chunk-ZKUNCSWD.js +52 -0
- package/dist/{chunk-WOG2LQ3X.js → chunk-ZVNHCLRN.js} +3 -3
- package/dist/cli/commands/auth/logout.js +11 -11
- package/dist/cli/commands/auth/logout.test.js +12 -12
- package/dist/cli/commands/cache/clear.js +10 -10
- package/dist/cli/commands/debug/command-flags.js +10 -10
- package/dist/cli/commands/docs/generate.js +10 -10
- package/dist/cli/commands/docs/generate.test.js +10 -10
- package/dist/cli/commands/help.d.ts +1 -0
- package/dist/cli/commands/help.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/index.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
- package/dist/cli/commands/notifications/generate.js +11 -11
- package/dist/cli/commands/notifications/list.d.ts +3 -0
- package/dist/cli/commands/notifications/list.js +11 -11
- package/dist/cli/commands/search.d.ts +1 -0
- package/dist/cli/commands/search.js +11 -11
- package/dist/cli/commands/upgrade.js +11 -11
- package/dist/cli/commands/version.js +11 -11
- package/dist/cli/commands/version.test.js +11 -11
- package/dist/cli/services/commands/notifications.js +6 -6
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +4 -4
- package/dist/configs/all.yml +39 -3
- package/dist/configs/recommended.yml +36 -0
- package/dist/configs/theme-app-extension.yml +3 -3
- package/dist/{custom-oclif-loader-BXHJERI2.js → custom-oclif-loader-TE6EUPGI.js} +2 -2
- package/dist/data/filters.json +270 -327
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +1482 -3709
- package/dist/data/preset.json +6 -0
- package/dist/data/preset_blocks.json +6 -0
- package/dist/data/setting.json +167 -50
- package/dist/data/tags.json +45 -101
- package/dist/{error-handler-FV3FJ3VW.js → error-handler-WC4XSLZQ.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +8 -8
- package/dist/index.js +5451 -2314
- package/dist/{local-PMOJBQT6.js → local-7Q5JCU62.js} +2 -2
- package/dist/{node-5MJ6ATKS.js → node-MNEYEH5U.js} +12 -12
- package/dist/{node-package-manager-FZRL3EQB.js → node-package-manager-3SFTB3BW.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5VMS7DNB.js → ui-NMP2SY3G.js} +2 -2
- package/dist/{workerd-JHDITYBC.js → workerd-NN737W52.js} +12 -12
- package/oclif.manifest.json +32 -19
- package/package.json +6 -6
- package/dist/chunk-UAZUB5EV.js +0 -28
package/dist/data/filters.json
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
"deprecated": false,
|
|
5
5
|
"deprecation_reason": "",
|
|
6
6
|
"description": "",
|
|
7
|
-
"parameters": [
|
|
8
|
-
|
|
9
|
-
],
|
|
7
|
+
"parameters": [],
|
|
10
8
|
"return_type": [
|
|
11
9
|
{
|
|
12
10
|
"type": "number",
|
|
@@ -36,9 +34,7 @@
|
|
|
36
34
|
"deprecated": false,
|
|
37
35
|
"deprecation_reason": "",
|
|
38
36
|
"description": "Accepts the following object types:\n\n- `product`\n- `variant`",
|
|
39
|
-
"parameters": [
|
|
40
|
-
|
|
41
|
-
],
|
|
37
|
+
"parameters": [],
|
|
42
38
|
"return_type": [
|
|
43
39
|
{
|
|
44
40
|
"type": "array",
|
|
@@ -78,9 +74,7 @@
|
|
|
78
74
|
"deprecated": false,
|
|
79
75
|
"deprecation_reason": "",
|
|
80
76
|
"description": "<aside class=\"note beta\">\n <h4>Developer preview</h4>\n <p>Style settings are currently only available as part of the <a href=\"/storefronts/themes/architecture/blocks/theme-blocks/developer-preview\">Theme blocks developer preview</a>.</p>\n</aside>",
|
|
81
|
-
"parameters": [
|
|
82
|
-
|
|
83
|
-
],
|
|
77
|
+
"parameters": [],
|
|
84
78
|
"return_type": [
|
|
85
79
|
{
|
|
86
80
|
"type": "string",
|
|
@@ -116,9 +110,7 @@
|
|
|
116
110
|
"name": "HTML",
|
|
117
111
|
"positional": true,
|
|
118
112
|
"required": false,
|
|
119
|
-
"types": [
|
|
120
|
-
|
|
121
|
-
]
|
|
113
|
+
"types": []
|
|
122
114
|
}
|
|
123
115
|
],
|
|
124
116
|
"return_type": [
|
|
@@ -166,9 +158,7 @@
|
|
|
166
158
|
"name": "HTML",
|
|
167
159
|
"positional": true,
|
|
168
160
|
"required": false,
|
|
169
|
-
"types": [
|
|
170
|
-
|
|
171
|
-
]
|
|
161
|
+
"types": []
|
|
172
162
|
}
|
|
173
163
|
],
|
|
174
164
|
"return_type": [
|
|
@@ -210,9 +200,7 @@
|
|
|
210
200
|
"deprecated": false,
|
|
211
201
|
"deprecation_reason": "",
|
|
212
202
|
"description": "Accepts the following values:\n\n- `manual` (as defined in the [collection settings](https://help.shopify.com/manual/products/collections/collection-layout#change-the-sort-order-for-the-products-in-a-collection))\n- `best-selling`\n- `title-ascending`\n- `title-descending`\n- `price-ascending`\n- `price-descending`\n- `created-ascending`\n- `created-descending`\n\n> Tip:\n> You can append the `sort_by` filter to the [`url_for_type`](/docs/api/liquid/filters/url_for_type)\n> and [`url_for_vendor`](/docs/api/liquid/filters/url_for_vendor) filters.",
|
|
213
|
-
"parameters": [
|
|
214
|
-
|
|
215
|
-
],
|
|
203
|
+
"parameters": [],
|
|
216
204
|
"return_type": [
|
|
217
205
|
{
|
|
218
206
|
"type": "string",
|
|
@@ -242,9 +230,7 @@
|
|
|
242
230
|
"deprecated": false,
|
|
243
231
|
"deprecation_reason": "",
|
|
244
232
|
"description": "",
|
|
245
|
-
"parameters": [
|
|
246
|
-
|
|
247
|
-
],
|
|
233
|
+
"parameters": [],
|
|
248
234
|
"return_type": [
|
|
249
235
|
{
|
|
250
236
|
"type": "string",
|
|
@@ -274,9 +260,7 @@
|
|
|
274
260
|
"deprecated": false,
|
|
275
261
|
"deprecation_reason": "",
|
|
276
262
|
"description": "",
|
|
277
|
-
"parameters": [
|
|
278
|
-
|
|
279
|
-
],
|
|
263
|
+
"parameters": [],
|
|
280
264
|
"return_type": [
|
|
281
265
|
{
|
|
282
266
|
"type": "string",
|
|
@@ -306,9 +290,7 @@
|
|
|
306
290
|
"deprecated": false,
|
|
307
291
|
"deprecation_reason": "",
|
|
308
292
|
"description": "When the collection context is included, you can access the associated [`collection` object](/docs/api/liquid/objects/collection)\nin the [product template](/themes/architecture/templates/product).\n\n> Caution:\n> Because a standard product page and a product page in the context of a collection have the same content on separate\n> URLs, you should consider the SEO implications of using the `within` filter.",
|
|
309
|
-
"parameters": [
|
|
310
|
-
|
|
311
|
-
],
|
|
293
|
+
"parameters": [],
|
|
312
294
|
"return_type": [
|
|
313
295
|
{
|
|
314
296
|
"type": "string",
|
|
@@ -378,9 +360,7 @@
|
|
|
378
360
|
"deprecated": false,
|
|
379
361
|
"deprecation_reason": "",
|
|
380
362
|
"description": "",
|
|
381
|
-
"parameters": [
|
|
382
|
-
|
|
383
|
-
],
|
|
363
|
+
"parameters": [],
|
|
384
364
|
"return_type": [
|
|
385
365
|
{
|
|
386
366
|
"type": "number",
|
|
@@ -808,9 +788,7 @@
|
|
|
808
788
|
"deprecated": false,
|
|
809
789
|
"deprecation_reason": "",
|
|
810
790
|
"description": "Because colors are converted to `hex6` format, if a color with an alpha component is provided, then the alpha component\nis excluded from the output.",
|
|
811
|
-
"parameters": [
|
|
812
|
-
|
|
813
|
-
],
|
|
791
|
+
"parameters": [],
|
|
814
792
|
"return_type": [
|
|
815
793
|
{
|
|
816
794
|
"type": "string",
|
|
@@ -840,9 +818,7 @@
|
|
|
840
818
|
"deprecated": false,
|
|
841
819
|
"deprecation_reason": "",
|
|
842
820
|
"description": "If a color with an alpha component is provided, the color is converted to `HSLA` format.",
|
|
843
|
-
"parameters": [
|
|
844
|
-
|
|
845
|
-
],
|
|
821
|
+
"parameters": [],
|
|
846
822
|
"return_type": [
|
|
847
823
|
{
|
|
848
824
|
"type": "string",
|
|
@@ -872,9 +848,7 @@
|
|
|
872
848
|
"deprecated": false,
|
|
873
849
|
"deprecation_reason": "",
|
|
874
850
|
"description": "If a color with an alpha component is provided, then the color is converted to `RGBA` format.",
|
|
875
|
-
"parameters": [
|
|
876
|
-
|
|
877
|
-
],
|
|
851
|
+
"parameters": [],
|
|
878
852
|
"return_type": [
|
|
879
853
|
{
|
|
880
854
|
"type": "string",
|
|
@@ -954,9 +928,7 @@
|
|
|
954
928
|
"deprecated": false,
|
|
955
929
|
"deprecation_reason": "",
|
|
956
930
|
"description": "The secret key for the message is supplied as a parameter to the filter.",
|
|
957
|
-
"parameters": [
|
|
958
|
-
|
|
959
|
-
],
|
|
931
|
+
"parameters": [],
|
|
960
932
|
"return_type": [
|
|
961
933
|
{
|
|
962
934
|
"type": "string",
|
|
@@ -986,9 +958,7 @@
|
|
|
986
958
|
"deprecated": false,
|
|
987
959
|
"deprecation_reason": "",
|
|
988
960
|
"description": "The secret key for the message is supplied as a parameter to the filter.",
|
|
989
|
-
"parameters": [
|
|
990
|
-
|
|
991
|
-
],
|
|
961
|
+
"parameters": [],
|
|
992
962
|
"return_type": [
|
|
993
963
|
{
|
|
994
964
|
"type": "string",
|
|
@@ -1018,9 +988,7 @@
|
|
|
1018
988
|
"deprecated": false,
|
|
1019
989
|
"deprecation_reason": "",
|
|
1020
990
|
"description": "",
|
|
1021
|
-
"parameters": [
|
|
1022
|
-
|
|
1023
|
-
],
|
|
991
|
+
"parameters": [],
|
|
1024
992
|
"return_type": [
|
|
1025
993
|
{
|
|
1026
994
|
"type": "string",
|
|
@@ -1050,9 +1018,7 @@
|
|
|
1050
1018
|
"deprecated": false,
|
|
1051
1019
|
"deprecation_reason": "",
|
|
1052
1020
|
"description": "",
|
|
1053
|
-
"parameters": [
|
|
1054
|
-
|
|
1055
|
-
],
|
|
1021
|
+
"parameters": [],
|
|
1056
1022
|
"return_type": [
|
|
1057
1023
|
{
|
|
1058
1024
|
"type": "string",
|
|
@@ -1082,9 +1048,7 @@
|
|
|
1082
1048
|
"deprecated": false,
|
|
1083
1049
|
"deprecation_reason": "",
|
|
1084
1050
|
"description": "",
|
|
1085
|
-
"parameters": [
|
|
1086
|
-
|
|
1087
|
-
],
|
|
1051
|
+
"parameters": [],
|
|
1088
1052
|
"return_type": [
|
|
1089
1053
|
{
|
|
1090
1054
|
"type": "string",
|
|
@@ -1183,9 +1147,7 @@
|
|
|
1183
1147
|
"deprecated": false,
|
|
1184
1148
|
"deprecation_reason": "",
|
|
1185
1149
|
"description": "",
|
|
1186
|
-
"parameters": [
|
|
1187
|
-
|
|
1188
|
-
],
|
|
1150
|
+
"parameters": [],
|
|
1189
1151
|
"return_type": [
|
|
1190
1152
|
{
|
|
1191
1153
|
"type": "string",
|
|
@@ -1215,9 +1177,7 @@
|
|
|
1215
1177
|
"deprecated": false,
|
|
1216
1178
|
"deprecation_reason": "",
|
|
1217
1179
|
"description": "",
|
|
1218
|
-
"parameters": [
|
|
1219
|
-
|
|
1220
|
-
],
|
|
1180
|
+
"parameters": [],
|
|
1221
1181
|
"return_type": [
|
|
1222
1182
|
{
|
|
1223
1183
|
"type": "string",
|
|
@@ -1247,9 +1207,7 @@
|
|
|
1247
1207
|
"deprecated": false,
|
|
1248
1208
|
"deprecation_reason": "",
|
|
1249
1209
|
"description": "",
|
|
1250
|
-
"parameters": [
|
|
1251
|
-
|
|
1252
|
-
],
|
|
1210
|
+
"parameters": [],
|
|
1253
1211
|
"return_type": [
|
|
1254
1212
|
{
|
|
1255
1213
|
"type": "string",
|
|
@@ -1355,9 +1313,7 @@
|
|
|
1355
1313
|
"name": "font_display",
|
|
1356
1314
|
"positional": false,
|
|
1357
1315
|
"required": false,
|
|
1358
|
-
"types": [
|
|
1359
|
-
|
|
1360
|
-
]
|
|
1316
|
+
"types": []
|
|
1361
1317
|
}
|
|
1362
1318
|
],
|
|
1363
1319
|
"return_type": [
|
|
@@ -1508,9 +1464,7 @@
|
|
|
1508
1464
|
"deprecated": false,
|
|
1509
1465
|
"deprecation_reason": "",
|
|
1510
1466
|
"description": "",
|
|
1511
|
-
"parameters": [
|
|
1512
|
-
|
|
1513
|
-
],
|
|
1467
|
+
"parameters": [],
|
|
1514
1468
|
"return_type": [
|
|
1515
1469
|
{
|
|
1516
1470
|
"type": "string",
|
|
@@ -1519,9 +1473,7 @@
|
|
|
1519
1473
|
"array_value": ""
|
|
1520
1474
|
}
|
|
1521
1475
|
],
|
|
1522
|
-
"examples": [
|
|
1523
|
-
|
|
1524
|
-
],
|
|
1476
|
+
"examples": [],
|
|
1525
1477
|
"summary": "Generates default error messages for each possible value of [`form.errors`](/docs/themes/liquid/reference/objects/form#form-errors).",
|
|
1526
1478
|
"syntax": "string | default_errors",
|
|
1527
1479
|
"name": "default_errors"
|
|
@@ -1530,10 +1482,8 @@
|
|
|
1530
1482
|
"category": "payment",
|
|
1531
1483
|
"deprecated": false,
|
|
1532
1484
|
"deprecation_reason": "",
|
|
1533
|
-
"description": "> Note:\n> You can't render accelerated checkout buttons through AJAX requests, including those through the\n> [Section Rendering API](/api/section-rendering). The accelerated checkout buttons are added by JavaScript included\n> by Shopify through the [`content_for_header`](/docs/api/liquid/objects/content_for_header) object, which only runs on\n> the initial page load.\n>\n> For guidance on styling or event tracking of accelerated checkout buttons,
|
|
1534
|
-
"parameters": [
|
|
1535
|
-
|
|
1536
|
-
],
|
|
1485
|
+
"description": "> Note:\n> You can't render accelerated checkout buttons through AJAX requests, including those through the\n> [Section Rendering API](/api/section-rendering). The accelerated checkout buttons are added by JavaScript included\n> by Shopify through the [`content_for_header`](/docs/api/liquid/objects/content_for_header) object, which only runs on\n> the initial page load.\n>\n> For guidance on styling or event tracking of accelerated checkout buttons, refer to [accelerated checkout](/docs/storefronts/themes/pricing-payments/accelerated-checkout/).",
|
|
1486
|
+
"parameters": [],
|
|
1537
1487
|
"return_type": [
|
|
1538
1488
|
{
|
|
1539
1489
|
"type": "string",
|
|
@@ -1543,7 +1493,16 @@
|
|
|
1543
1493
|
}
|
|
1544
1494
|
],
|
|
1545
1495
|
"examples": [
|
|
1546
|
-
|
|
1496
|
+
{
|
|
1497
|
+
"name": "",
|
|
1498
|
+
"description": "",
|
|
1499
|
+
"syntax": "",
|
|
1500
|
+
"path": "/products/health-potion",
|
|
1501
|
+
"raw_liquid": "{% form 'product', product %}\n {{ form | payment_button }}\n{% endform %}",
|
|
1502
|
+
"parameter": false,
|
|
1503
|
+
"display_type": "text",
|
|
1504
|
+
"show_data_tab": true
|
|
1505
|
+
}
|
|
1547
1506
|
],
|
|
1548
1507
|
"summary": "Generates an HTML container to host [accelerated checkout buttons](https://help.shopify.com/manual/online-store/dynamic-checkout)\nfor a product. The `payment_button` filter must be used on the `form` object within a [product form](/docs/api/liquid/tags/form#form-product).",
|
|
1549
1508
|
"syntax": "form | payment_button",
|
|
@@ -1554,9 +1513,7 @@
|
|
|
1554
1513
|
"deprecated": false,
|
|
1555
1514
|
"deprecation_reason": "",
|
|
1556
1515
|
"description": "The `payment_terms` filter must be used on the `form` object within a [product form](/docs/api/liquid/tags/form#form-product) or\n[cart form](/docs/api/liquid/tags/form#form-cart).\n\n```liquid\n{% form 'product', product %}\n {{ form | payment_terms }}\n{% endform %}\n```\n\n```liquid\n{% form 'cart', cart %}\n {{ form | payment_terms }}\n{% endform %}\n```",
|
|
1557
|
-
"parameters": [
|
|
1558
|
-
|
|
1559
|
-
],
|
|
1516
|
+
"parameters": [],
|
|
1560
1517
|
"return_type": [
|
|
1561
1518
|
{
|
|
1562
1519
|
"type": "string",
|
|
@@ -1565,9 +1522,7 @@
|
|
|
1565
1522
|
"array_value": ""
|
|
1566
1523
|
}
|
|
1567
1524
|
],
|
|
1568
|
-
"examples": [
|
|
1569
|
-
|
|
1570
|
-
],
|
|
1525
|
+
"examples": [],
|
|
1571
1526
|
"summary": "Generates the HTML for the [Shop Pay Installments banner](/themes/pricing-payments/installments).",
|
|
1572
1527
|
"syntax": "form | payment_terms",
|
|
1573
1528
|
"name": "payment_terms"
|
|
@@ -1656,9 +1611,7 @@
|
|
|
1656
1611
|
"deprecated": false,
|
|
1657
1612
|
"deprecation_reason": "",
|
|
1658
1613
|
"description": "The `translate` filter has an alias of `t`, which is more commonly used.\n\n> Tip:\n> To learn more about using the `t` filter, refer to [storefront locale file usage](/themes/architecture/locales/storefront-locale-files#usage)\n> or [schema locale file usage](/themes/architecture/locales/schema-locale-files#usage).",
|
|
1659
|
-
"parameters": [
|
|
1660
|
-
|
|
1661
|
-
],
|
|
1614
|
+
"parameters": [],
|
|
1662
1615
|
"return_type": [
|
|
1663
1616
|
{
|
|
1664
1617
|
"type": "string",
|
|
@@ -1698,9 +1651,7 @@
|
|
|
1698
1651
|
"deprecated": false,
|
|
1699
1652
|
"deprecation_reason": "",
|
|
1700
1653
|
"description": "> Note:\n> The asset size must be less than 15KB to be inlined.\n>",
|
|
1701
|
-
"parameters": [
|
|
1702
|
-
|
|
1703
|
-
],
|
|
1654
|
+
"parameters": [],
|
|
1704
1655
|
"return_type": [
|
|
1705
1656
|
{
|
|
1706
1657
|
"type": "string",
|
|
@@ -1730,9 +1681,7 @@
|
|
|
1730
1681
|
"deprecated": false,
|
|
1731
1682
|
"deprecation_reason": "",
|
|
1732
1683
|
"description": "> Tip:\n> When using the JSON output in JavaScript, you don't need to wrap it in quotes because the `json` filter includes them.\n> The `json` filter also escapes any quotes inside the output.\n\n#### Product inventory\n\nWhen applied to a [`product` object](/docs/api/liquid/objects/product) on any Shopify store created after December 5, 2017, the\n`json` filter doesn't output values for the `inventory_quantity` and `inventory_policy` properties of any associated\n[variants](/docs/api/liquid/objects/variant). These properties are excluded to help prevent bots and crawlers from retrieving\ninventory quantities for stores to which they aren't granted access.\n\nIf you need inventory information, you can access it through individual variants.",
|
|
1733
|
-
"parameters": [
|
|
1734
|
-
|
|
1735
|
-
],
|
|
1684
|
+
"parameters": [],
|
|
1736
1685
|
"return_type": [
|
|
1737
1686
|
{
|
|
1738
1687
|
"type": "string",
|
|
@@ -1762,9 +1711,7 @@
|
|
|
1762
1711
|
"deprecated": false,
|
|
1763
1712
|
"deprecation_reason": "",
|
|
1764
1713
|
"description": "",
|
|
1765
|
-
"parameters": [
|
|
1766
|
-
|
|
1767
|
-
],
|
|
1714
|
+
"parameters": [],
|
|
1768
1715
|
"return_type": [
|
|
1769
1716
|
{
|
|
1770
1717
|
"type": "number",
|
|
@@ -1794,9 +1741,7 @@
|
|
|
1794
1741
|
"deprecated": false,
|
|
1795
1742
|
"deprecation_reason": "",
|
|
1796
1743
|
"description": "",
|
|
1797
|
-
"parameters": [
|
|
1798
|
-
|
|
1799
|
-
],
|
|
1744
|
+
"parameters": [],
|
|
1800
1745
|
"return_type": [
|
|
1801
1746
|
{
|
|
1802
1747
|
"type": "string",
|
|
@@ -1826,9 +1771,7 @@
|
|
|
1826
1771
|
"deprecated": false,
|
|
1827
1772
|
"deprecation_reason": "",
|
|
1828
1773
|
"description": "",
|
|
1829
|
-
"parameters": [
|
|
1830
|
-
|
|
1831
|
-
],
|
|
1774
|
+
"parameters": [],
|
|
1832
1775
|
"return_type": [
|
|
1833
1776
|
{
|
|
1834
1777
|
"type": "number",
|
|
@@ -1858,9 +1801,7 @@
|
|
|
1858
1801
|
"deprecated": false,
|
|
1859
1802
|
"deprecation_reason": "",
|
|
1860
1803
|
"description": "",
|
|
1861
|
-
"parameters": [
|
|
1862
|
-
|
|
1863
|
-
],
|
|
1804
|
+
"parameters": [],
|
|
1864
1805
|
"return_type": [
|
|
1865
1806
|
{
|
|
1866
1807
|
"type": "number",
|
|
@@ -1890,9 +1831,7 @@
|
|
|
1890
1831
|
"deprecated": false,
|
|
1891
1832
|
"deprecation_reason": "",
|
|
1892
1833
|
"description": "",
|
|
1893
|
-
"parameters": [
|
|
1894
|
-
|
|
1895
|
-
],
|
|
1834
|
+
"parameters": [],
|
|
1896
1835
|
"return_type": [
|
|
1897
1836
|
{
|
|
1898
1837
|
"type": "string",
|
|
@@ -1922,9 +1861,7 @@
|
|
|
1922
1861
|
"deprecated": false,
|
|
1923
1862
|
"deprecation_reason": "",
|
|
1924
1863
|
"description": "",
|
|
1925
|
-
"parameters": [
|
|
1926
|
-
|
|
1927
|
-
],
|
|
1864
|
+
"parameters": [],
|
|
1928
1865
|
"return_type": [
|
|
1929
1866
|
{
|
|
1930
1867
|
"type": "string",
|
|
@@ -1954,9 +1891,7 @@
|
|
|
1954
1891
|
"deprecated": false,
|
|
1955
1892
|
"deprecation_reason": "",
|
|
1956
1893
|
"description": "",
|
|
1957
|
-
"parameters": [
|
|
1958
|
-
|
|
1959
|
-
],
|
|
1894
|
+
"parameters": [],
|
|
1960
1895
|
"return_type": [
|
|
1961
1896
|
{
|
|
1962
1897
|
"type": "string",
|
|
@@ -1986,9 +1921,7 @@
|
|
|
1986
1921
|
"deprecated": false,
|
|
1987
1922
|
"deprecation_reason": "",
|
|
1988
1923
|
"description": "",
|
|
1989
|
-
"parameters": [
|
|
1990
|
-
|
|
1991
|
-
],
|
|
1924
|
+
"parameters": [],
|
|
1992
1925
|
"return_type": [
|
|
1993
1926
|
{
|
|
1994
1927
|
"type": "string",
|
|
@@ -2018,9 +1951,7 @@
|
|
|
2018
1951
|
"deprecated": false,
|
|
2019
1952
|
"deprecation_reason": "",
|
|
2020
1953
|
"description": "",
|
|
2021
|
-
"parameters": [
|
|
2022
|
-
|
|
2023
|
-
],
|
|
1954
|
+
"parameters": [],
|
|
2024
1955
|
"return_type": [
|
|
2025
1956
|
{
|
|
2026
1957
|
"type": "string",
|
|
@@ -2050,9 +1981,7 @@
|
|
|
2050
1981
|
"deprecated": false,
|
|
2051
1982
|
"deprecation_reason": "",
|
|
2052
1983
|
"description": "",
|
|
2053
|
-
"parameters": [
|
|
2054
|
-
|
|
2055
|
-
],
|
|
1984
|
+
"parameters": [],
|
|
2056
1985
|
"return_type": [
|
|
2057
1986
|
{
|
|
2058
1987
|
"type": "number",
|
|
@@ -2082,9 +2011,7 @@
|
|
|
2082
2011
|
"deprecated": false,
|
|
2083
2012
|
"deprecation_reason": "",
|
|
2084
2013
|
"description": "",
|
|
2085
|
-
"parameters": [
|
|
2086
|
-
|
|
2087
|
-
],
|
|
2014
|
+
"parameters": [],
|
|
2088
2015
|
"return_type": [
|
|
2089
2016
|
{
|
|
2090
2017
|
"type": "array",
|
|
@@ -2114,9 +2041,7 @@
|
|
|
2114
2041
|
"deprecated": false,
|
|
2115
2042
|
"deprecation_reason": "",
|
|
2116
2043
|
"description": "> Note:\n> The `concat` filter won't filter out duplicates. If you want to remove duplicates, then you need to use the\n> [`uniq` filter](/docs/api/liquid/filters/uniq).",
|
|
2117
|
-
"parameters": [
|
|
2118
|
-
|
|
2119
|
-
],
|
|
2044
|
+
"parameters": [],
|
|
2120
2045
|
"return_type": [
|
|
2121
2046
|
{
|
|
2122
2047
|
"type": "array",
|
|
@@ -2150,7 +2075,7 @@
|
|
|
2150
2075
|
{
|
|
2151
2076
|
"description": "Whether to use false values instead of the default.",
|
|
2152
2077
|
"name": "allow_false",
|
|
2153
|
-
"positional":
|
|
2078
|
+
"positional": false,
|
|
2154
2079
|
"required": false,
|
|
2155
2080
|
"types": [
|
|
2156
2081
|
"boolean"
|
|
@@ -2196,9 +2121,7 @@
|
|
|
2196
2121
|
"deprecated": false,
|
|
2197
2122
|
"deprecation_reason": "",
|
|
2198
2123
|
"description": "",
|
|
2199
|
-
"parameters": [
|
|
2200
|
-
|
|
2201
|
-
],
|
|
2124
|
+
"parameters": [],
|
|
2202
2125
|
"return_type": [
|
|
2203
2126
|
{
|
|
2204
2127
|
"type": "number",
|
|
@@ -2228,9 +2151,7 @@
|
|
|
2228
2151
|
"deprecated": false,
|
|
2229
2152
|
"deprecation_reason": "",
|
|
2230
2153
|
"description": "",
|
|
2231
|
-
"parameters": [
|
|
2232
|
-
|
|
2233
|
-
],
|
|
2154
|
+
"parameters": [],
|
|
2234
2155
|
"return_type": [
|
|
2235
2156
|
{
|
|
2236
2157
|
"type": "string",
|
|
@@ -2260,9 +2181,7 @@
|
|
|
2260
2181
|
"deprecated": false,
|
|
2261
2182
|
"deprecation_reason": "",
|
|
2262
2183
|
"description": "",
|
|
2263
|
-
"parameters": [
|
|
2264
|
-
|
|
2265
|
-
],
|
|
2184
|
+
"parameters": [],
|
|
2266
2185
|
"return_type": [
|
|
2267
2186
|
{
|
|
2268
2187
|
"type": "string",
|
|
@@ -2292,9 +2211,7 @@
|
|
|
2292
2211
|
"deprecated": false,
|
|
2293
2212
|
"deprecation_reason": "",
|
|
2294
2213
|
"description": "",
|
|
2295
|
-
"parameters": [
|
|
2296
|
-
|
|
2297
|
-
],
|
|
2214
|
+
"parameters": [],
|
|
2298
2215
|
"return_type": [
|
|
2299
2216
|
{
|
|
2300
2217
|
"type": "string",
|
|
@@ -2323,10 +2240,88 @@
|
|
|
2323
2240
|
"category": "array",
|
|
2324
2241
|
"deprecated": false,
|
|
2325
2242
|
"deprecation_reason": "",
|
|
2326
|
-
"description": "",
|
|
2327
|
-
"parameters": [
|
|
2328
|
-
|
|
2243
|
+
"description": "This requires you to provide both the property name and the associated value.",
|
|
2244
|
+
"parameters": [],
|
|
2245
|
+
"return_type": [
|
|
2246
|
+
{
|
|
2247
|
+
"type": "untyped",
|
|
2248
|
+
"name": "",
|
|
2249
|
+
"description": "",
|
|
2250
|
+
"array_value": ""
|
|
2251
|
+
}
|
|
2252
|
+
],
|
|
2253
|
+
"examples": [
|
|
2254
|
+
{
|
|
2255
|
+
"name": "",
|
|
2256
|
+
"description": "",
|
|
2257
|
+
"syntax": "",
|
|
2258
|
+
"path": "/collections/all",
|
|
2259
|
+
"raw_liquid": "{% assign product = collection.products | find: 'vendor', \"Polina's Potent Potions\" %}\n\n{{ product.title }}",
|
|
2260
|
+
"parameter": false,
|
|
2261
|
+
"display_type": "text",
|
|
2262
|
+
"show_data_tab": true
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"name": "Returns `nil` when no items match the specified property value.",
|
|
2266
|
+
"description": "",
|
|
2267
|
+
"syntax": "",
|
|
2268
|
+
"path": "/collections/all",
|
|
2269
|
+
"raw_liquid": "{% assign product = collection.products | find: 'vendor', \"Polina's Potions\" %}\n\n{{ product.title | default: \"No product found\" }}",
|
|
2270
|
+
"parameter": false,
|
|
2271
|
+
"display_type": "text",
|
|
2272
|
+
"show_data_tab": true
|
|
2273
|
+
}
|
|
2329
2274
|
],
|
|
2275
|
+
"summary": "Returns the first item in an array with a specific property value.",
|
|
2276
|
+
"syntax": "array | find: string, string",
|
|
2277
|
+
"name": "find"
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"category": "array",
|
|
2281
|
+
"deprecated": false,
|
|
2282
|
+
"deprecation_reason": "",
|
|
2283
|
+
"description": "This requires you to provide both the property name and the associated value.",
|
|
2284
|
+
"parameters": [],
|
|
2285
|
+
"return_type": [
|
|
2286
|
+
{
|
|
2287
|
+
"type": "number",
|
|
2288
|
+
"name": "",
|
|
2289
|
+
"description": "",
|
|
2290
|
+
"array_value": ""
|
|
2291
|
+
}
|
|
2292
|
+
],
|
|
2293
|
+
"examples": [
|
|
2294
|
+
{
|
|
2295
|
+
"name": "",
|
|
2296
|
+
"description": "",
|
|
2297
|
+
"syntax": "",
|
|
2298
|
+
"path": "/collections/all",
|
|
2299
|
+
"raw_liquid": "{% assign index = collection.products | find_index: 'vendor', \"Polina's Potent Potions\" %}\n\n{{ index }}",
|
|
2300
|
+
"parameter": false,
|
|
2301
|
+
"display_type": "text",
|
|
2302
|
+
"show_data_tab": true
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"name": "Returns `nil` when no items match the specified property value.",
|
|
2306
|
+
"description": "",
|
|
2307
|
+
"syntax": "",
|
|
2308
|
+
"path": "/collections/all",
|
|
2309
|
+
"raw_liquid": "{% assign index = collection.products | find_index: 'vendor', \"Polina's Potions\" %}\n\n{{ index | default: \"No index found\" }}",
|
|
2310
|
+
"parameter": false,
|
|
2311
|
+
"display_type": "text",
|
|
2312
|
+
"show_data_tab": true
|
|
2313
|
+
}
|
|
2314
|
+
],
|
|
2315
|
+
"summary": "Returns the index of the first item in an array with a specific property value.",
|
|
2316
|
+
"syntax": "array | find_index: string, string",
|
|
2317
|
+
"name": "find_index"
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"category": "array",
|
|
2321
|
+
"deprecated": false,
|
|
2322
|
+
"deprecation_reason": "",
|
|
2323
|
+
"description": "",
|
|
2324
|
+
"parameters": [],
|
|
2330
2325
|
"return_type": [
|
|
2331
2326
|
{
|
|
2332
2327
|
"type": "untyped",
|
|
@@ -2366,9 +2361,7 @@
|
|
|
2366
2361
|
"deprecated": false,
|
|
2367
2362
|
"deprecation_reason": "",
|
|
2368
2363
|
"description": "",
|
|
2369
|
-
"parameters": [
|
|
2370
|
-
|
|
2371
|
-
],
|
|
2364
|
+
"parameters": [],
|
|
2372
2365
|
"return_type": [
|
|
2373
2366
|
{
|
|
2374
2367
|
"type": "number",
|
|
@@ -2397,10 +2390,48 @@
|
|
|
2397
2390
|
"category": "array",
|
|
2398
2391
|
"deprecated": false,
|
|
2399
2392
|
"deprecation_reason": "",
|
|
2400
|
-
"description": "",
|
|
2401
|
-
"parameters": [
|
|
2402
|
-
|
|
2393
|
+
"description": "This requires you to provide both the property name and the associated value.",
|
|
2394
|
+
"parameters": [],
|
|
2395
|
+
"return_type": [
|
|
2396
|
+
{
|
|
2397
|
+
"type": "boolean",
|
|
2398
|
+
"name": "",
|
|
2399
|
+
"description": "",
|
|
2400
|
+
"array_value": ""
|
|
2401
|
+
}
|
|
2402
|
+
],
|
|
2403
|
+
"examples": [
|
|
2404
|
+
{
|
|
2405
|
+
"name": "",
|
|
2406
|
+
"description": "",
|
|
2407
|
+
"syntax": "",
|
|
2408
|
+
"path": "/collections/all",
|
|
2409
|
+
"raw_liquid": "{% assign has_potent_potions = collection.products | has: 'vendor', \"Polina's Potent Potions\" %}\n\n{{ has_potent_potions }}",
|
|
2410
|
+
"parameter": false,
|
|
2411
|
+
"display_type": "text",
|
|
2412
|
+
"show_data_tab": true
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"name": "Returns `false` when no items match the specified property value.",
|
|
2416
|
+
"description": "",
|
|
2417
|
+
"syntax": "",
|
|
2418
|
+
"path": "/collections/all",
|
|
2419
|
+
"raw_liquid": "{% assign has_potent_potions = collection.products | has: 'vendor', \"Polina's Potions\" %}\n\n{{ has_potent_potions }}",
|
|
2420
|
+
"parameter": false,
|
|
2421
|
+
"display_type": "text",
|
|
2422
|
+
"show_data_tab": true
|
|
2423
|
+
}
|
|
2403
2424
|
],
|
|
2425
|
+
"summary": "Tests if any item in an array has a specific property value.",
|
|
2426
|
+
"syntax": "array | has: string, string",
|
|
2427
|
+
"name": "has"
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"category": "array",
|
|
2431
|
+
"deprecated": false,
|
|
2432
|
+
"deprecation_reason": "",
|
|
2433
|
+
"description": "",
|
|
2434
|
+
"parameters": [],
|
|
2404
2435
|
"return_type": [
|
|
2405
2436
|
{
|
|
2406
2437
|
"type": "string",
|
|
@@ -2440,9 +2471,7 @@
|
|
|
2440
2471
|
"deprecated": false,
|
|
2441
2472
|
"deprecation_reason": "",
|
|
2442
2473
|
"description": "",
|
|
2443
|
-
"parameters": [
|
|
2444
|
-
|
|
2445
|
-
],
|
|
2474
|
+
"parameters": [],
|
|
2446
2475
|
"return_type": [
|
|
2447
2476
|
{
|
|
2448
2477
|
"type": "untyped",
|
|
@@ -2482,9 +2511,7 @@
|
|
|
2482
2511
|
"deprecated": false,
|
|
2483
2512
|
"deprecation_reason": "",
|
|
2484
2513
|
"description": "",
|
|
2485
|
-
"parameters": [
|
|
2486
|
-
|
|
2487
|
-
],
|
|
2514
|
+
"parameters": [],
|
|
2488
2515
|
"return_type": [
|
|
2489
2516
|
{
|
|
2490
2517
|
"type": "string",
|
|
@@ -2514,9 +2541,7 @@
|
|
|
2514
2541
|
"deprecated": false,
|
|
2515
2542
|
"deprecation_reason": "",
|
|
2516
2543
|
"description": "",
|
|
2517
|
-
"parameters": [
|
|
2518
|
-
|
|
2519
|
-
],
|
|
2544
|
+
"parameters": [],
|
|
2520
2545
|
"return_type": [
|
|
2521
2546
|
{
|
|
2522
2547
|
"type": "array",
|
|
@@ -2546,9 +2571,7 @@
|
|
|
2546
2571
|
"deprecated": false,
|
|
2547
2572
|
"deprecation_reason": "",
|
|
2548
2573
|
"description": "",
|
|
2549
|
-
"parameters": [
|
|
2550
|
-
|
|
2551
|
-
],
|
|
2574
|
+
"parameters": [],
|
|
2552
2575
|
"return_type": [
|
|
2553
2576
|
{
|
|
2554
2577
|
"type": "number",
|
|
@@ -2578,9 +2601,7 @@
|
|
|
2578
2601
|
"deprecated": false,
|
|
2579
2602
|
"deprecation_reason": "",
|
|
2580
2603
|
"description": "",
|
|
2581
|
-
"parameters": [
|
|
2582
|
-
|
|
2583
|
-
],
|
|
2604
|
+
"parameters": [],
|
|
2584
2605
|
"return_type": [
|
|
2585
2606
|
{
|
|
2586
2607
|
"type": "number",
|
|
@@ -2610,9 +2631,7 @@
|
|
|
2610
2631
|
"deprecated": false,
|
|
2611
2632
|
"deprecation_reason": "",
|
|
2612
2633
|
"description": "",
|
|
2613
|
-
"parameters": [
|
|
2614
|
-
|
|
2615
|
-
],
|
|
2634
|
+
"parameters": [],
|
|
2616
2635
|
"return_type": [
|
|
2617
2636
|
{
|
|
2618
2637
|
"type": "string",
|
|
@@ -2642,9 +2661,7 @@
|
|
|
2642
2661
|
"deprecated": false,
|
|
2643
2662
|
"deprecation_reason": "",
|
|
2644
2663
|
"description": "",
|
|
2645
|
-
"parameters": [
|
|
2646
|
-
|
|
2647
|
-
],
|
|
2664
|
+
"parameters": [],
|
|
2648
2665
|
"return_type": [
|
|
2649
2666
|
{
|
|
2650
2667
|
"type": "number",
|
|
@@ -2674,9 +2691,7 @@
|
|
|
2674
2691
|
"deprecated": false,
|
|
2675
2692
|
"deprecation_reason": "",
|
|
2676
2693
|
"description": "",
|
|
2677
|
-
"parameters": [
|
|
2678
|
-
|
|
2679
|
-
],
|
|
2694
|
+
"parameters": [],
|
|
2680
2695
|
"return_type": [
|
|
2681
2696
|
{
|
|
2682
2697
|
"type": "string",
|
|
@@ -2701,14 +2716,42 @@
|
|
|
2701
2716
|
"syntax": "string | prepend: string",
|
|
2702
2717
|
"name": "prepend"
|
|
2703
2718
|
},
|
|
2719
|
+
{
|
|
2720
|
+
"category": "array",
|
|
2721
|
+
"deprecated": false,
|
|
2722
|
+
"deprecation_reason": "",
|
|
2723
|
+
"description": "This requires you to provide both the property name and the associated value.",
|
|
2724
|
+
"parameters": [],
|
|
2725
|
+
"return_type": [
|
|
2726
|
+
{
|
|
2727
|
+
"type": "array",
|
|
2728
|
+
"name": "",
|
|
2729
|
+
"description": "",
|
|
2730
|
+
"array_value": "untyped"
|
|
2731
|
+
}
|
|
2732
|
+
],
|
|
2733
|
+
"examples": [
|
|
2734
|
+
{
|
|
2735
|
+
"name": "",
|
|
2736
|
+
"description": "",
|
|
2737
|
+
"syntax": "",
|
|
2738
|
+
"path": "/collections/all",
|
|
2739
|
+
"raw_liquid": "{% assign polina_products = collection.products | reject: 'vendor', \"Polina's Potent Potions\" %}\n\nProducts from other vendors than Polina's Potent Potions:\n\n{% for product in polina_products -%}\n - {{ product.title }}\n{%- endfor %}",
|
|
2740
|
+
"parameter": false,
|
|
2741
|
+
"display_type": "text",
|
|
2742
|
+
"show_data_tab": true
|
|
2743
|
+
}
|
|
2744
|
+
],
|
|
2745
|
+
"summary": "Filters an array to exclude items with a specific property value.",
|
|
2746
|
+
"syntax": "array | reject: string, string",
|
|
2747
|
+
"name": "reject"
|
|
2748
|
+
},
|
|
2704
2749
|
{
|
|
2705
2750
|
"category": "string",
|
|
2706
2751
|
"deprecated": false,
|
|
2707
2752
|
"deprecation_reason": "",
|
|
2708
2753
|
"description": "",
|
|
2709
|
-
"parameters": [
|
|
2710
|
-
|
|
2711
|
-
],
|
|
2754
|
+
"parameters": [],
|
|
2712
2755
|
"return_type": [
|
|
2713
2756
|
{
|
|
2714
2757
|
"type": "string",
|
|
@@ -2738,9 +2781,7 @@
|
|
|
2738
2781
|
"deprecated": false,
|
|
2739
2782
|
"deprecation_reason": "",
|
|
2740
2783
|
"description": "",
|
|
2741
|
-
"parameters": [
|
|
2742
|
-
|
|
2743
|
-
],
|
|
2784
|
+
"parameters": [],
|
|
2744
2785
|
"return_type": [
|
|
2745
2786
|
{
|
|
2746
2787
|
"type": "string",
|
|
@@ -2770,9 +2811,7 @@
|
|
|
2770
2811
|
"deprecated": false,
|
|
2771
2812
|
"deprecation_reason": "",
|
|
2772
2813
|
"description": "",
|
|
2773
|
-
"parameters": [
|
|
2774
|
-
|
|
2775
|
-
],
|
|
2814
|
+
"parameters": [],
|
|
2776
2815
|
"return_type": [
|
|
2777
2816
|
{
|
|
2778
2817
|
"type": "string",
|
|
@@ -2802,9 +2841,7 @@
|
|
|
2802
2841
|
"deprecated": false,
|
|
2803
2842
|
"deprecation_reason": "",
|
|
2804
2843
|
"description": "",
|
|
2805
|
-
"parameters": [
|
|
2806
|
-
|
|
2807
|
-
],
|
|
2844
|
+
"parameters": [],
|
|
2808
2845
|
"return_type": [
|
|
2809
2846
|
{
|
|
2810
2847
|
"type": "string",
|
|
@@ -2834,9 +2871,7 @@
|
|
|
2834
2871
|
"deprecated": false,
|
|
2835
2872
|
"deprecation_reason": "",
|
|
2836
2873
|
"description": "",
|
|
2837
|
-
"parameters": [
|
|
2838
|
-
|
|
2839
|
-
],
|
|
2874
|
+
"parameters": [],
|
|
2840
2875
|
"return_type": [
|
|
2841
2876
|
{
|
|
2842
2877
|
"type": "string",
|
|
@@ -2866,9 +2901,7 @@
|
|
|
2866
2901
|
"deprecated": false,
|
|
2867
2902
|
"deprecation_reason": "",
|
|
2868
2903
|
"description": "",
|
|
2869
|
-
"parameters": [
|
|
2870
|
-
|
|
2871
|
-
],
|
|
2904
|
+
"parameters": [],
|
|
2872
2905
|
"return_type": [
|
|
2873
2906
|
{
|
|
2874
2907
|
"type": "string",
|
|
@@ -2898,9 +2931,7 @@
|
|
|
2898
2931
|
"deprecated": false,
|
|
2899
2932
|
"deprecation_reason": "",
|
|
2900
2933
|
"description": "",
|
|
2901
|
-
"parameters": [
|
|
2902
|
-
|
|
2903
|
-
],
|
|
2934
|
+
"parameters": [],
|
|
2904
2935
|
"return_type": [
|
|
2905
2936
|
{
|
|
2906
2937
|
"type": "array",
|
|
@@ -2940,9 +2971,7 @@
|
|
|
2940
2971
|
"deprecated": false,
|
|
2941
2972
|
"deprecation_reason": "",
|
|
2942
2973
|
"description": "",
|
|
2943
|
-
"parameters": [
|
|
2944
|
-
|
|
2945
|
-
],
|
|
2974
|
+
"parameters": [],
|
|
2946
2975
|
"return_type": [
|
|
2947
2976
|
{
|
|
2948
2977
|
"type": "number",
|
|
@@ -2982,9 +3011,7 @@
|
|
|
2982
3011
|
"deprecated": false,
|
|
2983
3012
|
"deprecation_reason": "",
|
|
2984
3013
|
"description": "",
|
|
2985
|
-
"parameters": [
|
|
2986
|
-
|
|
2987
|
-
],
|
|
3014
|
+
"parameters": [],
|
|
2988
3015
|
"return_type": [
|
|
2989
3016
|
{
|
|
2990
3017
|
"type": "string",
|
|
@@ -3014,9 +3041,7 @@
|
|
|
3014
3041
|
"deprecated": false,
|
|
3015
3042
|
"deprecation_reason": "",
|
|
3016
3043
|
"description": "The size of a string is the number of characters that the string includes. The size of an array is the number of items\nin the array.",
|
|
3017
|
-
"parameters": [
|
|
3018
|
-
|
|
3019
|
-
],
|
|
3044
|
+
"parameters": [],
|
|
3020
3045
|
"return_type": [
|
|
3021
3046
|
{
|
|
3022
3047
|
"type": "number",
|
|
@@ -3056,9 +3081,7 @@
|
|
|
3056
3081
|
"deprecated": false,
|
|
3057
3082
|
"deprecation_reason": "",
|
|
3058
3083
|
"description": "By default, the substring has a length of one character, and the array series has one array item. However, you can\nprovide a second parameter to specify the number of characters or array items.",
|
|
3059
|
-
"parameters": [
|
|
3060
|
-
|
|
3061
|
-
],
|
|
3084
|
+
"parameters": [],
|
|
3062
3085
|
"return_type": [
|
|
3063
3086
|
{
|
|
3064
3087
|
"type": "string",
|
|
@@ -3098,9 +3121,7 @@
|
|
|
3098
3121
|
"deprecated": false,
|
|
3099
3122
|
"deprecation_reason": "",
|
|
3100
3123
|
"description": "",
|
|
3101
|
-
"parameters": [
|
|
3102
|
-
|
|
3103
|
-
],
|
|
3124
|
+
"parameters": [],
|
|
3104
3125
|
"return_type": [
|
|
3105
3126
|
{
|
|
3106
3127
|
"type": "array",
|
|
@@ -3140,9 +3161,7 @@
|
|
|
3140
3161
|
"deprecated": false,
|
|
3141
3162
|
"deprecation_reason": "",
|
|
3142
3163
|
"description": "> Caution:\n> You shouldn't use the `sort_natural` filter to sort numerical values. When comparing items an array, each item is converted to a\n> string, so sorting on numerical values can lead to unexpected results.",
|
|
3143
|
-
"parameters": [
|
|
3144
|
-
|
|
3145
|
-
],
|
|
3164
|
+
"parameters": [],
|
|
3146
3165
|
"return_type": [
|
|
3147
3166
|
{
|
|
3148
3167
|
"type": "array",
|
|
@@ -3182,9 +3201,7 @@
|
|
|
3182
3201
|
"deprecated": false,
|
|
3183
3202
|
"deprecation_reason": "",
|
|
3184
3203
|
"description": "",
|
|
3185
|
-
"parameters": [
|
|
3186
|
-
|
|
3187
|
-
],
|
|
3204
|
+
"parameters": [],
|
|
3188
3205
|
"return_type": [
|
|
3189
3206
|
{
|
|
3190
3207
|
"type": "array",
|
|
@@ -3214,9 +3231,7 @@
|
|
|
3214
3231
|
"deprecated": false,
|
|
3215
3232
|
"deprecation_reason": "",
|
|
3216
3233
|
"description": "",
|
|
3217
|
-
"parameters": [
|
|
3218
|
-
|
|
3219
|
-
],
|
|
3234
|
+
"parameters": [],
|
|
3220
3235
|
"return_type": [
|
|
3221
3236
|
{
|
|
3222
3237
|
"type": "string",
|
|
@@ -3246,9 +3261,7 @@
|
|
|
3246
3261
|
"deprecated": false,
|
|
3247
3262
|
"deprecation_reason": "",
|
|
3248
3263
|
"description": "",
|
|
3249
|
-
"parameters": [
|
|
3250
|
-
|
|
3251
|
-
],
|
|
3264
|
+
"parameters": [],
|
|
3252
3265
|
"return_type": [
|
|
3253
3266
|
{
|
|
3254
3267
|
"type": "string",
|
|
@@ -3278,9 +3291,7 @@
|
|
|
3278
3291
|
"deprecated": false,
|
|
3279
3292
|
"deprecation_reason": "",
|
|
3280
3293
|
"description": "",
|
|
3281
|
-
"parameters": [
|
|
3282
|
-
|
|
3283
|
-
],
|
|
3294
|
+
"parameters": [],
|
|
3284
3295
|
"return_type": [
|
|
3285
3296
|
{
|
|
3286
3297
|
"type": "string",
|
|
@@ -3310,9 +3321,7 @@
|
|
|
3310
3321
|
"deprecated": false,
|
|
3311
3322
|
"deprecation_reason": "",
|
|
3312
3323
|
"description": "",
|
|
3313
|
-
"parameters": [
|
|
3314
|
-
|
|
3315
|
-
],
|
|
3324
|
+
"parameters": [],
|
|
3316
3325
|
"return_type": [
|
|
3317
3326
|
{
|
|
3318
3327
|
"type": "number",
|
|
@@ -3352,9 +3361,7 @@
|
|
|
3352
3361
|
"deprecated": false,
|
|
3353
3362
|
"deprecation_reason": "",
|
|
3354
3363
|
"description": "",
|
|
3355
|
-
"parameters": [
|
|
3356
|
-
|
|
3357
|
-
],
|
|
3364
|
+
"parameters": [],
|
|
3358
3365
|
"return_type": [
|
|
3359
3366
|
{
|
|
3360
3367
|
"type": "number",
|
|
@@ -3384,9 +3391,7 @@
|
|
|
3384
3391
|
"deprecated": false,
|
|
3385
3392
|
"deprecation_reason": "",
|
|
3386
3393
|
"description": "If the specified number of characters is less than the length of the string, then an ellipsis (`...`) is appended to\nthe truncated string. The ellipsis is included in the character count of the truncated string.",
|
|
3387
|
-
"parameters": [
|
|
3388
|
-
|
|
3389
|
-
],
|
|
3394
|
+
"parameters": [],
|
|
3390
3395
|
"return_type": [
|
|
3391
3396
|
{
|
|
3392
3397
|
"type": "string",
|
|
@@ -3426,9 +3431,7 @@
|
|
|
3426
3431
|
"deprecated": false,
|
|
3427
3432
|
"deprecation_reason": "",
|
|
3428
3433
|
"description": "If the specified number of words is less than the number of words in the string, then an ellipsis (`...`) is appended to\nthe truncated string.\n\n> Caution:\n> HTML tags are treated as words, so you should strip any HTML from truncated content. If you don't strip HTML, then\n> closing HTML tags can be removed, which can result in unexpected behavior.",
|
|
3429
|
-
"parameters": [
|
|
3430
|
-
|
|
3431
|
-
],
|
|
3434
|
+
"parameters": [],
|
|
3432
3435
|
"return_type": [
|
|
3433
3436
|
{
|
|
3434
3437
|
"type": "string",
|
|
@@ -3468,9 +3471,7 @@
|
|
|
3468
3471
|
"deprecated": false,
|
|
3469
3472
|
"deprecation_reason": "",
|
|
3470
3473
|
"description": "",
|
|
3471
|
-
"parameters": [
|
|
3472
|
-
|
|
3473
|
-
],
|
|
3474
|
+
"parameters": [],
|
|
3474
3475
|
"return_type": [
|
|
3475
3476
|
{
|
|
3476
3477
|
"type": "array",
|
|
@@ -3500,9 +3501,7 @@
|
|
|
3500
3501
|
"deprecated": false,
|
|
3501
3502
|
"deprecation_reason": "",
|
|
3502
3503
|
"description": "",
|
|
3503
|
-
"parameters": [
|
|
3504
|
-
|
|
3505
|
-
],
|
|
3504
|
+
"parameters": [],
|
|
3506
3505
|
"return_type": [
|
|
3507
3506
|
{
|
|
3508
3507
|
"type": "string",
|
|
@@ -3532,9 +3531,7 @@
|
|
|
3532
3531
|
"deprecated": false,
|
|
3533
3532
|
"deprecation_reason": "",
|
|
3534
3533
|
"description": "",
|
|
3535
|
-
"parameters": [
|
|
3536
|
-
|
|
3537
|
-
],
|
|
3534
|
+
"parameters": [],
|
|
3538
3535
|
"return_type": [
|
|
3539
3536
|
{
|
|
3540
3537
|
"type": "string",
|
|
@@ -3564,9 +3561,7 @@
|
|
|
3564
3561
|
"deprecated": false,
|
|
3565
3562
|
"deprecation_reason": "",
|
|
3566
3563
|
"description": "> Note:\n> Spaces are converted to a `+` character, instead of a percent-encoded character.",
|
|
3567
|
-
"parameters": [
|
|
3568
|
-
|
|
3569
|
-
],
|
|
3564
|
+
"parameters": [],
|
|
3570
3565
|
"return_type": [
|
|
3571
3566
|
{
|
|
3572
3567
|
"type": "string",
|
|
@@ -3596,9 +3591,7 @@
|
|
|
3596
3591
|
"deprecated": false,
|
|
3597
3592
|
"deprecation_reason": "",
|
|
3598
3593
|
"description": "This requires you to provide both the property name and the associated value.",
|
|
3599
|
-
"parameters": [
|
|
3600
|
-
|
|
3601
|
-
],
|
|
3594
|
+
"parameters": [],
|
|
3602
3595
|
"return_type": [
|
|
3603
3596
|
{
|
|
3604
3597
|
"type": "array",
|
|
@@ -3638,9 +3631,7 @@
|
|
|
3638
3631
|
"deprecated": false,
|
|
3639
3632
|
"deprecation_reason": "",
|
|
3640
3633
|
"description": "If [alt text is set on the video](https://help.shopify.com/en/manual/products/product-media/add-alt-text), then it's\nincluded in the `title` attribute of the `<iframe>`. If no alt text is set, then the `title` attribute is set to the\nproduct title.",
|
|
3641
|
-
"parameters": [
|
|
3642
|
-
|
|
3643
|
-
],
|
|
3634
|
+
"parameters": [],
|
|
3644
3635
|
"return_type": [
|
|
3645
3636
|
{
|
|
3646
3637
|
"type": "string",
|
|
@@ -3680,9 +3671,7 @@
|
|
|
3680
3671
|
"deprecated": false,
|
|
3681
3672
|
"deprecation_reason": "",
|
|
3682
3673
|
"description": "",
|
|
3683
|
-
"parameters": [
|
|
3684
|
-
|
|
3685
|
-
],
|
|
3674
|
+
"parameters": [],
|
|
3686
3675
|
"return_type": [
|
|
3687
3676
|
{
|
|
3688
3677
|
"type": "string",
|
|
@@ -4275,9 +4264,7 @@
|
|
|
4275
4264
|
"deprecated": false,
|
|
4276
4265
|
"deprecation_reason": "",
|
|
4277
4266
|
"description": "",
|
|
4278
|
-
"parameters": [
|
|
4279
|
-
|
|
4280
|
-
],
|
|
4267
|
+
"parameters": [],
|
|
4281
4268
|
"return_type": [
|
|
4282
4269
|
{
|
|
4283
4270
|
"type": "string",
|
|
@@ -4307,9 +4294,7 @@
|
|
|
4307
4294
|
"deprecated": false,
|
|
4308
4295
|
"deprecation_reason": "",
|
|
4309
4296
|
"description": "",
|
|
4310
|
-
"parameters": [
|
|
4311
|
-
|
|
4312
|
-
],
|
|
4297
|
+
"parameters": [],
|
|
4313
4298
|
"return_type": [
|
|
4314
4299
|
{
|
|
4315
4300
|
"type": "string",
|
|
@@ -4339,9 +4324,7 @@
|
|
|
4339
4324
|
"deprecated": false,
|
|
4340
4325
|
"deprecation_reason": "",
|
|
4341
4326
|
"description": "",
|
|
4342
|
-
"parameters": [
|
|
4343
|
-
|
|
4344
|
-
],
|
|
4327
|
+
"parameters": [],
|
|
4345
4328
|
"return_type": [
|
|
4346
4329
|
{
|
|
4347
4330
|
"type": "string",
|
|
@@ -4371,9 +4354,7 @@
|
|
|
4371
4354
|
"deprecated": false,
|
|
4372
4355
|
"deprecation_reason": "",
|
|
4373
4356
|
"description": "",
|
|
4374
|
-
"parameters": [
|
|
4375
|
-
|
|
4376
|
-
],
|
|
4357
|
+
"parameters": [],
|
|
4377
4358
|
"return_type": [
|
|
4378
4359
|
{
|
|
4379
4360
|
"type": "string",
|
|
@@ -4403,9 +4384,7 @@
|
|
|
4403
4384
|
"deprecated": false,
|
|
4404
4385
|
"deprecation_reason": "",
|
|
4405
4386
|
"description": "",
|
|
4406
|
-
"parameters": [
|
|
4407
|
-
|
|
4408
|
-
],
|
|
4387
|
+
"parameters": [],
|
|
4409
4388
|
"return_type": [
|
|
4410
4389
|
{
|
|
4411
4390
|
"type": "string",
|
|
@@ -4435,9 +4414,7 @@
|
|
|
4435
4414
|
"deprecated": false,
|
|
4436
4415
|
"deprecation_reason": "",
|
|
4437
4416
|
"description": "> Tip:\n> Use with the [`customer.has_avatar?`](/docs/api/liquid/objects/customer#customer-has_avatar?) method to determine if the customer has an avatar.\n\n```liquid\n{{ customer | avatar }}\n```",
|
|
4438
|
-
"parameters": [
|
|
4439
|
-
|
|
4440
|
-
],
|
|
4417
|
+
"parameters": [],
|
|
4441
4418
|
"return_type": [
|
|
4442
4419
|
{
|
|
4443
4420
|
"type": "string",
|
|
@@ -4446,9 +4423,7 @@
|
|
|
4446
4423
|
"array_value": ""
|
|
4447
4424
|
}
|
|
4448
4425
|
],
|
|
4449
|
-
"examples": [
|
|
4450
|
-
|
|
4451
|
-
],
|
|
4426
|
+
"examples": [],
|
|
4452
4427
|
"summary": "Generates HTML to render a customer's avatar, if available.",
|
|
4453
4428
|
"syntax": "customer | avatar",
|
|
4454
4429
|
"name": "avatar"
|
|
@@ -4508,9 +4483,7 @@
|
|
|
4508
4483
|
"deprecated": false,
|
|
4509
4484
|
"deprecation_reason": "",
|
|
4510
4485
|
"description": "",
|
|
4511
|
-
"parameters": [
|
|
4512
|
-
|
|
4513
|
-
],
|
|
4486
|
+
"parameters": [],
|
|
4514
4487
|
"return_type": [
|
|
4515
4488
|
{
|
|
4516
4489
|
"type": "string",
|
|
@@ -4540,9 +4513,7 @@
|
|
|
4540
4513
|
"deprecated": false,
|
|
4541
4514
|
"deprecation_reason": "",
|
|
4542
4515
|
"description": "> Note:\n> The `handleize` filter has an alias of `handle`.",
|
|
4543
|
-
"parameters": [
|
|
4544
|
-
|
|
4545
|
-
],
|
|
4516
|
+
"parameters": [],
|
|
4546
4517
|
"return_type": [
|
|
4547
4518
|
{
|
|
4548
4519
|
"type": "string",
|
|
@@ -4572,9 +4543,7 @@
|
|
|
4572
4543
|
"deprecated": false,
|
|
4573
4544
|
"deprecation_reason": "",
|
|
4574
4545
|
"description": "",
|
|
4575
|
-
"parameters": [
|
|
4576
|
-
|
|
4577
|
-
],
|
|
4546
|
+
"parameters": [],
|
|
4578
4547
|
"return_type": [
|
|
4579
4548
|
{
|
|
4580
4549
|
"type": "string",
|
|
@@ -4604,9 +4573,7 @@
|
|
|
4604
4573
|
"deprecated": false,
|
|
4605
4574
|
"deprecation_reason": "",
|
|
4606
4575
|
"description": "The `url_param_escape` filter escapes the same characters as [`url_escape`](/docs/api/liquid/filters/url_escape), with the\naddition of `&`.",
|
|
4607
|
-
"parameters": [
|
|
4608
|
-
|
|
4609
|
-
],
|
|
4576
|
+
"parameters": [],
|
|
4610
4577
|
"return_type": [
|
|
4611
4578
|
{
|
|
4612
4579
|
"type": "string",
|
|
@@ -4636,9 +4603,7 @@
|
|
|
4636
4603
|
"deprecated": false,
|
|
4637
4604
|
"deprecation_reason": "",
|
|
4638
4605
|
"description": "The `structured_data` filter can be used on the [`product`](/docs/api/liquid/objects/product) and [`article`](/docs/api/liquid/objects/article) objects.\n\nProduct objects are output as a [schema.org `Product`](https://schema.org/Product) if they have no variants, and a [`ProductGroup`](https://schema.org/ProductGroup) if they have one or more variants.\n\nArticle objects are output as a [schema.org `Article`.](https://schema.org/Article)",
|
|
4639
|
-
"parameters": [
|
|
4640
|
-
|
|
4641
|
-
],
|
|
4606
|
+
"parameters": [],
|
|
4642
4607
|
"return_type": [
|
|
4643
4608
|
{
|
|
4644
4609
|
"type": "string",
|
|
@@ -4668,9 +4633,7 @@
|
|
|
4668
4633
|
"deprecated": false,
|
|
4669
4634
|
"deprecation_reason": "",
|
|
4670
4635
|
"description": "",
|
|
4671
|
-
"parameters": [
|
|
4672
|
-
|
|
4673
|
-
],
|
|
4636
|
+
"parameters": [],
|
|
4674
4637
|
"return_type": [
|
|
4675
4638
|
{
|
|
4676
4639
|
"type": "string",
|
|
@@ -4700,9 +4663,7 @@
|
|
|
4700
4663
|
"deprecated": false,
|
|
4701
4664
|
"deprecation_reason": "",
|
|
4702
4665
|
"description": "> Tip:\n> To learn more about filtering by tag, refer to [Filter articles by tag](/themes/architecture/templates/blog#filter-articles-by-tag)\n> or [Filter collections by tag](/themes/navigation-search/filtering/tag-filtering).",
|
|
4703
|
-
"parameters": [
|
|
4704
|
-
|
|
4705
|
-
],
|
|
4666
|
+
"parameters": [],
|
|
4706
4667
|
"return_type": [
|
|
4707
4668
|
{
|
|
4708
4669
|
"type": "string",
|
|
@@ -4732,9 +4693,7 @@
|
|
|
4732
4693
|
"deprecated": false,
|
|
4733
4694
|
"deprecation_reason": "",
|
|
4734
4695
|
"description": "> Tip:\n> To learn more about filtering by tag, refer to [Filter articles by tag](/themes/architecture/templates/blog#filter-articles-by-tag)\n> or [Filter collections by tag](/themes/navigation-search/filtering/tag-filtering).",
|
|
4735
|
-
"parameters": [
|
|
4736
|
-
|
|
4737
|
-
],
|
|
4696
|
+
"parameters": [],
|
|
4738
4697
|
"return_type": [
|
|
4739
4698
|
{
|
|
4740
4699
|
"type": "string",
|
|
@@ -4764,9 +4723,7 @@
|
|
|
4764
4723
|
"deprecated": false,
|
|
4765
4724
|
"deprecation_reason": "",
|
|
4766
4725
|
"description": "> Tip:\n> To learn more about filtering by tag, refer to [Filter articles by tag](/themes/architecture/templates/blog#filter-articles-by-tag)\n> or [Filter collections by tag](/themes/navigation-search/filtering/tag-filtering).",
|
|
4767
|
-
"parameters": [
|
|
4768
|
-
|
|
4769
|
-
],
|
|
4726
|
+
"parameters": [],
|
|
4770
4727
|
"return_type": [
|
|
4771
4728
|
{
|
|
4772
4729
|
"type": "string",
|
|
@@ -4796,9 +4753,7 @@
|
|
|
4796
4753
|
"deprecated": false,
|
|
4797
4754
|
"deprecation_reason": "",
|
|
4798
4755
|
"description": "",
|
|
4799
|
-
"parameters": [
|
|
4800
|
-
|
|
4801
|
-
],
|
|
4756
|
+
"parameters": [],
|
|
4802
4757
|
"return_type": [
|
|
4803
4758
|
{
|
|
4804
4759
|
"type": "string",
|
|
@@ -4878,9 +4833,7 @@
|
|
|
4878
4833
|
"deprecated": false,
|
|
4879
4834
|
"deprecation_reason": "",
|
|
4880
4835
|
"description": "> Caution:\n> The `pluralize` filter applies English pluralization rules to determine which string to output. You shouldn't use this\n> filter on non-English strings because it could lead to incorrect pluralizations.",
|
|
4881
|
-
"parameters": [
|
|
4882
|
-
|
|
4883
|
-
],
|
|
4836
|
+
"parameters": [],
|
|
4884
4837
|
"return_type": [
|
|
4885
4838
|
{
|
|
4886
4839
|
"type": "string",
|
|
@@ -5010,9 +4963,7 @@
|
|
|
5010
4963
|
"deprecated": false,
|
|
5011
4964
|
"deprecation_reason": "",
|
|
5012
4965
|
"description": "",
|
|
5013
|
-
"parameters": [
|
|
5014
|
-
|
|
5015
|
-
],
|
|
4966
|
+
"parameters": [],
|
|
5016
4967
|
"return_type": [
|
|
5017
4968
|
{
|
|
5018
4969
|
"type": "string",
|
|
@@ -5182,9 +5133,7 @@
|
|
|
5182
5133
|
"deprecated": false,
|
|
5183
5134
|
"deprecation_reason": "",
|
|
5184
5135
|
"description": "Global assets are kept in a directory on Shopify's server. Using global assets can be faster than loading the resource\ndirectly.\n\nDepending on the resource type, you might need to use an additional filter to load the resource. The following table\noutlines which filter to use for specific resource types.\n\n| Resource type | Additional filter |\n| --- | --- |\n| JavaScript (`.js`) | [`script_tag`](/docs/api/liquid/filters/script_tag) |\n| CSS (`.css`) | [`stylesheet_tag`](/docs/api/liquid/filters/stylesheet_tag) |\n\nThe following table outlines the available global assets:\n\n| Category | Assets |\n| --- | --- |\n| Firebug | - `firebug/firebug.css`<br>- `firebug/firebug.html`<br>- `firebug/firebug.js`<br>- `firebug/firebugx.js`<br>- `firebug/errorIcon.png`<br>- `firebug/infoIcon.png`<br>- `firebug/warningIcon.png` |\n| JavaScript libraries | - `controls.js`<br>- `dragdrop.js`<br>- `effects.js`<br>- `ga.js`<br>- `mootools.js` |\n| Lightbox | - `lightbox.css`<br>- `lightbox.js`<br><br>- `lightbox/v1/lightbox.css`<br>- `lightbox/v1/lightbox.js`<br><br>- `lightbox/v2/lightbox.css`<br>- `lightbox/v2/lightbox.js`<br>- `lightbox/v2/close.gif`<br>- `lightbox/v2/loading.gif`<br>- `lightbox/v2/overlay.png`<br>- `lightbox/v2/zoom-lg.gif`<br><br>- `lightbox/v204/lightbox.css`<br>- `lightbox/v204/lightbox.js`<br>- `lightbox/v204/bullet.gif`<br>- `lightbox/v204/close.gif`<br>- `lightbox/v204/closelabel.gif`<br>- `lightbox/v204/donatebutton.gif`<br>- `lightbox/v204/downloadicon.gif`<br>- `lightbox/v204/loading.gif`<br>- `lightbox/v204/nextlabel.png`<br>- `lightbox/v204/prevlabel.gif` |\n| Prototype | - `prototype.js`<br>- `prototype/1.5/prototype.js`<br>- `prototype/1.6/prototype.js` |\n| script.aculo.us | - `scriptaculous/1.8.2/scriptaculous.js`<br>- `scriptaculous/1.8.2/builder.js`<br>- `scriptaculous/1.8.2/controls.js`<br>- `scriptaculous/1.8.2/dragdrop.js`<br>- `scriptaculous/1.8.2/effects.js`<br>- `scriptaculous/1.8.2/slider.js`<br>- `scriptaculous/1.8.2/sound.js`<br>- `scriptaculous/1.8.2/unittest.js` |\n| Shopify | - `list-collection.css`<br>- `textile.css` |",
|
|
5185
|
-
"parameters": [
|
|
5186
|
-
|
|
5187
|
-
],
|
|
5136
|
+
"parameters": [],
|
|
5188
5137
|
"return_type": [
|
|
5189
5138
|
{
|
|
5190
5139
|
"type": "string",
|
|
@@ -5565,9 +5514,7 @@
|
|
|
5565
5514
|
"deprecated": false,
|
|
5566
5515
|
"deprecation_reason": "",
|
|
5567
5516
|
"description": "",
|
|
5568
|
-
"parameters": [
|
|
5569
|
-
|
|
5570
|
-
],
|
|
5517
|
+
"parameters": [],
|
|
5571
5518
|
"return_type": [
|
|
5572
5519
|
{
|
|
5573
5520
|
"type": "string",
|
|
@@ -5797,9 +5744,7 @@
|
|
|
5797
5744
|
"deprecated": false,
|
|
5798
5745
|
"deprecation_reason": "",
|
|
5799
5746
|
"description": "",
|
|
5800
|
-
"parameters": [
|
|
5801
|
-
|
|
5802
|
-
],
|
|
5747
|
+
"parameters": [],
|
|
5803
5748
|
"return_type": [
|
|
5804
5749
|
{
|
|
5805
5750
|
"type": "string",
|
|
@@ -5829,9 +5774,7 @@
|
|
|
5829
5774
|
"deprecated": false,
|
|
5830
5775
|
"deprecation_reason": "",
|
|
5831
5776
|
"description": "The following are the globally accessible Shopify assets:\n\n- `option_selection.js`\n- `api.jquery.js`\n- `shopify_common.js`\n- `customer_area.js`\n- `currencies.js`\n- `customer.css`",
|
|
5832
|
-
"parameters": [
|
|
5833
|
-
|
|
5834
|
-
],
|
|
5777
|
+
"parameters": [],
|
|
5835
5778
|
"return_type": [
|
|
5836
5779
|
{
|
|
5837
5780
|
"type": "string",
|