Skip to main content
All CollectionsGlow Settings & Configuration
How can I setup custom order rules?
How can I setup custom order rules?

Create custom rules to reward high-value orders, exclude discounts, or prevent specific customers from earning points and more.

Brandon Swift avatar
Written by Brandon Swift
Updated yesterday

In some cases, awarding points based solely on the order total may not align perfectly with your loyalty program’s needs. For example, you may want to:

  • Award points only for orders over $50

  • Exclude customers using a specific email domain from earning points

  • Prevent points from being awarded when certain discount codes are applied

With Custom Order Rules, you can define specific conditions that override the points a customer would normally receive.

Accessing Order Rules

To manage Order Rules, navigate to Rewards > Order Rules in your Glow dashboard.

 

How Order Rules Work

Order Rules allow you to define conditions that determine whether points are awarded for an order. Each rule consists of four components:

  • Field – The order attribute that Glow will compare to your specified value.

  • Operator – Defines how Glow evaluates the comparison (e.g., "greater than" or "contains").

  • Value – The specific condition that must be met (e.g., "$50" or "gmail.com").

  • Points – The number of points awarded if the rule conditions are met.

Example Configurations:

Prevent points for orders under $50

Data Field: Order Total
Operator: is less than
Value: 50
Points: 0

Prevent points for customers using a Gmail address

Data Field: Customer Email
Operator: contains
Value: gmail.com
Points: 0

Prevent points when a discount code starts with "ABC-"

Data Field: Discount Code
Operator: contains
Value: ABC
Points: 0

Award 100 points for orders over $500

Data Field: Order Total
Operator: is greater than
Value: 500
Points: 100

Important Considerations

  • Order Rules are processed in the order they appear on the Rewards > Order Rules screen.

  • If a customer has a VIP multiplier applied, it will be used when awarding points. For example, if a customer has a 2x multiplier and qualifies for 100 points, they will receive 200 points.

  • Order Rules apply even if the standard points per order is disabled

Deep dive into data properties

1. Order Total

  • Property: order.total_price

  • Description: The total cost of the order, including items, discounts, taxes, shipping, and tips. Must be positive.

2. Discount Code

  • Property: order.discount_codes[last].code

  • Description: Returns the discount code applied at checkout (if applicable).

3. Total Discounted Amount

  • Property: order.total_discounts

  • Description: The total discount applied to the order.

4. Payment Gateway

5. Order Source

  • Property: order.source_name

  • Description: Identifies how the order was placed (e.g., web, POS, API, mobile).

6. Customer Email Address

  • Property: order.customer.email

  • Description: The email address associated with the customer.

7. Customer State

  • Property: order.customer.state

  • Values: disabled, invited, enabled, declined

  • Description: Indicates the customer’s account status.

8. Customer Tags

  • Property: order.customer.tags

  • Description: Tags assigned to a customer (up to 250 tags, each up to 255 characters).

9. Customer Note

  • Property: order.customer.note

  • Description: A custom note about the customer.

10. Customer Order Count

  • Property: order.customer.orders_count

  • Description: The number of orders the customer has placed.

11. Customer Total Spent

  • Property: order.customer.total_spent

  • Description: The total amount spent by the customer across all their orders.

Final Thoughts

Custom Order Rules give you the flexibility to tailor your loyalty program to fit your unique business needs. Whether you want to reward high-value orders, exclude certain discount codes, or prevent specific customer groups from earning points, these rules allow you to fine-tune how points are awarded. By strategically setting up Order Rules, you can create a more rewarding and engaging experience for your customers while maintaining control over your loyalty program’s structure. If you need any assistance or have questions, our team is here to help—just reach out!

Related Articles 

Please let us know if you have any questions. 

Sincerely,
The Glow Team

Did this answer your question?