block.json
60 lines
| 1 | { |
| 2 | "apiVersion": 2, |
| 3 | "name": "surecart/address", |
| 4 | "title": "Shipping 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 | "ancestor": ["surecart/form"], |
| 9 | "supports": { |
| 10 | "reusable": false, |
| 11 | "html": false, |
| 12 | "className": false |
| 13 | }, |
| 14 | "attributes": { |
| 15 | "label": { |
| 16 | "type": "string", |
| 17 | "default": "Address" |
| 18 | }, |
| 19 | "full": { |
| 20 | "type": "boolean", |
| 21 | "default": true |
| 22 | }, |
| 23 | "show_name": { |
| 24 | "type": "boolean", |
| 25 | "default": false |
| 26 | }, |
| 27 | "default_country": { |
| 28 | "type": "string" |
| 29 | }, |
| 30 | "name_placeholder": { |
| 31 | "type": "string", |
| 32 | "default": "Name or Company Name" |
| 33 | }, |
| 34 | "country_placeholder": { |
| 35 | "type": "string", |
| 36 | "default": "Country" |
| 37 | }, |
| 38 | "city_placeholder": { |
| 39 | "type": "string", |
| 40 | "default": "City" |
| 41 | }, |
| 42 | "line_1_placeholder": { |
| 43 | "type": "string", |
| 44 | "default": "Address" |
| 45 | }, |
| 46 | "line_2_placeholder": { |
| 47 | "type": "string", |
| 48 | "default": "Address Line 2" |
| 49 | }, |
| 50 | "postal_code_placeholder": { |
| 51 | "type": "string", |
| 52 | "default": "Postal Code/Zip" |
| 53 | }, |
| 54 | "state_placeholder": { |
| 55 | "type": "string", |
| 56 | "default": "State/Province/Region" |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 |