Description
Planting on Demand enables your WooCommerce store to offer customers the option to plant a food tree with their purchase, at no extra cost. When a customer opts in, the plugin automatically triggers a tree planting via the 1clickimpact API when the order is completed. All customer-facing messages are admin-configurable and translatable.
About
The cost for tree planting is paid by the website owner (the store). There is no extra charge for the customer; you cover the cost of each tree planted.
Offering tree planting as an option at checkout is proven to:
– Increase order numbers and average order value
– Improve customer retention and loyalty
– Attract and convert customers who care about the environment, sustainability, and making a positive impact
Studies show that customers are more likely to purchase from brands that support good causes and sustainability. By enabling tree planting, you not only help the planet and local communities, but also grow your business by appealing to conscious consumers.
Key Features
- Adds a tree planting opt-in checkbox to WooCommerce checkout (Classic and Blocks)
- All customer-facing messages are editable and translatable (WPML, Polylang, Loco Translate compatible)
- Triggers a tree planting via the 1clickimpact API when an order is set to completed
- Displays a thank you message on the order confirmation page if a tree is planted
- Optionally adds a shop-wide notice about tree planting and/or the order completed email
- Includes a shortcode to display your store’s impact stats
- Admin settings page with tabs for General, API, and Impact Stats
- Debug logging for API calls (optional)
Usage
To get started, go to WooCommerce > Tree Planting in your WordPress admin. Here you can:
– Enter your 1clickimpact API key (required for planting trees and fetching stats)
– Enable Test Mode to use the sandbox API for testing (no real trees will be planted)
– Customize all customer-facing messages (checkout, thank you, shop notice, email, etc.)
– Translate messages using WPML, Polylang, Loco Translate, or any compatible translation plugin
– Adjust other plugin settings to fit your store’s needs
To display your store’s tree planting impact, use the shortcode:
[pod_tree_planting show_stats="true"]
You can place this shortcode on any page or post. Additional options for the shortcode (such as layout and custom messages) are available in the plugin settings and documentation.
Translation
A translation template is included in /languages/pod-tree.pot
. The plugin is compatible with WPML, Polylang, and Loco Translate.
Support
For support or questions, visit plantingondemand.org or use the plugin support forum on WordPress.org.
Installation
- Upload the plugin files to the
/wp-content/plugins/planting-on-demand/
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to WooCommerce > Tree Planting to configure your API key and settings.
- (Optional) Translate customer-facing messages using your preferred translation plugin.
FAQ
-
Do I need an API key?
-
Yes, you need an active plan and API key from 1clickimpact to plant trees and fetch impact stats.
-
Is this compatible with WooCommerce Blocks checkout?
-
Yes, the plugin supports both Classic and Blocks checkout.
-
Can I customize the messages shown to customers?
-
Yes, all customer-facing messages are editable in the admin and translatable.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Planting on Demand” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Planting on Demand” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial public release in the WordPress.org plugin directory.
- Tree planting opt-in at checkout (WooCommerce Classic and Blocks)
- API integration for tree planting
- Editable and translatable customer messages
- Impact stats and shortcode
- Admin settings with tabs
- Debug logging option