Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new task: auto-create collections by metafield #368

Merged

Conversation

tekhaus
Copy link
Collaborator

@tekhaus tekhaus commented Jun 10, 2024

This task takes advantage of the recent ability to use metafields as automated collection conditions. By design, it only supports product metafields even though variant metafields could also technically be used.

It is a bit more complex than the auto-create collections by product type or vendor task, as there are no update webhooks for metafields or metafield definitions. This necessitated using a scheduled/manual run to scan all existing automated collections to make sure that a collection has not already been created for a given metafield and value combo.

@tekhaus tekhaus merged commit 72b94f6 into lightward:main Jun 10, 2024
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant