How to Hide the “Other” Option

Donation Platform for WooCommerce is designed to support flexible donations, allowing customers to choose any amount between your configured minimum and maximum values. While it’s not possible to strictly limit users to preset donation amounts through the plugin settings, you can visually hide the “Other” option using a small CSS snippet.

⚠️ Note: This is a visual-only workaround. It does not prevent users from manually entering a custom donation amount (e.g., through browser dev tools). Do not rely on this method if it’s important to enforce strict donation amounts.


TL;DR
To hide the “Other” donation amount option on the frontend, add this CSS to your site:

.wcdp_amount li:last-child {
  display: none;
}

Step-by-Step Instructions

  1. Go to your WordPress dashboard.
  2. Navigate to Appearance > Customize > Additional CSS.
  3. Paste the following code: .wcdp_amount li:last-child { display: none; }
  4. Click Publish.

This will hide the last option in the amount list, which is the “Other” (custom amount) field.

Limitations of This Method

This CSS-based approach only hides the UI element. Advanced users (or anyone inspecting the page) can still enter a custom donation amount manually.

If you need to enforce a strict list of donation amounts, you’ll need custom development.