If you are using Auto-generated or Hybrid-generated add to cart mode of CPB - Custom Product Builder app there are new products generated in your store. In this article we offer you a solution on removing or drafting them automatically with Shopify Flow app which is a free Shopify app.
You can find more information on Add to cart modes in this article.
1. Check if Flow app is installed in your store. If it is not, please download it from Shopify app market.
2. Create a new workflow. Below are the steps in the flow for the automatic deletion of cpb_ordered products:
- Select a trigger -> Shopify -> Product Created
- Then -> Condition -> Add variable -> Product -> productType -> Equal to -> cpb_ordered
- Then -> Action -> Flow -> Wait -> Set time. IMPORTANT: we recommend setting timer to 48 hours, but it might be shorter or longer if you wish. If you set a short timer - the product will be deleted from the client's cart, and it will make the product unpurchaseable.
- Then -> Action -> Shopify -> Delete product.
Below, you can see what the workflow will look like.
Instead of Deleting products, you can set them automatically to the draft by changing the Delete product action to Update product status to Draft.
You can also delete cpb_hybrid products in the same way.
IMPORTANT: cpb_hybrid products must NOT be set to the draft - it will lead to Add to Cart functionality malfunctioning.
You can download workflow files below:
If generated products show up anywhere in your collections, please refer to this article.
Comments
0 comments
Please sign in to leave a comment.