Set up donation and pay-what-you-want (variable) pricing
On this page
Variable pricing lets customers choose how much they pay for a product at checkout. You can present a set of predefined amounts, allow free-entry above a minimum, or both. It is most commonly used for donation products and pay-what-you-want pricing.
How it works
When variable pricing is enabled on a price book entry, customers see a pricing picker on the product page instead of a fixed price. The product’s Price (or Sale Price, if set) acts as the minimum — customers cannot pay less than this amount.
You can also set predefined amounts for customers to select from, and optionally set a maximum to cap contributions. Here’s what it looks like.

Enable variable pricing on a product
Variable pricing is configured per price book entry, not on the product itself. This lets you apply variable pricing in specific price books while keeping a fixed price in others.
- Open the PricebookEntry record for the product you want to configure.
- Check Enable Variable Pricing (
s_c__Enable_Variable_Pricing__c). - Ensure the Price (or Sale Price) on the entry is set to the minimum amount you want to allow. Customers will not be able to pay less than this value.
Add predefined amounts
Use Variable Pricing Options (s_c__Variable_Pricing_Options__c) to present customers with preset amounts to choose from.
- Values represent amounts in cents — for example, enter
5000for $50.00 and10000for $100.00. - Select Other to allow customers to type in any amount above the minimum.
- You can combine preset amounts with Other — customers will see the preset buttons plus a free-entry field.
If Variable Pricing Options is left blank, customers can enter any amount they choose, provided it is at or above the minimum price.
Set a maximum amount
To cap the amount a customer can pay, set Variable Pricing Max Amount (s_c__Variable_Pricing_Max_Amount__c) on the price book entry. Leave it blank to allow any amount above the minimum.
You can also use Variable Pricing Min Amount (s_c__Variable_Pricing_Min_Amount__c) to set a minimum that is higher than the product’s base price — useful if you want a floor above zero while keeping the listed price lower.
:::note If both Variable Pricing Min Amount and the product Price are set, the higher of the two values is used as the effective minimum. :::
POS support
Variable pricing is also supported in StoreConnect POS. When a staff member adds a variable-priced product to a POS cart, a modal appears to capture the amount before the item is added.
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.