-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblock.json
37 lines (37 loc) · 923 Bytes
/
block.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"apiVersion": 2,
"name": "nielslange/free-shipping-progress-bar",
"title": "Free Shipping Progress Bar",
"description": "Show a free shipping progress bar.",
"version": "0.1.0",
"category": "woocommerce",
"parent": [ "woocommerce/cart-totals-block" ],
"supports": {
"html": false,
"color": {
"__experimentalSkipSerialization": true
}
},
"attributes": {
"currentTotal": {
"type": "string",
"default": "15"
},
"freeShippingFrom": {
"type": "string",
"default": "50"
},
"labelInsufficientTotals": {
"type": "string",
"default": "Spend only {amount} more to get free shipping!"
},
"labelSufficientTotals": {
"type": "string",
"default": "You have qualified for free shipping. Great job!"
}
},
"textdomain": "free-shipping-progress-bar",
"editorScript": "file:./build/index.js",
"editorStyle": "file:./build/index.css",
"style": "file:./build/style-index.css"
}