-
Notifications
You must be signed in to change notification settings - Fork 221
Research how extensions extend archive templates #8064
Comments
Hooks usage in WooCommerce.com extensionsThe table shows that the loop and loop item hooks are extended most, which gives us a narrower focus on implementing the compatibility layer.
|
With Blocks Editor, we can skip these hooks:
Other hooks can be prepended/appended to the render function of the corresponding block through the |
We'll also want to make sure we
The same will need to be evaluated for any other hooks. |
The archive templates only work with block themes, so we won't need to care about theme compatibility here (which is for classic themes). We will remove the default output wrapper as we don't need it for archive templates. We will also remove actions that are replaced by our blocks, such as notices, catalog orders, or results count. WooCommerce template system needs those hooks but our archive templates don't, so we will remove most of the default actions added by Woo. The actions will be mainly for extensions to continue working with our blockified templates.
Definitely. |
We need to research how extensions are extending archive templates. We aim for some metrics:
To limit the scope of the research and ensure that we can get some outcome, we will examine extensions and themes on WooCommerce.com only.
The text was updated successfully, but these errors were encountered: