Amounts
The one-click amounts shoppers can pick, which one is pre-selected, and whether they can type their own.
- Fixed Amounts: Amounts "5, 10, 25, 50" and Pre-selected amount 10
- Custom Amount: Allow a custom amount, Custom amount label, Minimum amount 1 and Maximum amount (empty)
Fixed amounts
Separate amounts with commas and use a dot for decimals. Up to 12 amounts, shown from low to high. Leave empty to only accept a custom amount.
Must be one of the amounts above; otherwise it is cleared on save. Leave empty to pre-select nothing.
Custom amount
Adds an Other amount choice that opens a number field. Always allowed when there are no fixed amounts.
The choice's label and the field's label.
Leave empty for no minimum.
Leave empty for no maximum. A maximum lower than the minimum is raised to the minimum on save.
Under the field, shoppers see a hint: "Minimum $1.", "Enter an amount up to $100." or "Enter an amount between $1 and $100." Shoppers may type the store's decimal separator (for example 12,50).
- The cart donation box with Other amount selected, 15 typed in the Other amount field and the hint "Minimum 1$."
- Nothing was submitted
Messages
| Message | When |
|---|---|
| Please choose a donation amount. | Nothing chosen, or Other amount chosen with an empty field |
| Please enter a valid donation amount. | Not a number, zero or negative |
| The minimum donation is $1. | Below the minimum |
| The maximum donation is $100. | Above the maximum |
| Please choose one of the donation amounts offered. | A custom amount was sent while custom amounts are off |
| Donations are not available right now. | Donations are off, or the donation product can't be bought |