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

Interested in plugin translations?

We are actively looking for contributors to translate this and other Octolize plugins. Each supported language tremendously help store owners to conveniently manage shipping operations.

Your translations contribute to the WordPress community at large. Moreover, we’re glad to offer you discounts for our PRO plugins and establish long-term collaboration. If you have any translation related questions, please email us at translations@octolize.com.

Head over here and help us to translate this plugin:
https://translate.wordpress.org/projects/wp-plugins/woo-cart-weight/

螢幕截圖

  • 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.

常見問題

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 );”’

評價

2024年2月19日 1 reply
Very good plugin, easy to install and use. Perhaps it would be interesting to be able to personalize the appearance to highlight this information? And above all, above all, would it be possible to display it on the order in the backoffice please? Thanks again.
2023年8月2日
Perfect plugin for what I need, shows the weight on the cart and checkout on Salient theme. Would be cool to be able to see the weight in the cart icon on my shop in the top right menu, how would one do this? Many thanks 🙂
2021年9月2日 1 reply
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日 1 reply
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!
閱讀全部11個評價

貢獻者及開發者

“Cart Weight for WooCommerce” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Cart Weight for WooCommerce 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Cart Weight for WooCommerce 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.9.1 – 2024-11-18

  • Added support for WooCommerce 9.5

1.9.0 – 2024-10-16

  • Added support for WordPress 6.7
  • Added support for WooCommerce 9.4

1.8.14 – 2024-09-01

  • Added support for WooCommerce 9.3

1.8.13 – 2024-08-04

  • Added support for WooCommerce 9.2

1.8.12 – 2024-07-18

  • Added support for WordPress 6.6

1.8.11 – 2024-06-30

  • Added support for WooCommerce 9.1

1.8.10 – 2024-06-02

  • Added support for WooCommerce 9.0

1.8.9 – 2024-05-09

  • Added support for WooCommerce 8.9

1.8.8 – 2024-04-25

  • Added support for WooCommerce 8.8

1.8.7 – 2024-03-25

  • Added support for WordPress 6.5

1.8.6 – 2024-03-18

  • Updated libraries

1.8.5 – 2024-03-07

  • Fixed missing opt-in permission check

1.8.4 – 2024-02-28

  • Added support for WooCommerce 8.7

1.8.3 – 2024-02-05

  • Added support for WooCommerce 8.6

1.8.2 – 2024-01-05

  • Added support for WooCommerce 8.5

1.8.1 – 2023-12-12

  • Added support for WooCommerce 8.4

1.8.0 – 2023-11-23

  • Added support for WooCommerce Cart and Checkout Block

1.7.12 – 2023-11-07

  • Added support for WordPress 6.4
  • Added support for WooCommerce 8.3

1.7.11 – 2023-10-04

  • Added support for WooCommerce 8.2

1.7.10 – 2023-09-06

  • Added support for WooCommerce 8.1

1.7.9 – 2023-08-07

  • Added support for WordPress 6.3

1.7.8 – 2023-08-03

  • Added support for WooCommerce 8.0

1.7.7 – 2023-07-04

  • Added support for WooCommerce 7.9

1.7.6 – 2023-06-12

  • Added support for WooCommerce 7.8

1.7.5 – 2023-05-10

  • Added support for WooCommerce 7.7

1.7.4 – 2023-03-27

  • Added support for WordPress 6.2
  • Added support for WooCommerce 7.6

1.7.3 – 2023-03-09

  • Updated libraries
  • Added support for WooCommerce 7.5

1.7.2 – 2023-02-07

  • Added support for WooCommerce 7.4

1.7.1 – 2023-01-10

  • Added support for WooCommerce 7.3

1.7.0 – 2022-12-13

  • Added the Shipping Extensions tab

1.6.0 – 2022-11-28

  • Added the WooCommerce High-Performance Order Storage (HPOS) compatibility declaration
  • Added support for WooCommerce 7.2

1.5.0 – 2022-10-24

  • Added support for WordPress 6.1
  • Added support for WooCommerce 7.1
  • Added Octolize tracker

1.4.12 – 2022-10-03

  • Added support for WooCommerce 7.0

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!