Skip to content

Latest commit

 

History

History
 
 

hide-out-of-stock-products

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Hide out-of-stock products

Tags: Out of Stock, Products, Unpublish

This task monitors inventory updates, and pulls the product from the selected sales channels whenever a product's total inventory meets your "out of stock" threshold. Optionally, it'll send you an email when it does so. This task can also be run manually, to scan all products at once.

Default options

{
  "sales_channel_names__required_array": [
    "Online Store"
  ],
  "email_notification_recipient__email": "",
  "out_of_stock_inventory_quantity__number_required": "0"
}

Learn about task options in Mechanic

Subscriptions

mechanic/user/trigger
shopify/inventory_levels/update

Learn about event subscriptions in Mechanic

Documentation

This task monitors inventory updates, and pulls the product from the selected sales channels whenever a product's total inventory meets your "out of stock" threshold. Optionally, it'll send you an email when it does so. This task can also be run manually, to scan all products at once.

This task monitors inventory updates, and pulls the product from the selected sales channels whenever a product's total inventory meets your "out of stock" threshold.

To scan your entire catalog for out of stock products, use the "Run task" button. Otherwise, this task will run whenever an inventory level is updated.

If you'd like to wait until the product has been out of stock for several days, use this task instead: Unpublish products that have been out of stock for x days.

Installing this task

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.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!