Use Case: How to Auto Apply a coupon and offer a free product based on the Allowed locations

Overview

↑ Back to top

Store owners may want to run location-specific promotions, such as offering a free product only to customers from selected countries or regions.

With Smart Coupons, you can automatically add a free product to the cart only when the customer’s location matches the allowed location settings.

This allows you to create targeted regional promotions while keeping the checkout experience seamless.

Business Scenario

↑ Back to top

A store owner wants to run a regional offer:

  • Customers from specific locations receive a free product automatically.
  • Customers outside the allowed location should not receive the free product.
  • No coupon code entry should be required.

How it works with Smart Coupons

↑ Back to top

When a customer’s billing or shipping address matches the allowed location:

  • The coupon applies automatically.
  • The free product is added to the cart.
  • If the location changes to an ineligible region, the coupon and free product are removed.

Steps to set up

↑ Back to top

Step 1: Create the coupon

↑ Back to top
  1. Go to Marketing > Coupons > Add New.
  2. Enter a coupon name, for example, LocationFreeGift.

Step 2: Set up general settings

↑ Back to top

In the General tab:

  • Set the Discount type (Fixed Cart or Percentage, if needed)
  • Set the Coupon amount to 0.
  • Enable Auto Apply. For more details, you can refer to the documentation here.

Step 3: Set Allowed locations restriction

↑ Back to top
  1. Go to the Usage restrictions tab.
  2. Scroll down to find the Smart Coupons Restrictions dropdown field, select “Allowed locations,” and then click on the “Add” button.
  3. In the “Allowed locations” field, you can set a country, state, city, and zip code.
  4. Select “Match for location in” whether you want to validate the coupon based on the “Billing” or “Shipping” address. For more details on setup, you can refer to the documentation here.

Step 4: Add the free product

↑ Back to top
  1. Go to the Actions tab.
  2. Under “Add products to cart,” search for and select the product you want to offer for free along with the quantity under “each with quantity.”
  3. In the “with discount of” field, you can set a discount to 100%. For more information on how to set this up, please refer to the documentation here.

Customer Experience

↑ Back to top
  • The customer adds products to the cart.
  • Enters billing or shipping address at checkout.
  • If the address matches the allowed location, the coupon applies automatically, and the free product appears in the cart at zero cost.
  • Customers outside the allowed location do not receive the free product.

Conclusion

↑ Back to top

Smart Coupons makes it easy to run location-specific promotions without complicating checkout. You can deliver targeted rewards that feel personalized and relevant to your customers.

Related Products

Let customers subscribe to your products or services and pay on a weekly, monthly or annual basis.

Advanced, flexible shipping. Define multiple shipping rates based on location, price, weight, shipping class or item count.