block.json
77 lines
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "surecart/address", |
| 4 | "title": "Address", |
| 5 | "description": "Display an 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 | "show_name": { |
| 37 | "type": "boolean", |
| 38 | "default": false |
| 39 | }, |
| 40 | "default_country": { |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "name_placeholder": { |
| 44 | "type": "string", |
| 45 | "default": "Name or Company Name" |
| 46 | }, |
| 47 | "country_placeholder": { |
| 48 | "type": "string", |
| 49 | "default": "Country" |
| 50 | }, |
| 51 | "city_placeholder": { |
| 52 | "type": "string", |
| 53 | "default": "City" |
| 54 | }, |
| 55 | "line_1_placeholder": { |
| 56 | "type": "string", |
| 57 | "default": "Address" |
| 58 | }, |
| 59 | "line_2_placeholder": { |
| 60 | "type": "string", |
| 61 | "default": "Address Line 2" |
| 62 | }, |
| 63 | "postal_code_placeholder": { |
| 64 | "type": "string", |
| 65 | "default": "Postal Code/Zip" |
| 66 | }, |
| 67 | "state_placeholder": { |
| 68 | "type": "string", |
| 69 | "default": "State/Province/Region" |
| 70 | }, |
| 71 | "collect_billing": { |
| 72 | "type": "boolean", |
| 73 | "default": true |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 |