Skip to main content

Purpose

Removes the favorite once a favorited product is ordered.

What to do

Import the Shopify Flow template and turn it on

[MultiLikes] Remove favorite on order creation [product favorites].flow

Download (3.5 KB)
This flow needs no configuration changes.

How the workflow works

When an order is created, the workflow waits 2 seconds, checks the order’s items one by one, and removes the purchased products from favorites. It does nothing for the following items, since there is nothing to remove, and moves on to the next item.
  • Items in orders with no customer attached (guest orders)
  • Items with no product variant, such as custom items
It runs without errors in the Shopify Flow run history, even for guest orders and orders that include custom items.
In the previous version of this template, the MultiLikes action ran for these items too, so errors appeared in the Shopify Flow run history. The previous version still removes purchased products from favorites, but the errors keep appearing. If your imported workflow has no Condition right after For each loop (iterate), turn that workflow off and import the template on this page again.