development

WooCommerce 6.1.0 Beta 1 and WooCommerce Blocks 6.6.0 are available!

joshua-woroniecki-bRuaLZ302lY-unsplash

WooCommerce released two updates this week - WooCommerce 6.1.0 Beta 1 and WooCommerce Blocks 6.6.0.

WooCommerce 6.1.0 Beta 1 is available for testing and should not be used live yet. The changes available are as follows:

  • WooCommerce Blocks was updated to 6.5.0;
  • WooCommerce Admin was updated to 3.0.0-rc;
  • ActionScheduler was updated to 3.4.0;
  • Added new action woocommerce_page_wc-addons_connection_error, which is triggered if there is an error while trying to connect to WooCommerce.com marketplace;
  • Function is_ajax became deprecated. The developers suggest using wp_doing_ajax instead, which is available in WordPress.

More changes will become available soon, in Release Candidate, which should be ready by the 28th of December 2021, and Final Release, which should be publicly available on the 11th of January 2022.

The new version of WooCommerce Blocks contains some more changes, namely:

  • usePaymentMethodInterface was updated to contain proper typescript definitions;
  • the shopping cart data can be synchronized to any existing draft order using the Store API;
  • added hook woocommerce_blocks_cart_update_customer_from_request to enable updating customer data from the customer-update route;
  • legacy handling for shipping_phone in the Store API was removed;
  • fixed incorrect icon displayed in WooCommerce templates after they were edited using Site Editor;
  • method get_routes_from_namespace can handle errors now;
  • extra network request on the mount is prevented now in the cart, so the performance was increased;
  • added logic to use the product archive block template on the product category and product tag pages if the theme doesn’t have templates for them;
  • fixed issue with implicit quantity updates from server and data stores;
  • resolved issue with payments failures after validation errors for saved cards;
  • added error handling for network errors on checkout;
  • adjusted margin in the shopping cart and on the checkout page.

Reading next

bisakha-datta-6SmukZ_w6s-unsplash
tingey-injury-law-firm-veNb0DDegzE-unsplash

Interested in a specific business & technology topic and looking for an article in our blog but haven't found one yet?

If you haven't come across an article that matches your query, feel free to suggest the topic to us, and we'll consider featuring it in our blog. Share your suggestion in the form below, and we'll be sure to review your request.

Talk with us

If you have any questions or problems in your business that can be solved with technical solutions, just let us know. We'll do everything we can to help you.