Create a Variable Donation Product

Variable donation products let donors choose between predefined options before completing their donation. This is useful when you want to offer different projects, campaigns, locations, or other donation purposes within a single donation product.

For example, you can create one donation product called Support our work and let donors choose whether their donation should go to Education, Healthcare, or Emergency Aid.

Before you begin

Make sure that WooCommerce and Donation Platform for WooCommerce are installed and active on your WordPress site.

Create a new product

In your WordPress dashboard, go to Products > Add New.
Enter a product name, for example:
Support our projects
You can also add a short description and product image if needed.

Set the product type to variable

In the Product data section, open the product type dropdown and select Variable product. This tells WooCommerce that the product will have multiple selectable variations.
Also check the Donation Product checkbox.

Add a product attribute

Next, create the attribute that donors will use to choose between the available donation options.
Go to the Attributes tab.
Select Add new to create a custom product attribute, or choose an existing global attribute if you already have one.
For example, you can create an attribute named:
Project

In the Value(s) field, enter the available options separated by a vertical bar:
Education | Healthcare | Emergency Aid

Make sure the following options are enabled:

  • Visible on the product page
  • Used for variations

Then click Save attributes.

Create variations

Go to the Variations tab. From the dropdown menu, select Create variations from all attributes, then click Go.
WooCommerce will automatically create one variation for each attribute value. In this example, it creates variations for:

Education
Healthcare
Emergency Aid

Configure each variation

Open each variation and check that it is configured correctly. For every variation, enable the following options:

  • Enabled
  • Virtual

Because donations are not physical products, the variations should usually be marked as Virtual. You can also configure any additional variation-specific details if needed, such as a description or image. Make sure every variation also has a price. When you are finished, click Save changes in the Variations tab.

Configure the donation form

After setting up the WooCommerce variations, go to the Donation Form tab.

Adjust the donation form layout according to your preferences. For example, you can define how the donation amount rows should appear and how the form should be displayed to donors.

Publish or update the product

When all settings are complete, click Publish if this is a new product. If you are editing an existing product, click Update to save your changes. Your variable donation product is now ready. Donors can select one of the available variation options and complete their donation using the configured donation form.