Update: After releasing WC Blocks 9.7.1 we received some reports from the community that it was causing a fatal error in some stores. The issue could be reproduced in WordPress sites which didn’t have Gutenberg enabled. We started investigating it as soon as we learned about it and we released a fixed version soon after: 9.7.2.
We really appreciate all the feedback and reports we received from the community, it really helps us make WooCommerce better! Thanks a lot for being a part of the WooCommerce community.
We’re thrilled to introduce the following new blocks for the Single Product Template. This is our first iteration to port over existing functionalities of the Single Product template to the Site Editor.
- Single Product Details block: The block version of the product details in the Single Product Template. Merchants can now add product descriptions, information, and reviews to their stores.
- Add to Cart Form block: The block version of the add to cart form enables merchants to display a button in single product templates. Options are also displayed depending on product type. e.g. quantity, variation.
Disabling payment gateways stops associated saved payment information from displaying
We have improved our payment system by preventing saved cards from displaying if the payment gateway that added them is disabled. This ensures that users only see available and enabled payment options, making the payment process more efficient and straightforward.
Clearer Checkout Events in the Payment System
We have made changes to the checkout events in our payment system to improve clarity and reduce confusion. Several events were renamed to improve their accuracy and clarity:
Fix: Product categories, Product Tags & Keyword filters not working in the Products block
The following filters should be working fine, which are available in the Inspector Controls of the Products block:
- Product Categories
- Product tags
- Add Related Products block. (8522)
- Products block: Set the Product Title as a link by default. (8519)
- Add support for the
woocommerce_loop_add_to_cart_argsfilter in the Products block. (8422)
- Enable the
Inherit query from templatesetting by default for the Products block in archive products templates. (8375)
- Update the blockified archive templates to use the Products block. (8308)
- Improve the dismissal behavior of the incompatible gateways notice. (8299)
- Add the Add to Cart Form block, allowing merchants to display a button so the customer can add a product to their cart. Options will also be displayed depending on product type. e.g. quantity, variation. (8284)
- All Products: Add alignment settings for the Product Rating and Product Price blocks. (8264)
- Enable users to migrate to blockified Product Archive templates. (8248)
- Add Product Image Gallery block. (8235)
- Add Single Product Details block that displays the product description, information, and reviews. (8225)
- Add the
woocommerce_disable_compatibility_layerfilter to disable the compatibility layer. Disable the compatibility layer when Archive Product and Single Product templates contain the WooCommerce Product Grid Block. (8550)
- Ensure custom shipping methods supporting local pickup show up in the shipping options when no WC Blocks pickup locations are enabled. (8542)
- Focus the coupon code input when the form is revealed in the cart. (8525)
- Fix: Make
Price productmargin work in the
All productsblock. (8518)
- Fix an issue in which setting the city/state would not persist in the first time for certain customers. (8497)
noticeContextdeclaration in the Shipping calculator. (8495)
- Update Product Details block so it inherits more styles from the theme. (8494)
- Fix: Adjust
Catalog Sortingcolors in dark themes. (8483)
- Remove opinionated styles from Button component on block themes that define button styles. (8478)
- Fix individual border controls not showing in the editor for Featured Product and Featured Category blocks. (8472)
- Fix potential console warnings when certain Checkout Blocks are disabled. (8471)
- Prevent saved cards from appearing that belong to gateways that are not enabled. (8461)
- Fix error: “Undefined property $area” error on the BlockTemplatesController. (8443)
- Fixed an issue where warnings relating to payment method script dependencies were shown when editing pages with Elementor. (8428)
- Performance – Prevent extra API hydration in the editor when using All Products block. (8413)
- Product Price: Fix typography styles in the editor. (8398)
- Fix spacing and display issues for Store Breadcrumbs, Catalog Sorting and Product Result Counts blocks. (8391)
- Fix Product categories, Product Tags & Keyword filter not working in Products block. (8377)
- Rename the checkout events. (8381)