Linux 软件免费装
Banner图

Click A Tree

开发者 melsen
更新时间 2026年7月23日 02:47
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

checkout carbon offset climate sustainability tree planting

下载

0.1.1 0.1.2 0.1.3

详情介绍:

Click A Tree adds a simple "plant a tree" upsell to your WooCommerce shop. Customers can add one or more real trees to their cart or checkout. The customer pays for the tree, you keep a margin, and Click A Tree plants the tree and takes care of the certificate. The plugin is deliberately thin. It handles the storefront and admin side inside your shop; the actual planting, accounting and certificates run on the Click A Tree service (this is a Software-as-a-Service model, see "External services" below). A free Click A Tree account and an API key connect the two. What the plugin does in your shop What works without a Click A Tree account You can install the plugin, set the tree price, and see the tree product and the cart and checkout widget in your shop right away. No data is ever sent anywhere until you enter an API key. The external service is only needed for the part it is responsible for: actually planting the trees, issuing certificates and returning your impact statistics. Source code and build The block based cart and checkout widget is compiled into the "build" folder. The full human readable source is shipped with the plugin in the "src" folder, together with the build configuration ("webpack.config.js" and "package.json"). The compiled files are generated with @wordpress/scripts. To rebuild them from source, run "npm install" and then "npm run build" in the plugin folder. No code is minified or obfuscated beyond this standard build step.

安装:

  1. Install and activate the plugin. WooCommerce must be installed and active.
  2. Go to WooCommerce > Click A Tree.
  3. Enter your Click A Tree API key and, if you want, change the price per tree.
  4. That is it. The "add a tree" widget now appears in your cart and checkout, and paid orders with trees are reported to Click A Tree automatically.
You can follow your results any time under WooCommerce > Click A Tree Impact.

升级注意事项:

0.1.0 Initial release.

常见问题:

Do I need a Click A Tree account?

Yes, for the trees to actually be planted. You can install the plugin and set everything up without one, but the planting, the certificates and the impact statistics run on the Click A Tree service, which needs a free account and an API key.

Who pays for the tree?

The customer. They add the tree to their order and pay for it in your normal checkout. You keep a margin and Click A Tree is paid for the planting out of your prepaid balance.

Is any customer data sent to Click A Tree?

No personal customer data. An order is identified only by a one way hash. See the "External services" section for the exact list of what is sent and when.

Does it work with the new cart and checkout blocks?

Yes. The widget works with both the classic (shortcode) and the block based cart and checkout.

In which languages is the plugin available?

English and German. The plugin follows your WordPress language setting, so it switches automatically when you change the site language under Settings, General, or your own language in your user profile. Nothing needs to be configured in the plugin itself.

更新日志:

0.1.3 0.1.2 0.1.1 0.1.0