Set up WooCommerce Storewide Discount

How to Set up WooCommerce Storewide Discount (3 Ways)

Let’s face it—nothing excites online shoppers more than the word “Discount”! In fact, a staggering 2.56 billion out of 2.64 billion online shoppers hunt for discounts before making a purchase.

So, if you want to grab their attention and boost your sales, setting up storewide discounts on your WooCommerce store is a no-brainer. 

In this article, we will find out what is a WooCommerce storewide discount and how to apply discount across entire WooCommerce store.

Let’s get started.

What is a WooCommerce Storewide Discount?

In simple words, a WooCommerce storewide discount means you are offering a discount on all your products. No matter what product or products your customers add to the cart, the same discount amount or percentage will be applied.

In addition to the flat discount, you can apply different conditions to the discount rule. Here are some examples of WooCommerce storewide discount:

  • Tiered Discounts: As the customer’s order quantity increases, the discount percentage also increases. For example, you could offer a 5% discount for orders over $100, a 10% discount for orders over $200, and a 15% discount for orders over $300.
  • Bulk Discounts: A fixed discount is applied to all products in the cart when a certain quantity is reached. For example, you could offer a 10% discount on all products when the customer buys 5 or more items.
  • Total Order Value Discounts: A discount is applied to the entire order when the total order value reaches a certain threshold. For example, you could offer a 15% discount on all products when the customer’s total order value is $500 or more.

Overall, WooCommerce storewide discount are powerful tools for encouraging customers to buy more and can help increase your overall sales.

How to Create a Storewide Discount in WooCommerce

There are multiple ways you can create a WooCommerce storewide discount. We will cover three ways in this article.

  1. Using a plugin
  2. Using the WooCommerce coupon feature
  3. Using custom codes

We have mentioned the plugin option at the top because it’s the safest and most feature-rich advanced option. Let’s get into the details.

Creating WooCommerce Storewide Discount with a Plugin

A discount plugin lets you set up automatic storewide discount in WooCommerce almost effortlessly. It also allows you to generate a WooCommerce dynamic storewide discount by applying various conditions to your discounts.

We have previously covered a series of articles on WooCommerce discounts in our blog. If you are new to discounts, check our complete guide on WooCommerce discounts for a better idea.

During our own research on creating various WooCommerce discount rules, we have tested a number of discount plugins, both free and paid.

And as a result, we highly recommend the plugin called – Disco – Dynamic Discount Plugin for WooCommerce

Disco - WooCommerce Storewide Discount plugin

The best part? Disco is completely free! It’s packed with all the powerful features you’d usually find only in premium, paid plugins. It’s like getting a paid plugin experience for zero cost!

This plugin has all the advanced features. Whether you are looking to create bulk discounts, bundle discounts, percentage discounts, Buy One Get One discounts, quantity discounts, or advanced conditional discounts such as user role discounts, first-order discounts, discounts based on purchase history or membership, etc., you can create all types of discounts with this plugin.

Coming back to WooCommerce storewide discount, let’s create some sitewide discounts using this WooCommerce storewide sale plugin.

Creating Storewide Discounts Using a Plugin

Disco is one of the best WooCommerce storewide discount plugins because of its ease of use and powerful features. You can install the plugin from the WordPress repository.install plugin

It creates a dedicated menu in the WordPress admin panel.

create discount diso

Hit the Create a Discount button to create your storewide discount rule WooCommerce. Here’s what the new window looks like.

Disco window

Input your discount rule name and select the discount type.

input name

Let’s create different types of storewide discounts.

Creating Percentage and Flat Storewide Discount

Select the Product option from the Discount Intention section.

select product

As we are creating a WooCommerce storewide discount for all products, we need to select the WooCommerce discount All Products option. You can also set the discount validity or expiration date here.

Let’s say you want to offer a 15% discount on all your products. You can select the Percentage option from the Discount Type field and input your value in the appropriate box.

set WooCommerce Storewide Discount

