WooCommerce Developer Blog

Recent News

Goodbye, Yoda conditions

Yoda conditions are a programming style in which the normal order of operands in comparisons are reversed. For example, if ( $foo == 34 ) would be written as if ( 34 == $foo ). The idea here is to avoid accidental assignments when a comparison is intended: while if ( $foo = 34 ) is syntactically correct PHP code and therefore will not throw an error, if ( 34 = $foo ) will throw an error and therefore keep a bug from being introduced. Yoda conditions are part of the WordPress coding standards and since WooCommerce inherits these standards […]

WooCommerce 6.8 Released

We are pleased to announce the release of WooCommerce 6.8. This release is backward compatible with the WooCommerce 6.7 version. This release contains: 170 commits from 60 contributors in WooCommerce Core 91 commits from 24 contributors in WooCommerce Blocks As always, we recommend creating a backup of your site and making sure that your theme and any other plugins are compatible before updating. You can check out this update guide for more information. What’s new in 6.8? Smart Shipping for new sites For new sites selling physical products, Free shipping is enabled for the base country by default, and a new task […]

WooCommerce Payments 3.9.4–4.5.1 Security releases

We’ve just started rolling out automatic updates with patches for WooCommerce Payments 3.9–4.5. This fix contains important security improvements so please make sure to update your site if you don’t get the update automatically. Please find below the list of fix releases: Fix releases 3.9.4 4.0.3 4.1.1 4.2.2 4.3.1 4.4.1 4.5.1

RFC: Removing JS/CSS Source Files From Releases

As the size of woocommerce.zip continues to grow, we are faced with the challenge of reducing the size of the plugin archive. We have a solution in mind, however, this change would potentially impact debugging workflows within our community. We have taken great care internally to develop a proposed solution, however, we want to make sure that we are taking every perspective into consideration. We have published an RFC to our GitHub Discussion board in order to offer an opportunity for our community to provide feedback. This RFC will remain open for three weeks, after which we will make a […]

WooCommerce Blocks 8.2.1 Release Notes

A new version of WooCommerce Blocks has been released! Version 8.2.1 is now available for download from GitHub and WordPress.org. This is a patch release to fix the issue that made users unable to select the saved cards token radio buttons after selecting another payment method in the Checkout block when trying to pay with their saved cards. This was a regression introduced in version 8.0.0 For more details check out the Changelog below. Changelog Bug Fixes Fixed an issue where shoppers could not switch between different saved payment methods. (6825)

WooCommerce Blocks 8.2.0 Release Notes

A new version of WooCommerce Blocks has been released! Version 8.2.0 is now available for download from GitHub and WordPress.org. This release contains many enhancements and bug fixes to the Cart, Mini Cart and Checkout blocks, including a fix for missing inner blocks translations in the editor. This version also adds a fallback to the Products by Attribute template in block themes and makes the Featured Product/Category button link to auto-update after changing the product or category. You can read the full changelog below: Changelog Enhancements Add update_customer_from_request action to Checkout flow. (6792) Update: New block icon for the Mini Cart block. (6784) […]

WooCommerce 6.8 RC.1

We’re excited to announce that the first release candidate for WooCommerce 6.8 is now available. We are currently on track for our planned August 9th release date. Changes Since the beta release, the following changes have been made: https://github.com/woocommerce/woocommerce/pull/34054 https://github.com/woocommerce/woocommerce/pull/34070 https://github.com/woocommerce/woocommerce/pull/34072 https://github.com/woocommerce/woocommerce/pull/34074 https://github.com/woocommerce/woocommerce/pull/34045 https://github.com/woocommerce/woocommerce/pull/34099 https://github.com/woocommerce/woocommerce/pull/34120 Testing If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org. A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started. […]

WooCommerce 6.8 Beta 2

Beta 2 for the August 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin. Features There are some new and exciting improvements to the WooCommerce experience. Smart shipping defaults for new sites. Changelog The complete list of changes, tweaks, fixes, and improvements included in this release can be viewed in the readme.txt for the release. Actions and Filters Filter Description woocommerce_apply_base_tax_for_local_pickup Filters whether apply base tax for local pickup shipping method or not. woocommerce_csv_exporter_fopen_mode Filters the mode parameter which specifies the type of access you require to […]

WooCommerce 6.8 Beta 1

Beta 1 for the August 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin. Features There are some new and exciting improvements to the WooCommerce experience. Smart shipping defaults for new sites. Changelog The complete list of changes, tweaks, fixes, and improvements included in this release can be viewed in the readme.txt for the release. Actions and Filters Filter Description woocommerce_apply_base_tax_for_local_pickup Filters whether apply base tax for local pickup shipping method or not. woocommerce_csv_exporter_fopen_mode Filters the mode parameter which specifies the type of access you require to […]

Loading…

Something went wrong. Please refresh the page and/or try again.


Developer Advisories


Recent Releases

WooCommerce Core