CodeNewbie Community 🌱

batedim
batedim

Posted on

How to Configure WooCommerce Discount Rules

Discount is one of the proven strategy to increase sales. This article will help you understand how you can configure discounts using the popular Flycart WooCommerce Discount Rules plugin.

Set-Up WooCommerce Discount Rules

Configuring Woo discount plugin to fit in your WooCommerce store is pretty simple and takes no more than five minutes. This article walks you through on how to set up the Woo Discount Rules plugin and which setting does what.

Step 1: Select ‘Woo Discount Rules’ under the “WooCommerce” tab in your WordPress site dashboard.

After selecting the Woo Discount Rules plugin, it opens up a window on the right side of the WP dashboard where you can find three tabs.
Price discount rules
Cart discount rules
Settings

We are configuring the plugin and you’d probably know what to choose. Yes, Settings, it is.
In the Settings tab, you have around 8 very basic properties for configuring discount rules. Here’s how it looks.

Cart Rule Configuration

This setting will be reflected in the product pages when you set a "Cart rule"

Coupon name to be displayed
The coupon name which is associated with a discount rule needs to be entered in this field. This is set while creating a cart discount rule in the Rule page.

Rule setup for cart
If there are two or more discount rules that apply to the same discount rule, this field decides which rule to actually apply.

It has 4 options:

_First matched rule - To apply the rule with the highest priority or order

All matched rules - To apply all the matching rules

Biggest one from matched rules - To apply the rule that offers the highest discount

Lowest one from matched rules - To apply the rule that offers the lowest discount._

Enable Free shipping option

Select ‘Free Shipping’ as the discount type in the Rule page, if you wish to go with the shipping offers of default WooCommerce.
Select ‘disabled’ in WooCommerce if the free shipping offer is to be declined.

Message on apply discount in cart

Want to display some text message when a customer chooses to apply for a discount in the cart? The discount messages can be displayed both for price discount rules and cart rules.
Below settings that are to be enabled when you want to display a discount message for a price rule,
Go to Woo Discount Rules -> Settings -> Promotion section.
Configure the below settings to display the message,

Content to display in message

When the “message on apply discount in cart” is set to ‘enable’, it opens a new field where you will be asked to enter the message that needs to be added.
Shortcodes used in the text box,

{{title}} - this element displays the rule name.

Here, rule name has been used to display the discount message, the code to be written is,

<strong>"{{title}}"</strong> has been applied to your cart.

Selecting the ‘Title’ will make the ‘discount title’ to be displayed
Selecting the ‘Description’ will make the ‘discount description’ to be displayed.
Selecting ‘Title and Description’ will make both the ‘discount title’ and ‘discount description to appear when a customer chooses to apply a discount in the cart.

Reference Blog
How to Configure WooCommerce Discount Rules

Top comments (0)