Save your discount rule. Now, jump to your storefront. As it is a sitewide discount, the plugin automatically applies the discounts on all product prices.

WooCommerce Storewide Discount

The Cart page also showcases how much the customers is saving from the WooCommerce storewide discount.

percentage discount

If you want to set a flat rate discount, all the settings will be same. You only need to select one of the Fixed options from the Discount Type dropdown.

fixed WooCommerce Storewide Discount

Set your value.

set discount

Save or update your discount rule. This will apply a fixed and flat $10 discount on all your products.

discount applied
Creating a Bulk WooCommerce storewide Discount

We want to offer the following bulk discount –

  • Buy 3-5 products: 5% off
  • Buy 6-10 products: 10% off
  • Buy 11-15 products: 15% off
  • Buy 16 or more products: 20% off

Select the Bulk discount option and All products from the respective sections.

bulk discount

Set the first quantity condition and value. After that, click the Add More button to add another rule.

set rule

Input the next set of rules.

set discount rule

Similarly, set the rest of the bulk rules.

all discount rules

Let’s test it out from the front.

example of discount

No change for below 3 products or product quantity. As soon as you reach 3, the system will apply the WooCommerce storewide discount.

bulk discount

Add six or more to check the next condition.

WooCommerce Storewide Discount example

As you added 6 items, Woo applied 10% discount as per your set rule. Now try with 16 or more for 20% discount.

discount applied
Creating Storewide Discount Based on Cart Total (Total Order Value Discount)

We gave an example earlier of a total order value or discount based on the cart total. It was – 15% discount on all products when the customer’s total order value is $500 or more.

Let’s create this whole store discount using the plugin. Select the Cart option from the Discount Intent section. As you know by now, select All Products.

Cart discount

Set percentage value.

set value

Now, we are offering the discount only when a customer adds a minimum $500 worth of products to the cart. This means to avail of the discount, the customers need to meet a $500 cart total condition.

Therefore, we need to add a condition to the discount rule. Click the Add Condition button.

add condition

The Disco plugin allows you to apply a wide range of conditions to personalize and customize your discount rules. For this example, select the Cart Subtotal option.

cart subtotal

Select Great than or Equal and input your value.

cart discount

If we go to your previous cart, we will see no discount has been applied yet because the cart subtotal is not $500 or more.

no discount

Add some products or increase the quantities to go past $500. WooCommerce will apply the cart total storewide discount when the condition is met.

WooCommerce Storewide Discount
Creating Tiered WooCommerce storewide Discount

Our initial example was – offer a 5% discount for orders over $100, a 10% discount for orders over $200, and a 15% discount for orders over $300.

From our previous example, we already know how to create a cart total-based condition. Select the Cart option from the Discount Intent section.

all products

Set the discount percentage to 5%.

set percentage

Add a new condition and select Cart Subtotal. Select Greater than or Equal and set your value.

cart condition

Now, how do we set the other conditions, such as a 10% discount on $200 or more?

Actually, no plugin allows you to set tiered discount like this within a single discount rule. You need to create separate individual rules for every set of tiered conditions.

Save your current discount rule and create a new one from the Disco dashboard.

create discount

All settings will be similar except for the value inputs.

set values

Save your discount rule and, in a similar fashion, create the last variation. You can also duplicate a rule from the dashboard.

duplicate discount

Set the correct values in your duplicated rule.

set discount

Let’s add products to check whether our discount rules are working or not. For $100 worth items, here’s the result.

discount example

For $200 or more, it will apply a 10% discount.

discount applied

Here’s the result for our last condition.

WooCommerce Storewide Discount

Creating WooCommerce storewide Discount Using Coupon Tool

The only discount tool WooCommerce packs is the Coupon tool. You can create sitewide coupons using this tool and promote them to your customers.

Customers only get the discount when they apply the code on the checkout or cart page. However, you can automatically apply coupon codes using some simple codes or a plugin.

