このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Pfand (Deposit) for WooCommerce Products

説明

Dieses Plugin ermöglicht es, jedem Woocommerce Produkt Pfandwerte zuzuweisen und somit Dinge wie Flaschenpfand abzubilden. Deutsche Übersetzung liegt bei. Für Anpassungen bitten wir um Kontaktaufnahme.

This plugin was written for a German beverage store. They needed deposits for bottles as well as boxes, which would be displayed separately and excluded from tax calculation.

With this plugin you can add a deposit to any WooCommerce product by adding the price under Products - Deposit Types.

Note: Because WordPress allows users to add multiple values and
comma-separate them, you have to input the prices with ‘.’ (period) as the decimal separator, independent of WooCommerce settings.

Features

  • Translation-ready (German translation included)
  • Uses built-in functionality of WordPress and Woocommerce thus fully compatible with, e.g. WP Export/Import tools
  • Developer-friendly (more hooks & documentation to come)

Custom code

Since there are a lot of different ways you or your customer may want this set up, please contact us for customizations such as:

  • Compatibility with WooCommerce German Market (disable taxing off deposit)
  • Link deposit to shipping zones’ methods or customer language
  • Force sells (e.g. 1 beer crate for every x bottles)
  • Enabling of tax calulation

Github Repository: https://github.com/nerdissimo-de/woocommerce-pfand
Contact: http://www.nerdissimo.de

Filters

`get_deposit`

(int) runs when deposit is calculated.

`wc_deposit_settings`

(array) runs when the settings tab is being configured.

`add_deposit_value_to_totals`

(bool) runs before deposit fee is added (to do: rename?)

`dep_total_before_add_fee`

(int) runs before deposit fee is added

`tax_class_before_add_fee`

(string) runs before deposit fee is added

`display_deposit`

(bool) runs when the plugin determines to add deposit

スクリーンショット

インストール

  1. Upload woo-pfand/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Configure the plugin through Woocommerce -> Settings -> Tab: Deposit
  4. Go to Products - Deposit Types and create deposit prices as you would add tags
  5. Add deposit prices to your products

評価

2021年9月30日
In the past I was searching for a plugin like this.. I could not find it. This works very well still! Thnaks for sharing
2017年12月17日
The deposit is shown to be valid, the shopping cart shows the goods and the deposit is normal.
3件のレビューをすべて表示

貢献者と開発者

Pfand (Deposit) for WooCommerce Products はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Pfand (Deposit) for WooCommerce Products” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

= 2.0.0
* First release on WP Repository