Remove product from collection

TheRemove product from collectionaction removes the product that triggers the workflow from acollection.

On this page

Fields

TheRemove product from collectionaction contains the following fields.

Fields used in the Remove product from collection action.
Field 德scription
Collections The collections from which the product is removed. ClickSelect collectionsto select the collections to remove the product from.

Triggers

TheRemove product from collectionaction has a hidden field added to it by the trigger. This field,产品ID, identifies the product to remove from a collection. The product ID is set by default and can't be changed.

TheRemove product from collectionaction can be used in workflows that start with the following triggers:

Example

Example of a workflow that removes a product from a collection when a product is archived

In this example workflow, a product is removed from a collection when the product status changes from active to archived.

API details

To learn more, review thecollectionRemoveProductsmutation.

Shopify准备OB欧宝娱乐APP开始销售?Try it free