| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"name": "surecart/product-donation-custom-amount", |
| 4 |
"title": "Custom Donation Amount", |
| 5 |
"description": "Displays a custom donation amount input for the donation form.", |
| 6 |
"category": "surecart", |
| 7 |
"ancestor": ["surecart/product-donation"], |
| 8 |
"keywords": ["donation", "ad hoc", "custom", "amount"], |
| 9 |
"textdomain": "surecart", |
| 10 |
"supports": { |
| 11 |
"reusable": false, |
| 12 |
"html": false, |
| 13 |
"multiple": false |
| 14 |
}, |
| 15 |
"usesContext": ["surecart/product-donation/product_id"], |
| 16 |
"attributes": { |
| 17 |
"amount": { |
| 18 |
"type": "number" |
| 19 |
}, |
| 20 |
"label": { |
| 21 |
"type": "string" |
| 22 |
}, |
| 23 |
"custom_amount": { |
| 24 |
"type": "boolean", |
| 25 |
"default": false |
| 26 |
} |
| 27 |
} |
| 28 |
} |
| 29 |
|