Skip to content

Latest commit

 

History

History

keep-inventory-levels-in-sync-within-products

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Keep inventory levels in sync within products

Tags: Inventory, Products, Sync

Useful for selling, say, a limited print with different framing options, this task makes sure that a product's inventory levels, for each variant and location, are all kept in sync.

Default options

{
  "filter_by_these_location_names__array": [],
  "filter_by_these_product_types__array": []
}

Learn about task options in Mechanic

Subscriptions

shopify/inventory_levels/update

Learn about event subscriptions in Mechanic

Documentation

Useful for selling, say, a limited print with different framing options, this task makes sure that a product's inventory levels, for each variant and location, are all kept in sync.

When an inventory level is updated, this task will update the inventory for all other variants of the same product.

Optionally, configure this task to filter for certain location names and product types. If you leave these blank, the task will monitor and update inventory across all locations, and for all product types.

Limitations

Changes to multiple inventory items for a single product, within the span of 60 seconds, will result in only the first inventory change being applied to all inventory items. For example, if a customer purchases a framed and unframed version of the same print, the inventory levels for that product will only be decremented by 1, not by 2. If this is causing trouble for you, let us know!

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!