Seamless Donations 3.1.0 – CSS IDs and Item Name Filter

As requested, each section of the donation form now has a unique CSS ID to make styling the form easier – the IDs are (from top to bottom):

dgx-donate-form-sandbox-warning
dgx-donate-form-noscript-warning
dgx-donate-form-donation-section
dgx-donate-form-tribute-section
dgx-donate-form-employer-section
dgx-donate-form-donor-section
dgx-donate-form-address-section
dgx-donate-form-payment-section

Note that the first section only appears when you’re testing in sandbox mode. Note that the second section only appears to visitors with JavaScript disabled.

I’ve also added by request a filter on the item name. If you’d like to have something other than “Donation” appear on the PayPal checkout page, don’t modify the Seamless Donations plugin (you’ll lose your changes when you update the plugin), but instead add the following to your theme (e.g. your child theme’s functions.php, or many themes have a custom.php that is preserved across theme updates.)

function my_custom_item_name( $item_name ) {
	return "Donation - Revenue Canada Tax ID: 999999999RR0001";
}

add_filter( 'dgx_donate_item_name', 'my_custom_item_name' );

Just substitute the value you’d like above.

I’ve been very busy, so this is kind of a small release. French language files are coming soon, not yet ready. German is in the works too!

As always, let me know if you have any questions, ideas, or run into any issues – the support forum is available here.

(Photo Credit)

One thought on “Seamless Donations 3.1.0 – CSS IDs and Item Name Filter

  1. Hello and congratulations for this plugin ;-) I can translate it in French if you want, just send me your .pot or en_EN.po and I’ll do it quickly.
    Best Regards,
    Didier.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s