Tags: Archive, Orders, Tag
Add a tag, have the order automatically archived/closed. Simple. :)
- View in the task library: tasks.mechanic.dev/archive-orders-when-tagged
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"required_tag__required": "archive-me",
"allow_manual_unarchiving_of_orders__boolean": null
}
Learn about task options in Mechanic
shopify/orders/create
shopify/orders/updated
mechanic/user/trigger
Learn about event subscriptions in Mechanic
Add a tag, have the order automatically archived/closed. Simple. :)
This task monitors for new and updated orders, watching for the tag of your choice to be added. When the tag is found, this task will make sure the order is archived/closed.
Run this task manually to scan your older orders, archiving any that match your tag.
Enable "Allow manually unarchiving of orders" to have this task add a metafield to each order, as it archives them. The task will use this metafield as a reminder to not archive those orders in the future, regardless of what happens to them.
Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!