To create a WooCommerce storewide coupon code, go to Marketing >> Coupon and start by clicking the following button.

add coupon

Let’s say you want to offer a 10% discount with this coupon. First, set a coupon code at the top.

coupon code

Next, select Percentage Discount from the Discount Type field and input your value. You can also set the expiry date.

set coupon condition

That’s pretty much it. You don’t need to change anything else for a WooCommerce storewide discount coupon.

Go to the storefront and add some products. To apply the coupon, click the Add a Coupon section/box/link (varies based on theme).

add coupon code

Insert your coupon code and hit apply.

coupon code

This should apply a 10% discount on your cart total.

coupon discount

Creating WooCommerce Storewide Discount Using Custom Codes

If you want to automatically apply a store-wide discount but don’t want to use any additional plugins, you can do so by adding some codes to your theme file. However, we must warn you this method is not recommended for beginners or people who are not familiar/comfortable with codes.

In the following example, we will apply a 15% sitewide discount.

Step 1: Access Your Theme’s Functions.php File

  • Log in to your WordPress dashboard.
  • Go to Appearance >> Theme Editor. In case you are using the default WordPress themes, go to Tools >> Theme File Editor.
theme file editor
  • On the right, find and click on the functions.php file. Scroll down to the bottom and hit enter to create some empty space.
function php

Step 2: Add the Custom Code

Copy and paste the following code at the end of your functions.php file:

add code
// Apply a 15% storewide discount

add_action('woocommerce_cart_calculate_fees', 'apply_storewide_discount');

function apply_storewide_discount() {

// Set your discount percentage

$discount_percentage = 15;

// Get the cart total

$cart = WC()->cart;

$discount = $cart->subtotal * ($discount_percentage / 100);

// Apply the discount

$cart->add_fee('Storewide Discount', -$discount);

}

Step 3: Save the Changes

  • Click on Update File to save your changes.

Step 4: Test the Discount

  • Visit the front of the store and add items to the cart.
  • You should see a “Storewide Discount” with the 15% reduction applied.
WooCommerce Storewide Discount using codes

Benefits of a Storewide WooCommerce storewide Discount

A WooCommerce storewide discount offers several advantages for online businesses:

1. Increased Sales

  • Encourages larger purchases: By offering discounts on bulk purchases, you incentivize customers to buy more products, leading to increased sales revenue.
  • Attracts new customers: Storewide discounts can attract new customers who are looking for the best deals.

2. Improved Customer Loyalty

  • Rewards repeat customers: Storewide discounts can be a great way to reward loyal customers who make frequent purchases.
  • Encourages repeat business: By providing value to customers, you can encourage them to return to your store for future purchases.

3. Reduced Cart Abandonment

  • Makes purchases more affordable: Shop-wide discounts can make purchases more attractive to customers, reducing the likelihood of cart abandonment.
  • Encourages impulse buys: When customers see a discount on a product they were considering, they may be more likely to add it to their cart.

4. Inventory Management

  • Helps clear excess inventory: Whole store discounts can be a useful tool for clearing out excess inventory, especially for products that are nearing their expiration date or have become outdated.
  • Reduces holding costs: By selling excess inventory, you can reduce the costs associated with storing it.

5. Competitive Advantage

  • Differentiates your store: Offering storewide discounts can help your store stand out from competitors and attract more customers.
  • Boosts brand reputation: A reputation for offering competitive pricing and value can help to improve your brand’s image.

6. Data Collection

  • Provides valuable insights: By tracking customer behavior and purchase patterns, you can gain valuable insights into your customers’ preferences and needs.
  • Informs future marketing strategies: This data can be used to inform future marketing campaigns and product offerings.

Wrap up

Overall, a WooCommerce storewide discount can be a highly effective tool for increasing your sales, improving customer loyalty, and boosting your online business’s bottom line. Hope this article will guide you in creating these discounts successfully for your store.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

5,890,481+ Downloads. 608+ plus 5-star ratings. Promote products on any platform you want.