Cart Weight for WooCommerce

説明

Display the weight of the products the customers are about to order in the cart, minicart and checkout. Just turn the plugin on and that’s it!

This plugin does not require any additional configuration. Once it is activated the order total weight value will be automatically displayed in the aforementioned places.

English, Polish and German translations included. You can easily translate it to other languages as well.

Get more WooCommerce plugins from Octolize
We know WooCommerce shipping inside out and put all our experience into our plugins. Check our WooCommerce premium plugins here →

スクリーンショット

  • Cart Weight - Order Total Weight in the cart
  • Cart Weight - Order Total Weight in the minicart
  • Cart Weight - Order Total Weight on the checkout page

インストール

This plugin can be easily installed like any other WordPress integration by following the steps below:

  1. Download and unzip the latest zip file release.
  2. Upload the entire plugin directory to your /wp-content/plugins/ path.
  3. Activate the plugin using the Plugins menu in WordPress sidebar menu.

Optionally you can also try to upload the plugin zip file using Plugins → Add New → Upload Plugin option from the WordPress sidebar menu. Then go directly to point 3.

FAQ

How to change the Weight Suffix?

You can easily change the weight suffix using the filter below. Please modify the suffix according to your needs and place the code in the functions.php file of the theme you are currently using:

”’woo_cart_weight/cart_weight”’ – modify displaying weight
”’woo_cart_weight/weight_unit”’ – modify the unit

For example:
”’add_filter( ‘woo_cart_weight/weight_unit’, ‘woo_cart_weight_weight_unit’ );
/**
* @param string $weight_unit
*
* @retun string
*/
function woo_cart_weight_weight_unit( $weight_unit ) {
$weight_unit = “%”;
return ( $weight_unit );”’

評価

2021年9月2日
5 stars for the simple plugin. It worked exactly like how it states. Works with the default theme and template with no problem for me. At first I was confused seeing as to where do I set the settings or options but then I reread the description and figured out it had no options yet. Not a problem for me I checked my cart and it was working perfectly fine. Thanks a lot.
2021年8月28日
Perfectly displays the weight. We were also able to use it for code to conditionally package orders – simple and useable. Free but made me look at the developers – good code, good omen
2020年6月10日
The plugin does what it says it does, and the people behind it are very friendly. Recently my "total weight" translations were gone from my clients stores, so I emailed WP desk - instead of writing them in the forum here, as I should have - and they still helped me out immediately. Cheers!
7件のレビューをすべて表示

貢献者と開発者

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

貢献者

“Cart Weight for WooCommerce” は2ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Cart Weight for WooCommerce” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.4.11 – 2022-08-08

  • Added support for WooCommerce 6.8

1.4.10 – 2022-06-29

  • Added support for WooCommerce 6.7

1.4.9 – 2022-06-06

  • Added support for WooCommerce 6.6

1.4.8 – 2022-05-12

  • Added support for WordPress 6.0

1.4.7 – 2022-04-20

  • Changed Octolize urls

1.4.6 – 2022-04-04

  • Added support for WooCommerce 6.4
  • Fixed zero weight, now displays N/A

1.4.5 – 2022-03-02

  • Added support for WooCommerce 6.3

1.4.4 – 2022-01-27

  • Added support for WordPress 5.9
  • Added support for WooCommerce 6.2

1.4.3 – 2022-01-11

  • Added support for WooCommerce 6.1

1.4.2 – 2021-12-14

  • Added support for WooCommerce 6.0

1.4.1 – 2021-11-08

  • Added support for WooCommerce 5.9

1.4.0 – 2021-08-30

  • Changed weight formatting to wc_format_weight function
  • Removed filter woo_cart_weight/weight_unit

1.3.7 – 2021-08-16

  • Added support for WooCommerce 5.6

1.3.6 – 2021-07-19

  • Added support for WooCommerce 5.5
  • Added support for WordPress 5.8

1.3.5 – 2021-05-12

  • Added support for WooCommerce 5.3

1.3.4 – 2021-03-09

  • Added support for WooCommerce 5.1

1.3.3 – 2021-02-11

  • Added support for WooCommerce 5.0

1.3.2 – 2020-12-07

  • Added support for WordPress 5.6

1.3.1 – 2020-11-12

  • Added support for WooCommerce 4.7

1.3.0 – 2020-08-31

  • Added support for templates
  • Added filters: woo_cart_weight/cart_weight and woo_cart_weight/weight_unit

1.2.9 – 2020-08-10

  • Added support for WordPress 5.5
  • Added support for WooCommerce 4.4

1.2.8 – 2020-05-18

  • Fixed .pot file

1.2.7 – 2020-05-18

  • Fixed translations

1.2.4 – 2020-05-04

  • Added support for WooCommerce 4.1

1.2.3 – 2020-03-09

  • Added additional security hardenings

1.2.2 – 2020-01-07

  • Added support for WooCommerce 3.9

1.2.1 – 2019-10-04

  • Added support for WooCommerce 3.8

1.2.0 – 2019-09-16

  • Added support for WPDesk libraries

1.1.8 – 2019-08-12

  • Added support for WooCommerce 3.7

1.1.7 – 2019-05-16

  • Fixed invisible header for mobile devices

1.1.5 – 2019-04-12

  • Fixed version update on deploy

1.1.4 – 2019-04-09

  • Fixed version update on deploy

1.1.3 – 2019-04-09

  • Added support for WooCommerce 3.6

1.1.2 – 2018-12-05

  • Added support for WordPress 5.0

1.1.1 – 2018-10-17

  • Added support for WooCommerce 3.5

1.1 – 2018-03-02

  • Fixed weight display

1.0 – 2015.08.11

  • First Release!