Skip to content

Conversation

brettsmason
Copy link
Member

WooCommerce patterns don't follow or respect loading remote patterns.
As a result, this is a workaround to disable all WooCommerce patterns. A lot of patterns are loaded here: https://github.com/woocommerce/woocommerce/blob/9f0e00e19fcabf928c326c102e78c4b16455c197/plugins/woocommerce/src/Blocks/BlockPatterns.php#L210

Note that we might want to re-organise the class structure here to be aligned with how you think would work best going forward.

Copy link
Member

@DanielHudson2 DanielHudson2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patterns functionality works well in my tests so no issues there

@DanielHudson2
Copy link
Member

@brettsmason i've restructured the classes into folders, could you give it a once over

@DanielHudson2 DanielHudson2 merged commit 45a5640 into main Aug 13, 2025
1 check passed
@DanielHudson2 DanielHudson2 deleted the develop branch August 13, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants