-
Notifications
You must be signed in to change notification settings - Fork 221
Conversation
cc2a72d
to
6f26647
Compare
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: 0 B Total Size: 1.1 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question and a suggestion to update some texts, but besides that, LGTM and is testing like a charm. 👌
src/BlockTemplatesController.php
Outdated
@@ -5,6 +5,7 @@ | |||
use Automattic\WooCommerce\Blocks\Templates\BlockTemplatesCompatibility; | |||
use Automattic\WooCommerce\Blocks\Templates\ProductAttributeTemplate; | |||
use Automattic\WooCommerce\Blocks\Utils\BlockTemplateUtils; | |||
use Automattic\WooCommerce\Blocks\Templates\ProductSearchResultsTemplate; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this class used somewhere in this file? If not, do we need to use
it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed!
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Thanks for the suggestions! I addressed your feedback! I will merge it 🚀 |
This PR introduces a new filter called
woocommerce_disable_compatibility_layer
that allows disabling the compatibility layer.At the same time, using the filter, the compatibility layer is disabled when Archive Product templates and Single Product template have the WooCommerce Product Grid Block.
Fixes #8505
Testing
User Facing Testing
Archive Templates
Appearance » Editor
.WooCommerce Product Grid Block
is visible.WooCommerce Visibility
Changelog