Arigato Automation

Set A Metafield Value When A Product Is Sold Out in Shopify by Using Arigato Automation

If you want to add some treatment to sold out products in your Shopify theme using a metafield as an indicator, this workflow is for you.

Download Complete

You can now import the ".arigato" workflow file you downloaded into the app.

  1. Open the Arigato Automation app in your Shopify admin.
  2. Visit the "Import & Export" page within the app.
  3. Scroll to bottom and upload your file to import the workflow.

This clever workflow fires when a product's inventory has changed. It looks to see if inventory has gone to zero. If it has, it sets a mefafield value. When the product's inventory goes above zero, and the metafield value is still set to your sold out indicator, it will adjust the metafield to remove the sold out setting.

Setup showing how to set a metafield when a product is sold out in Shopify using Arigato