Writes a price-per-unit metafield from each variant's price and measurement, so themes can show unit pricing that stays correct.
async def run(ctx): for variant in await ctx.shopify.query(VARIANTS_WITH_MEASURE): if not variant.measure:
If you run a sharper version of this template, or something it inspired, send it in. We review every application and publish the good ones, credited to you or your agency.
Describe the job, watch the AI build it, rehearse it, deploy it.
Free plan · no card · 🇪🇺 EU data residency