Discount based on Customer Shipping Address

Learn how to easily create shipping address-based discounts using the Discount Rules for WooCommerce plugin in just a few simple steps.

Ramesh avatar
Written by Ramesh
Updated over a week ago

Introduction:

A Customer Shipping Address Based Discount, enabled by the Discount Rules for WooCommerce plugin, offers personalized discounts to customers based on their shipping address.

For example, provide a 15% discount to customers residing in the United States (a specific country).

This type of discount is designed to offer unique promotions and incentives that are personalized according to the customer's location or shipping address and the available shipping address based conditions are:

  • Shipping city

  • Shipping country

  • Shipping state

  • Shipping zipcode

  • Billing city

Note: All these conditions will be in Rules(optional). You can select your desired condition and set the rules.

Examples scenarios:

  • Offer a 25% discount for customers from the United States on their entire cart.

  • Provide free shipping for customers from California.

  • Apply 10% off on specific products for a range of zip codes.

  • Give a free Sunscreen to customers with a billing address in New York.

To create rules with shipping address-based conditions, you need to have the Discount Rules PRO plugin installed and activated. Purchase the PRO version by clicking on the button below.

Now, let's explore each example scenario in detail.

Example 1 : Provide a 25% discount on the entire cart for customers from the United States.

This discount offers a 25% off on the whole cart for customers whose shipping address or country is the United States. Any customer with a shipping address in the United States will be eligible for this discount.

To create this rule, follow these steps

Creating a Discount Rule:

  • Go to WordPress dashboard -> Woocommerce -> Woo Discount Rules -> Click on “Add New Rule” button

  • Select the discount types as “Cart Adjustment”, since we are offering 25% off from the whole cart for customers who are choosing “United States” as shipping country.

Configure the discount rule according to the screenshot provided below:

Details of configurations are:

  • Choose "All Products" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.

  • Set the discount type to a 25% percentage discount. You also have options to choose Fixed discount or Fixed discount per product

  • Include “Country” as additional condition and add the “United States” country here

  • Click on “SAVE” once we have successfully created the rule.

Customers who select the shipping country as "United States" will now be eligible for a 25% discount on their entire cart.

Screenshot showing 25% off applied at checkout for US customers:

Example 2 : Provide free shipping for customers from California

This discount offers Free Shipping for customers whose shipping state is California. So any customers whose shipping state is California will get free shipping.

To create this rule, follow these steps

Creating a Discount Rule:

  • Go to WordPress dashboard -> Woocommerce -> Woo Discount Rules -> Click on “Add New Rule” button

  • Select the discount types as “Free Shipping”

Then configure the discount rule as seen in the below screenshot:

Details of configurations are:

  • Give a title for this rule and click on the “Add condition” button

  • Select the “State” as additional condition and select the country

  • Inlist “California” state

  • Click on “SAVE” once we have successfully created the rule.

Customers who select the shipping state as "California" will now be eligible for Free Shipping.

Screenshot showing Free Shipping applied at checkout for California State:

Example 3 : Apply 10% off on specific products for a range of zip codes.

This discount offers 10% off on specific products for a range of zip codes. So any customers who purchase from the range of zip codes will get 10% off.

To create this rule, follow these steps

Creating a Discount Rule:

  • Go to WordPress dashboard -> Woocommerce -> Woo Discount Rules -> Click on “Add New Rule” button

  • Select the discount types as “Product Adjustment”

Then configure the discount rule as seen in the below screenshot:

Details of configurations are:

  • Choose "Products” from the filter options and type a few characters of the products name to find your product and select it. You also have options like specific Categories, selected Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.

  • Set the discount type to a 10% percentage discount. You also have options to choose Fixed discount or Fixed price per item.

  • Include “Zipcode” as an additional condition and add the zip code separating by commas.

  • Click on “SAVE” once we have successfully created the rule.

Customers who purchase from the specific zip code will now be eligible for a 10% discount on the specific in-listed products.

Screenshot showing 10% off applied for specific products at checkout for specific zip codes:

Example 4: Give a free Sunscreen to customers with a billing address in New York.

This discount autoadds a Free product “Sunscreen” for customers whose billing city is New York. So any customers whose billing city is New York will get a free product “Sunscreen”.

To create this rule, follow these steps

Creating a Discount Rule:

  • Go to WordPress dashboard -> Woocommerce -> Woo Discount Rules -> Click on “Add New Rule” button

  • Select the discount type as “Buy X Get Y”

Then configure the discount rule as seen in the below screenshot:

Details of configurations are:

Step 1: Choose "All Products" (storewide) from the filter options (buy X section). You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.

Step 2: Choose “Buy X get Y - Products” in the Discount/ Get Y section. You also have other options like “Buy X Get Y - All” or “Buy X Get Y - Categories” depending on your requirement.

Step 3: Choose how to count the quantities as -> Filter set above (count all quantities in cart as together. For example, if a customer buys 2 of Product A and 3 of Product B, our plugin count 5 products as together)

Step 4: Select the mode of application as

  • Autoadd

  • Set minimum quantity as 1, leave maximum quantity section as empty and set free quantity as 1

  • Choose the discount type as FREE (you can also set Percentage or Fixed Discount) and

Step 5: Add additional condition as "City" and enter the city as "New York"

Step 6: Save the rule.

Now, a “Sunscreen” product will get auto added as free for customers whose billing city is New York.

Screenshot showing free product “Sunscreen” auto added at checkout for New York as billing city:

The above discussed discount scenarios require a PRO version.

Note:

1. Discounts based on shipping address will be verified and applied exclusively during the checkout process.

2. When configuring conditions based on shipping, you can select "Yes" for "Refresh order review in checkout" in our settings tab.

Since the shipping information is updated during checkout, discounts will be applied based on the updated shipping details. When the "Refresh order review in checkout" option is set to "Yes," the checkout process will be refreshed, and discounts will be automatically updated.

Next Steps:

You may also want to check out these helpful guides:

Refer this video to know more about Shipping Address based conditional scenarios:

Still unclear?

If you need any assistance, please create a support request at our ticket system. We are always happy to assist you :)

Did this answer your question?