Shopify Function Discount by Customer Tag Template
Quick start template - Special discounts for tagged customers
Last updated
Quick start template - Special discounts for tagged customers
Last updated
Function Junction simplifies discounting for customers with a specific tag.
Logged-in customers with a wholesale tag qualify for volume discounts on their order. Items added to the cart for wholesale customers are discounted by 15% off the entire order.
The wholesale customer will see their total discount in the subtotal area of the cart before checkout:
In this example, there are two tiggers. We've used the AND statement which requires that both conditions are true in order to execute the action. For the trigger conditions, we've chosen when a customer who has the "wholesale" tag and adds more than 4 items to the cart (five items required to qualify), the action will apply a 15% discount to the entire order:
Start by choosing the Order discount by customer tag template from the Home screen:
Or, from the Templates folder:
Name your discount by customer tag campaign. The name will help you identify the campaign in your main list of functions:
Example when viewing from Functions folder:
With Function Junction, you can build custom triggers to activate your function. In the wholesale customer example, we've used two conditions:
If the customer tag is wholesale
and the cart items quantity is greater than 4
This requires the customer to be logged-in, has been tagged with wholesale, and is purchasing at least four items to qualify for the 15% discount.
Function Junction will perform an action based on the trigger requirement. Customize the campaign's reward or action here.
In this example, the customer is rewarded with 15% off all items in the cart:
The logged-in customer is tagged with wholesale and is ordering more than four items.
Add an optional message about your campaign in the Offer message box:
The Offer message will be used in the cart totals area as shown above. The campaign name will be used if the Offer message is left blank.
After saving the function, you can return to the main Functions screen to activate and test the function.
Use the Publish toggle to activate your function or to turn off and use at a later time:
You can have multiple function active at the same time. Use the trigger options to ensure the correct campaigns are used for each of your scenarios.