block.json
53 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "surecart/address", |
| 4 | "title": "Address", |
| 5 | "description": "Display a shipping address form. This is used for shipping and tax calculations.", |
| 6 | "category": "surecart", |
| 7 | "keywords": ["address", "shipping", "tax"], |
| 8 | "textdomain": "surecart", |
| 9 | "ancestor": ["surecart/form"], |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false, |
| 13 | "className": false |
| 14 | }, |
| 15 | "attributes": { |
| 16 | "label": { |
| 17 | "type": "string", |
| 18 | "default": "Shipping Address" |
| 19 | }, |
| 20 | "billing_label": { |
| 21 | "type": "string", |
| 22 | "default": "Billing Address" |
| 23 | }, |
| 24 | "billing_toggle_label": { |
| 25 | "type": "string", |
| 26 | "default": "Billing address is same as shipping" |
| 27 | }, |
| 28 | "required": { |
| 29 | "type": "boolean", |
| 30 | "default": true |
| 31 | }, |
| 32 | "full": { |
| 33 | "type": "boolean", |
| 34 | "default": true |
| 35 | }, |
| 36 | "line_2": { |
| 37 | "type": "boolean", |
| 38 | "default": false |
| 39 | }, |
| 40 | "show_name": { |
| 41 | "type": "boolean", |
| 42 | "default": false |
| 43 | }, |
| 44 | "default_country": { |
| 45 | "type": "string" |
| 46 | }, |
| 47 | "collect_billing": { |
| 48 | "type": "boolean", |
| 49 | "default": true |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 |