Logic Builder: Examples
We've created special video and text tutorials to guide you on creating common types of discounts using our advanced logic builder.
We hope that these brief videos will help you create the exact offer you wanted, quickly.
(Example: 10% off for customers with the tag "example-tag")
You'll need:
A "Check if" step with a single "Include/exclude customers" condition. Select "Customers with a specific tag," enter your tag, and then press ENTER.
An "Apply discount" step, with the desired discount value.
You can find more information about our customer eligibility options here.
Example: How to apply different discount percentage to different products.
You'll need to chain together multiple "Check if" steps, using the "Otherwise" button.
Each "Check if" step needs an "Include/exclude products" condition. Use the "Then" button on each "Check if" step to add an "Apply discount" step.
Your goal is to create logic that says "If it's one of these products, apply this discount. Otherwise, if it's one of these other products, apply this other discount." And so forth.
Click the thumbnail above to watch our founder teach you how to apply different discounts to different product variants.
You'll need to chain together multiple "Check if" steps, using the "Otherwise" button.
Each "Check if" step needs an "Include/exclude products" condition. Use the "Then" button on each "Check if" step to add an "Apply discount" step.
Your goal is to create logic that says "If it's one of these product variants, apply this discount. Otherwise, if it's one of these other product variants, apply this other discount." And so forth.
Click the thumbnail above to watch our founder teach you how to create a first time customer discount.
To set up a first-time customer discount, you first need to create a "Check if" step, with a "Customer number of orders" condition.
Next, set these options for the condition:
Compare this number: Customer number of orders
To this number: 0
Compare by: Equals (==)
Finally, add an "Apply discount" step, and press "Save."
Click the thumbnail above to watch our founder teach you how to create a tiered loyalty discount.
To set up a tiered loyalty discount, you need to create a chain of "Check if" steps. Each should have:
An "Include/exclude customers" condition that includes customers with a specific tag (or metafield, or however you distinguish between your loyalty tiers)
An "Apply discount" step as its "Then," where you apply the discount that you want that loyalty tier to receive
You can use the "Otherwise" button to chain together alternative conditions. This way, if a customer does not have the "Gold" tag, for example, you can provide logic that checks if they do have the "Silver" tag, and if so, gives them a different discount.
Click the thumbnail above to watch a demo video.
Create a Product Discount
In your logic builder page, select Discount for Specific Customer Tags
Click Edit Criteria
In the Edit Criteria, ensure you have your desired tag name added to the tag list
Click Add Criteria
Select Include/Exclude Products
In the newly added criteria, select Specific Collections
Click Search Collections and add your desired collection
Exit the Edit Criteria modal
Confirm your Discount Title and Discount Type setting
Click Save
Create a Product Discount
In your logic builder page, click the "Start from scratch" button
Click the "+" icon, then click "Check If"
Click Add Criteria
Select Minimum/maximum purchase requirements, then Click Add Criteria
In the Edit Criteria modal, in the "If" section, select Minimum purchase amount, write your desired minimum purchase amount in the input filed provided
Also in the Edit Criteria, in the "Applies To" section, select entire order
Exit, the Edit Criteria modal
Click the "Then" + icon, Choose Apply Discount. Give your discount a title and set your desired discount type
Click the "Otherwise" + icon, Choose "Check If".
Select Minimum/maximum purchase requirements, then Click Add Criteria
In the Edit Criteria modal, in the "If" section, select Minimum quantity of items and type your desired quantity in the input field
Also in the Edit Criteria, in the "Applies To" section, select entire order
Exit, the Edit Criteria modal
Click the "Then" + icon, Choose Apply Discount. Give your discount a title and set your desired discount type
Click Save
Here is how to create a product discount specifically for VIP membership, ensuring that the discount applies to all products except for the VIP membership product itself:
Click the thumbnail above to watch a video demonstration of this setup.
Create a product discount in the app.
Choose the "Automatic" option and give it a title (e.g., VIP membership example).
Click on "Edit Logic" and then "Start from Scratch."
Add the first condition: "Check if specific products are in the cart."
Choose "Specific products" and enter the VIP membership product.
Add the second condition: "Include/Exclude products."
Change from "Include these products" to "Exclude these products."
Select the VIP membership product.
Click on "Then," and choose "Apply discount."
Set the title and discount type for the discount to be applied to products other than the VIP membership.
If you have questions about our advanced logic builder, press the chat icon at the bottom right of the page to start a conversation with us.
We want to hear about your experience with our app! Leave a review on the Shopify App Store.
We hope that these brief videos will help you create the exact offer you wanted, quickly.
How To Apply An Automatic Discount for Customers with a Specific Tag
(Example: 10% off for customers with the tag "example-tag")
You'll need:
A "Check if" step with a single "Include/exclude customers" condition. Select "Customers with a specific tag," enter your tag, and then press ENTER.
An "Apply discount" step, with the desired discount value.
You can find more information about our customer eligibility options here.
How to Apply Different Discounts to Different Products
Example: How to apply different discount percentage to different products.
You'll need to chain together multiple "Check if" steps, using the "Otherwise" button.
Each "Check if" step needs an "Include/exclude products" condition. Use the "Then" button on each "Check if" step to add an "Apply discount" step.
Your goal is to create logic that says "If it's one of these products, apply this discount. Otherwise, if it's one of these other products, apply this other discount." And so forth.
How to Apply Different Discounts to Different Product Variants
Click the thumbnail above to watch our founder teach you how to apply different discounts to different product variants.
You'll need to chain together multiple "Check if" steps, using the "Otherwise" button.
Each "Check if" step needs an "Include/exclude products" condition. Use the "Then" button on each "Check if" step to add an "Apply discount" step.
Your goal is to create logic that says "If it's one of these product variants, apply this discount. Otherwise, if it's one of these other product variants, apply this other discount." And so forth.
How to Create a First-Time Customer Discount
Click the thumbnail above to watch our founder teach you how to create a first time customer discount.
To set up a first-time customer discount, you first need to create a "Check if" step, with a "Customer number of orders" condition.
Next, set these options for the condition:
Compare this number: Customer number of orders
To this number: 0
Compare by: Equals (==)
Finally, add an "Apply discount" step, and press "Save."
How to Create a Tiered Loyalty Discount
Click the thumbnail above to watch our founder teach you how to create a tiered loyalty discount.
To set up a tiered loyalty discount, you need to create a chain of "Check if" steps. Each should have:
An "Include/exclude customers" condition that includes customers with a specific tag (or metafield, or however you distinguish between your loyalty tiers)
An "Apply discount" step as its "Then," where you apply the discount that you want that loyalty tier to receive
You can use the "Otherwise" button to chain together alternative conditions. This way, if a customer does not have the "Gold" tag, for example, you can provide logic that checks if they do have the "Silver" tag, and if so, gives them a different discount.
How do i make a discount that is driven by a customer tag to only apply to a certain collection of products?
Click the thumbnail above to watch a demo video.
Steps
Create a Product Discount
In your logic builder page, select Discount for Specific Customer Tags
Click Edit Criteria
In the Edit Criteria, ensure you have your desired tag name added to the tag list
Click Add Criteria
Select Include/Exclude Products
In the newly added criteria, select Specific Collections
Click Search Collections and add your desired collection
Exit the Edit Criteria modal
Confirm your Discount Title and Discount Type setting
Click Save
How do i make a discount based on cart value?
Steps
Create a Product Discount
In your logic builder page, click the "Start from scratch" button
Click the "+" icon, then click "Check If"
Click Add Criteria
Select Minimum/maximum purchase requirements, then Click Add Criteria
In the Edit Criteria modal, in the "If" section, select Minimum purchase amount, write your desired minimum purchase amount in the input filed provided
Also in the Edit Criteria, in the "Applies To" section, select entire order
Exit, the Edit Criteria modal
Click the "Then" + icon, Choose Apply Discount. Give your discount a title and set your desired discount type
Click the "Otherwise" + icon, Choose "Check If".
Select Minimum/maximum purchase requirements, then Click Add Criteria
In the Edit Criteria modal, in the "If" section, select Minimum quantity of items and type your desired quantity in the input field
Also in the Edit Criteria, in the "Applies To" section, select entire order
Exit, the Edit Criteria modal
Click the "Then" + icon, Choose Apply Discount. Give your discount a title and set your desired discount type
Click Save
Discount that applies when a VIP/Membership Product is in the cart
Here is how to create a product discount specifically for VIP membership, ensuring that the discount applies to all products except for the VIP membership product itself:
Click the thumbnail above to watch a video demonstration of this setup.
Steps:
Create a product discount in the app.
Choose the "Automatic" option and give it a title (e.g., VIP membership example).
Click on "Edit Logic" and then "Start from Scratch."
Add the first condition: "Check if specific products are in the cart."
Choose "Specific products" and enter the VIP membership product.
Add the second condition: "Include/Exclude products."
Change from "Include these products" to "Exclude these products."
Select the VIP membership product.
Click on "Then," and choose "Apply discount."
Set the title and discount type for the discount to be applied to products other than the VIP membership.
Still need help?
If you have questions about our advanced logic builder, press the chat icon at the bottom right of the page to start a conversation with us.
Have any feedback for us?
We want to hear about your experience with our app! Leave a review on the Shopify App Store.
Updated on: 26/08/2024
Thank you!