Articles on: Shopify

Auto publish or hide and archive products

This option will be shown in the Advanced Settings (Step 4) of the update product feed. If the Published field is mapped, auto-publish and hide will be disabled. To enable it, remove the Published field from the Matching Column (Step 2).


This feature will help you to unpublish or archive when the stock level or quantity is zero. Moreover, it can publish live when it restocks or when stock comes back. To use this feature, enable Inventory Tracked under Quantity > Smart setting.


If products are archived while they still have stock, check the following settings:


  • Auto Archive Products should only be used when the product or its variants have zero quantity. Select No action if you do not want Stock Sync to archive products automatically.
  • Auto archiving applies only when all variants have zero quantity across all locations and Continue selling when out of stock is disabled. Stock available at another location should therefore prevent archiving.
  • If archived products should become available again when they return to the feed with stock, enable Auto Publish Products for every relevant Update Feed. Products are republished as live, not draft.
  • If the product is missing from the feed rather than merely out of stock, review the linked Auto Clear Discontinued Remove Feed and its Store Product Filter. Products no longer found in the feed are archived by default, independently of their inventory quantity.


1. Auto Publish Products


Products are visible for purchase in the storefront only if at least one variant has a quantity greater than zero.


When Auto Publish is enabled and a product meets the in‑stock condition, it will be published as live, not as draft.


(a) No action: Don't make any changes



For example: If don't want to make any changes to publish the products you can select this as no changes.


(b) Matching products within a feed file: Auto publish all the matching products within the feed file but the variant quantity should be more than zero.



For example: Products will be automatically published if the quantity feed is greater than zero. For example, if a supplier updates the feed with five products having a quantity greater than zero, those five products will be published.


(c) All filtered products in store: Auto publishes all products in store which applied with filter if any one of the variants has a quantity of more than zero.



For example: To publish only two updated products, filter for those products and select all filtered products. Then, only those two products will be published to the selected sales channel.



This option automatically removes products from the storefront so they are no longer visible or purchasable by customers, while still keeping them in the store dashboard.


Auto archiving occurs only when all variants have zero quantity across all locations and the “Continue selling when out of stock” option is disabled. If Continue selling when out of stock is enabled, the product remains active even when all variant quantities are zero, so it can continue to be sold. Products with zero stock and incoming inventory or pre-order information can therefore remain active; the auto-archive feature does not support additional metafield conditions.



(a) No action: Don't make any changes


This option automatically removes products from the storefront so they are no longer visible or purchasable by customers, while still keeping them in the store dashboard.


Auto archiving occurs only when all variants have zero quantity across all locations and the “Continue selling when out of stock” option is disabled.



(a) No action: Don't make any changes



For example: If you don't want to make any changes to archive the products you can select this as no changes.


(b) Matching products within a feed file: Auto archive all matching products within the feed file and if the variant quantity is zero. 



For example: Products will be automatically archived if the quantity feed is less than zero or equal to zero. For example, if a supplier updates the feed with five products having a zero quantity, those five products will be archived.


(c) All filtered products in store: Auto archive all filtered products in store if any one of the variants has zero quantity or less than zero included in all locations. Continue selling when out of stock should be disabled. 



For example: To archived only two updated products, filter for those products and select all filtered products. Then, only those two products will be archived in the store.


3. Auto unpublish products


This unpublishes the product from all sales channels, preventing customers from seeing or buying it. The product remains in your store dashboard but is no longer live. This action occurs when all variant quantities are zero in all locations and continued selling out of stock is disabled.


(a) No action: Don't make any changes


For example: If you don't want to make any changes to archive the products you can select this as no changes.


(b) Matching products within a feed file: Auto unpublish all matching products within the feed file but the variant quantity is zero. 



For example: Products will be automatically unpublished if the quantity feed is less than zero or equal to zero. For example, if a supplier updates the feed with five products having a zero quantity, those five products will be unpublished.


(c) All filtered products in store: Auto unpublish all filtered products in store if any one of the variants has zero quantity or less than zero included in all locations. Continue selling when out of stock should be disabled. 



For example: To unpublish only two updated products, filter for those products and select all filtered products. Then, only those two products will be unpublished to the sales channel.


4. Auto unlisted products


This action unlists the product, removing it from public view (search results, collections) while keeping it in your store backend, accessible via direct link. This is equivalent to hiding the product from customers while maintaining it in your inventory. Unlisting occurs when all variant quantities are zero across all locations and continued out-of-stock selling is disabled.



(a) Matching products within a feed file: Auto unlisted all matching products within the feed file but the variant quantity is zero. 



For example: Products will be automatically unlisted if the quantity feed is less than zero or equal to zero. For example, if a supplier updates the feed with five products having a zero quantity, those five products will be unlisted.


(b) All filtered products in store: Auto unlisted all filtered products in store if any one of the variants has zero quantity or less than zero included in all locations. Continue selling when out of stock should be disabled. 



For example: To unlisted only two updated products, filter for those products and select all filtered products. Then, only those two products will be unpublished to the sales channel.

Updated on: 23/07/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!