Add Donation to Cart
Enable donations in WooCommerce checkout and other pages with customizable widgets, shortcodes and API-powered settings.
Plugin info
Maintenance & Compatibility
Maintenance score
Actively maintained • Last updated 90 days ago
Is Add Donation to Cart abandoned?
Likely maintained (last update 90 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Add Donation to Cart by YouBeHero is a powerful WordPress plugin that adds a donation widget to your WooCommerce checkout, transforming every purchase into an opportunity for social impact. By allowing customers to support nonprofit organizations during checkout, you create a more meaningful shopping experience that builds loyalty, differentiates your brand and boosts key business metrics.
Why add donations to checkout?
– Increase customer loyalty – Customers feel good about supporting causes they care about
– Differentiate your brand – Stand out as a socially responsible business
– Boost conversions – The “warm glow effect” increases checkout completion rates
– Build trust – Transparent impact reporting creates customer confidence
The plugin seamlessly integrates with your existing checkout flow without disrupting the customer experience. The donation widget is discreet and optional – customers can easily skip it if they prefer, ensuring your checkout process remains smooth and conversion-friendly. No changes to your payment processing are required. With dynamic widgets, shortcodes, and API-powered configurations, YouBeHero ensures a customizable and smooth donation process. Store owners can manage supported organizations, track donations and display impact statistics directly in their WordPress dashboard.
Although currently only available for Greek e-commerce stores, Add Donation to Cart supports English locales.
Features
- Checkout Integration: Add donation widget to WooCommerce checkout page with multiple positioning options
- Flexible Positioning: Choose from 4 different checkout positions (before form, after billing, before notes, after payment)
- Multiple Display Options: Widgets, blocks, shortcodes, and Elementor integration for maximum flexibility
- Shortcodes Available:
[youbehero_donation_form]– Main donation form
- Page Builder Support: Native Elementor widget and WP Bakery integration
- Gutenberg Block: Custom “YouBeHero Donation Widget” block for checkout pages
- Thank You Page Widget: Post-purchase confirmation widget with customizable styling
- Email Integration: Donation widgets in WooCommerce order emails
- Dynamic Configuration: API-powered settings for organizations and donation amounts
- Customizable Styling: Full control over colors, borders, spacing, and appearance
- Multi-language Support: Translation-ready with Greek and English language files
- Admin Dashboard: Comprehensive statistics and analytics dashboard
- Real-time Statistics: Track total donations, sales, average cart value, order count, and supported nonprofit organizations
- Account Management: Balance tracking and account status monitoring
- Transaction History: Detailed transaction table with order tracking
- API Integration: Secure connection to YouBeHero platform for data management
- WooCommerce Hooks: Deep integration with WooCommerce order processing
- Session Management: Persistent donation data across checkout process
- Fee Integration: Seamless addition of donation fees to WooCommerce orders
- Responsive Design: Mobile-friendly donation forms and widgets
Shortcodes
The plugin provides several shortcodes for displaying donation forms:
Main Donation Form:
– [youbehero_donation_form] – Displays the main donation form widget
– [ybhd_donation_form] – Alternative shortcode for the same functionality
Usage Examples:
– Add to any page or post: [youbehero_donation_form]
– Use in page builders: Works with Elementor, WP Bakery and Gutenberg
Admin Dashboard
The YouBeHero admin dashboard provides comprehensive management and analytics:
Account Management:
– API key configuration and validation
– Account status monitoring
– Balance tracking and top-up options
– Direct links to YouBeHero platform settings
Statistics & Analytics:
– Total donations collected
– Total sales value
– Average cart value
– Number of orders processed
– Count of supported nonprofit organizations
– Real-time data refresh
Transaction Management:
– Detailed transaction history table
– Order tracking and donation details
– Export capabilities for reporting
– Search and filter options
Widget Configuration:
– Checkout form positioning options
– Styling and appearance settings
– Organization selection and management
– Donation amount presets
Integration Settings:
– WooCommerce hook configuration
– Email widget settings
– Thank you page customization
– Multi-language support
External services
Privacy and data handling
This plugin integrates your WooCommerce store with the YouBeHero platform to facilitate charitable donations and related features.
Below is an overview of what data is shared and why.
Data shared with YouBeHero
When using this plugin, the following information is transmitted to YouBeHero’s servers:
- API key: Used to securely connect your store to your YouBeHero account to record and track donations
- WooCommerce order ID: For accurate donation-to-order association and tracking
- Purchase amount: The total cart value for transaction recording and donation integration
- Donation amount: The exact donated sum to ensure correct processing and allocation to the designated charity
- Selected organization: To determine the destination of the donation
Why this data is collected?
This data is necessary to:
- Register and authenticate your store with YouBeHero
- Process and record donations made through your checkout
- Display donation widgets and campaign information to shoppers
- Provide donation reporting and analytics within your WordPress admin
Important notes
- No payment details are sent to YouBeHero
- Only donation metadata and order references are shared
- All data is transmitted securely via HTTPS
Callback URL handling:
The YouBeHero service may redirect administrators to a callback URL inside the WordPress admin (e.g., wp-admin/admin.php?page=ybhd-settings&api_token=xxxxx). This URL automatically configures the API token. Only users with administrator permissions can access this page, and the token is sanitized before storage. Since this request originates from a trusted external service, a WordPress nonce cannot be applied.
External service: YouBeHero
– Website: https://dev.youbehero.com
– Terms of Service: https://dev.youbehero.com/gr/termsbusiness
– Privacy Policy: https://dev.youbehero.com/gr/privacy
Contributing
This plugin is open source and we welcome contributions from the community! If you have ideas for improvements, bug fixes, or new features, please feel free to submit pull requests on GitHub at https://github.com/YouBeHero/YBH-WP-Plugin.
Your contributions help make this plugin better for everyone.
Installation
- Install the plugin through the WordPress plugins dashboard screen directly
- Create an account at YouBeHero
- Configure your settings and select supported organizations
- Customize the appearance and positioning in the plugin settings
- Copy your API key from the YouBeHero dashboard
- Navigate to YouBeHero settings in your WordPress admin
- Paste your API key and click “Login”
- Add the donation widget to your checkout page using one of these methods:
- Gutenberg Block: Add the “YouBeHero Donation Widget” block to your checkout page
- Elementor: Use the “YouBeHero Donation Widget” in Elementor
- WP Bakery: Drag and drop the donation widget
- Shortcode: Use
[youbehero_donation_form]anywhere on your site
Frequently Asked Questions
YouBeHero is an innovative Greek platform established in 2019 that transforms everyday online shopping into charitable giving. The platform partners with over 150 checked and verified charitable organizations across Greece. With a strong commitment to transparency, YouBeHero publicly displays all financial flows and donation distributions, building trust with supporters. Each organization receives its own page to showcase its mission, set fundraising goals and track progress. Since its launch, YouBeHero has established itself as a reliable bridge between citizens and nonprofits working in healthcare, education, environmental protection and social inclusion, creating meaningful impact through the collective power of everyday purchases.
Yes, WooCommerce must be installed and active for YouBeHero to work.
Yes, store managers can configure preset donation amounts and customers can select from available options or enter custom amounts.
Yes, YouBeHero includes widgets, blocks and shortcodes to place donation options.
Yes, you can select one or multiple nonprofit organizations (max. 7) via the settings and customers can choose which cause to support.
YouBeHero currently works with over 150 verified nonprofit organizations across Greece, with many more added throughout the year. Organizations are categorized into three main cause areas:
– Animal welfare organizations
– Human-centered organizations
– Environmental organizations
You can browse all available organizations and their categories at https://youbehero.com/gr/cause-categories. All organizations are thoroughly vetted to ensure your customers’ donations go to legitimate, impactful causes.
Yes! Studies show that adding donation options to checkout can increase cart conversions by 10-15% due to the “warm glow effect.” When customers see they can support a cause they care about during their purchase, it creates positive emotions that make them more likely to complete their order. The donation option also differentiates your store from competitors and builds customer loyalty.
The plugin works with Elementor, WP Bakery, Gutenberg blocks and any theme that supports shortcodes.
Yes, you have full control over colors, borders, spacing, fonts and layout through the admin settings.
Yes, the plugin includes translation files for Greek and English, and is fully translation-ready for other languages.
The admin dashboard provides comprehensive statistics including total donations, sales, average cart value, order count and supported organizations with links to their public pages.
Yes, the plugin automatically includes donation information in WooCommerce order confirmation emails.
Yes, donations appear as line items in the order details with the organization name, amount and metadata. They are also displayed in the order totals section for easy tracking.
Customers can track their donations through multiple channels:
– YouBeHero Platform: Track donation progress, connect with supported organizations, and see the impact created
– Organization’s Official Website: Direct links to the nonprofit’s website for updates and information
– Social Media: Links to the organization’s social media channels (Twitter, Instagram, Facebook, YouTube, LinkedIn) for real-time updates
Yes, shop managers can display their donation impact statistics anywhere on their website using shortcodes. This includes:
– Total donations collected
– Supported nonprofit organizations count
These statistics can be embedded on any page, post, or widget area to showcase the positive impact created through customer donations.
Trust is fundamental to YouBeHero’s mission. All donation data is publicly visible and transparent through our dedicated transparency page at https://youbehero.com/gr/diafaneia. This includes:
– Total donations collected across all stores
– Commission amounts and platform revenue
– Number of approved donations vs. pending donations
– Store rankings by donation impact
– Organization distribution by category
This complete transparency builds trust and ensures accountability in every donation made through the platform.
YouBeHero maintains an active presence across multiple social media platforms where you can follow our latest updates, success stories and impact reports:
– Facebook: facebook.com/youbeheroGR
– Twitter: twitter.com/youbehero
– Instagram: instagram.com/youbeherogr
– LinkedIn: linkedin.com/company/youbehero
– YouTube: youtube.com/@youbeherogr
Follow us to see real-time impact stories, organization spotlights and community engagement that demonstrates our commitment to making a difference.
Customers see a thank you widget on the order confirmation page and donation details are included in order emails and admin reports.
YouBeHero provides comprehensive technical support through multiple channels:
– Email support – Direct assistance via email for technical issues and questions
– WordPress plugin forum – Community support and discussions on the official WordPress plugin page
– Help Center – Complete documentation, guides and troubleshooting resources at help.youbehero.com
Our support team is committed to helping you successfully implement and maintain the donation functionality on your store.
YouBeHero offers a transparent and affordable pricing structure:
– Free for first use – Shop managers prepay all donations initially, allowing you to test the system at no cost
– Low ongoing fee – Only 0.07€ (including VAT) per donation after the initial period
– No setup fees – No hidden costs or monthly subscriptions
– Transparent billing – All costs are clearly displayed in your dashboard
This pricing model ensures that the donation system is accessible to stores of all sizes while maintaining the platform’s sustainability.
Review feed
Screenshots

WooCommerce checkout page Support a cause with your order

Add Donation to Cart dashboard showing donation statistics

YouBeHero dashboard showing API key and statistics

Donation widget style configuration page

Seamless integration on WP Bakery checkout

Post purchase thank you page widget

Email donation widget to inspire

Donations feed at the Angels of Joy's page @YouBeHero
Changelog
1.1.1
- Fix hidden files problem (.DS_Store).
1.1.0
- Fixed issue with inline styles.
- Updated to clarify that the donation feature uses our own trusted third-party service.
- Standardized slugs to match the text domain.
- Improved widget for better security.
1.0.1
- Fix translation problems.
1.0.0
- Initial release.
- Donation option in WooCommerce checkout and product pages.
- Widgets and shortcodes for flexible display.
- Dashboard view of donation statistics.
- API integration for fetching and managing nonprofit organizations.