Unpublish product

The Unpublish product action makes the product that triggers the workflow unavailable on the selected sales channels.

Fields

The Unpublish product action contains the following fields.

Fields used in the action.
FieldDescription
PublicationThe publication(s) from which the product will be unpublished.

Triggers

The Unpublish product action has a hidden field added to it by the trigger. This field, Product ID, identifies the product to hide. The product ID is set by default and can't be changed.

The Unpublish product action can be used in workflows that start with the following triggers:

API details

To learn more, review the publishableUnpublish mutation.

Templates

Check if a single variant or all product variants are out of stock at all locations

Hide products from the online store when either a single variant or all variants are out of stock across all locations. This ensures customers see only available items, enhancing their shopping experience. View template

Get notified when inventory is low and hide products when out of stock

Notify team members via email and Slack when product inventory drops below specific thresholds and automatically hide products from the online store when completely out of stock. View template

Merchandise low stock products by adding to a collection

Add low stock products to a sale collection and unpublish out of stock products from the online store. This template can be used to: increase sales by promoting low stock items, improve customer experience by removing out of stock items from the online store, and streamline inventory management by keeping track of low stock products. View template

Publish and unpublish products based on inventory level

Hide out of stock products from your online store and republish when they have at least one variant with inventory. View template

Schedule products to be removed from Online Store at the specified date and time

At a single date in the future, remove products from online store by tag, id, or sku. Makes use of Scheduled time trigger, Get Product Data action, For Each loop. View template

Can’t find the answers you’re looking for? We’re here to help.