Creating Conditional Discounts Based on Customer Location

Last updated
5th May 2025
Read time
8 mins

Cover image

Global brands face a complex challenge when it comes to pricing: a one-size-fits-all approach rarely works across different markets with varying economic conditions. Products priced appropriately for high-income regions may be prohibitively expensive in emerging markets, limiting growth potential. Location-based conditional discounts that automatically adjust pricing based on the customer's shipping address country provide a powerful solution for implementing nuanced global pricing strategies.

Standard Shopify discounts don't support shipping address-based conditions, but with the Sway Functions Generator, you can create sophisticated discount rules that apply different rates based on customer location.

The Business Case for Location-Based Discounts

Market Penetration
More accessible pricing in emerging markets drives adoption and market share
Pricing Optimization
Maintain premium pricing in high-income regions while offering appropriate discounts elsewhere
Competitive Positioning
Match local competitors's pricing without compromising global brand positioning
Reduced Grey Market Risk
Address pricing disparities that might otherwise fuel unauthorized reselling
Improved Conversion Rates
Location-appropriate pricing leads to higher conversion in price-sensitive markets

Step-by-Step Implementation

1. Access the Discount Functions Section

Screenshot showing the Functions menu with Discount option highlighted

  1. From your Shopify admin, open the Sway Functions Generator app
  2. Click on "Functions" in the main navigation
  3. Select the "Discounts" tab

2. Create a New Conditional Discount Function

Screenshot showing the 'Create function' button and discount type selection

  1. Click "Create function"
  2. From the modal, select "Conditional Discount"
  3. You'll be taken to the function editor

3. Configure Basic Settings

Screenshot showing the basic discount configuration form

  1. Enter a descriptive campaign name (e.g., "Emerging Markets Pricing")
  2. Select the discount class (typically "Automatic Discount")
  3. Set the qualifier behavior to "Discount if all qualify"

4. Set Up Shipping Address Country Qualifier

Screenshot showing shipping address qualifier configuration

This is where you'll define which countries receive the location-based discount:

  1. Under "Customer Qualifier," select "Shipping Address Country"
  2. Choose the condition "is one of"
  3. Add your target countries (e.g., India, Brazil, Mexico, Indonesia, etc.)
  4. These countries will be eligible for the special regional pricing

5. Configure Discount to Apply

Screenshot showing discount configuration

  1. Select "Percentage Discount" as the discount type
  2. Enter your region-specific discount percentage (e.g., 15%)
  3. Add a message like "Regional pricing applied!"

6. Set Combination Rules

For location-based discounts:

  1. Under "Combine with," consider allowing combination with shipping discounts
  2. Typically disable combination with other product discounts to maintain pricing control

7. Configure Discount Settings

  1. For ongoing regional pricing strategies, leave the end date open
  2. Consider whether to apply to subscription orders based on your business model

8. Save and Test

  1. Save your function
  2. Test thoroughly by creating test orders with shipping addresses in different countries

Advanced Configuration Options

Tiered Regional Pricing

For more nuanced global pricing:

  1. Create multiple conditional discount functions with different country groups
  2. For example:
    • High-Income Regions: No discount
    • Middle-Income Regions: 10% discount
    • Low-Income Regions: 20% discount
  3. Set appropriate priority levels to ensure the correct discount applies

Product-Specific Regional Pricing

For different discount strategies by product type:

  1. Add product collection or tag qualifiers to your location-based function
  2. Create separate discount functions for different product categories
  3. For example:
    • Premium products: 10% discount in emerging markets
    • Mid-range products: 15% discount in emerging markets
    • Entry-level products: 20% discount in emerging markets

Promotional Regional Events

For special regional campaigns:

  1. Create time-limited location-based discount functions
  2. Target regions during relevant local holidays or events
  3. For example: "Diwali Special: 25% off for customers in India"

Implementation Example: Global Brand Regional Pricing

Screenshot showing global brand pricing example

Here's a real-world example from a global apparel brand:

  1. Three-Tier Global Pricing Strategy:

    • Tier 1 (High-Income Regions):
      • Countries: United States, Canada, Western Europe, Japan, Australia, etc.
      • Discount: None (full global pricing)
    • Tier 2 (Middle-Income Regions):
      • Countries: Mexico, Brazil, Turkey, Thailand, Malaysia, etc.
      • Discount: 15% off automatically applied
      • Message: "Regional pricing applied to your order"
    • Tier 3 (Emerging Markets):
      • Countries: India, Indonesia, Philippines, Vietnam, etc.
      • Discount: 25% off automatically applied
      • Message: "Regional pricing applied to your order"
  2. Special Considerations:

    • New product launches maintained global pricing for first 30 days
    • Premium collections had 5% lower regional discounts
    • Free shipping thresholds also adjusted by region

Merchandising Your Regional Pricing Strategy

Screenshot showing regional pricing merchandising

To effectively implement location-based pricing:

  1. Use Geo-Targeted Messaging - Display pricing messaging appropriate to the visitor's location
  2. Maintain Brand Positioning - Focus on value and quality rather than discounting language
  3. Consider Currency Display - Show prices in local currency when possible
  4. Optimize Regional Marketing - Tailor marketing materials to regional price expectations
  5. Transparent Communication - Be clear about regional pricing policies to avoid customer confusion

Real Results: Global Brand Case Study

A global lifestyle brand implemented location-based conditional discounts with these results:

Measuring Success

To evaluate the effectiveness of your location-based discount strategy, monitor these metrics:

Common Issues and Solutions

| Issue | Solution | |-------|----------| | Grey market reselling | Implement order quantity limits and monitor unusual buying patterns | | Customer VPN usage | Add additional verification methods for regional pricing | | Existing customers seeing price differences | Implement grandfathered pricing for established customers | | Dynamic currency fluctuations | Regularly review and adjust regional discount percentages |

Next Steps

Ready to implement location-based conditional discounts for your global brand? Start by:

  1. Analyzing your target markets and their price sensitivity
  2. Grouping countries into appropriate pricing tiers
  3. Determining optimal discount percentages for each tier
  4. Creating your conditional discount functions
  5. Monitoring performance and adjusting as needed

For personalized assistance with your global pricing strategy, book a consultation with our team.

Ask in our community
Question not answered? Ask us and other customers in the Sway customer community.
Go to community
Contact support
Message our support team privately to discuss anything specific to your organization
Contact support