no-translate

How to Create a Discount for a Specific Collection with SupaEasy Flow

Apply a percentage discount only to the products of one collection, leaving the rest of the cart at full price.
Scritto da Fabio Romanelli
Aggiornato 1 settimana fa

Running a promotion on a single collection is one of the most common requests we hear. You want your seasonal line or your clearance items on sale, but you don't want the discount spilling over to the rest of the catalog. With SupaEasy Flow you can build this in a few minutes: Flow looks at every line in the cart, picks only the products from your collection, and applies the discount to those lines alone.

Use case example: a customer adds a product from your Promo Collection and a regular product to the cart. The promo product gets 50% off, while the regular product stays at full price.

What You'll Need

  • App plan: any SupaEasy plan. Flow is included in all plans, starting from the Starter plan.

  • Shopify plan: any Shopify plan. Shopify Plus is not required.

  • Store access: admin or staff access with permission to manage apps and discounts.

  • In your store: a collection that contains the products you want to discount.

  • Estimated time: about 5 minutes.

Create a new discount function in Flow

Open SupaEasy and go to the Flow Creator. Click + Create Function and choose Discount as the function type.

In the builder, give your flow a title you'll recognise later. The title is only for internal use, customers never see it, but it's required to save the Flow.

Discount flow builder with the title filled in

Set when the discount applies

First, let's move in the canva to create the flow. move to the bottom and hit the Edit flow icon. The canva will open and the starting node Receive Function Input will appear in the center. Now let's tell Flow when this discount should come into play. We use the Condition node for this: click the + icon under the Function Input block and choose Condition. Click the Check if… node to open the side panel, then click + Rule to add the condition section and select from the drop down menu the qualifier you want, for example that the cart contains a product from your promo collection. When you're done, close the panel to go back to the canvas. The setting will be saved automatically inside the node.

Select only the products from your collection

Now we need to make sure the discount touches only the right products, and we use the Filter node to make this selection. Add a line item filter under the condition and click it to open its settings. Click + Rule, change the property to Product Collections, then click Set values and choose your collection (in our example, Promo Collection).

From this point on, only the cart lines that belong to that collection move forward in the flow. Everything else in the cart is left untouched.

Set the discount value

Under the filter, click the + handle and add a Result. Open the Product Discount node: this is where you decide how much your customers save.
Set the Discount Type to Percentage and the Value to 50 for a 50% discount. You can also add a message that customers will see next to the discounted price.

Save and choose the discount settings

Click Save in the top-right corner to save the Flow.
Now go on the Discount settings popup from the summary section in the right side of the canvas. Here you can decide with more accuracy all the characteristics of the discount using the options for Customer Segments, Markets, Schedule, if apply to On-Time purchases or Subscription products and add tag to combine with other Product Discounts. Then click Save to confir

You can open Discount settings either before building the flow on the canvas or, as we did here, after the first save once the flow logic is in place. The result is the same.

Remember set your discount as Automatic or Discount code in the Discount type section then decide how this discount should combine with your other promotions. Turn on one or more of the Order discounts, Product discounts and Shipping discounts checkboxes depending on which discounts you want it to work with. Click Save once more and go back to the Flow list: your new discount will be there, ready to work.

Test it on your store

Test it on your store

The last step is yours. Before sharing a new discount or function with your customers, test it on your store and try both sides of the rule. Build a cart that meets your conditions and check that the result appears as expected, then build one that doesn't and make sure nothing changes. Change quantities, add or remove products, and always go all the way to the checkout page, to have a full check on the full process. If your store has other active discounts, test them together to confirm the combinations behave the way you set them. If something doesn't look right, open the flow again and review each node, or check the function logs in SupaEasy to see what happened.

Summary

This flow applies a percentage discount only to the products of one collection, leaving the rest of the cart at full price. It's a clean base for many promotions: you can switch to a fixed amount, target a different collection, add more conditions such as a minimum cart total or a customer tag, or turn it into a discount code for a specific campaign, all from the same canvas.

If you have any questions or need assistance during setup, our team is here to help. You can contact the Nextools Support Team anytime via email at support@nextools.tech or through the in-app live chat during live chat opening hours. We'll be happy to assist you.

Thank you for choosing Nextools and using the SupaEasy app.

Ti è stato utile questo articolo?