Categories
Developer Advisory

Plan to update WooCommerce block templates

We are planning to introduce some changes to the way WooCommerce templates work in block themes. Those include improving template hierarchy, creating a Products by Attribute template and adjusting how templates are listed in the Site Editor. We started a GitHub discussion with all details about the changes we have planned and the rationale for […]

Categories
Developer Advisory WooCommerce Core

Goodbye, Yoda conditions

Update: after additional internal discussions we’ve decided to reverse this decision. WooCommerce will continue to use Yoda conditions as outlined in the WordPress PHP coding standards to stay aligned with the wider WordPress ecosystem. We’re keeping the previous announcement for transparency. Yoda conditions are a programming style in which the normal order of operands in […]

Categories
Developer Advisory

Stop Registering Customizer Options for Block Themes

Update We have introduced some changes since this post was originally published and starting with WC 6.9, if a site has a block theme active, WooCommerce Customizer options are registered when accessing the Customizer directly, but not when visiting other admin pages. Here are some different scenarios: Summary Starting at version 6.9, WooCommerce will no […]

Categories
Developer Advisory

Update to Action Scheduler Requirements

We plan on bumping the minimum requirements for Action Scheduler in an upcoming release. The Details Currently, Action Scheduler requires at least PHP 5.6 but, principally in order to add improved handling for certain error conditions, we are going to bump that requirement to PHP 7.0. How can I tell if this affects me? If […]

Categories
Developer Advisory WooCommerce Core

Approved Download Directories

We plan on including a new Approved Download Directories feature in WooCommerce 6.5 (scheduled for May 10) to give site owners additional control over product downloads. You may be particularly interested in this if you: Maintain a theme, plugin, or service that integrates with product downloads. Operate a site that sells downloadable products. This advisory […]