Delete variants having a metafield date that has passed with Mechanic.

Mechanic is the one-tool-does-it-all automation app for Shopify. :)

Delete variants having a metafield date that has passed

Do you sell tickets to recurring events? Do you use a new product variant for each one? Use this task to regularly scan your catalog for product variants that have a date metafield, and to delete variants when their date has passed.

Runs when a user triggers the task and every day at midnight.
Configuration includes date metafield namespace and date metafield key.