Magento Open Source 2.1.x

Coupon Codes

Coupons codes are used with cart price rules to apply a discount when a set of conditions is met. For example, a coupon code can be created for a specific customer group, or for anyone who makes a purchase over a certain amount. To apply the coupon to a purchase, the customer can enter the coupon code in the cart, or possibly at the cash register of your “brick and mortarA retail business with a permanent physical location, as opposed to being entirely virtual.” store. Here are a few ways that you can use coupons in your store:

  • Email coupons to customers
  • Produce printed coupons
  • Create in-store coupons for mobile users

Coupon codes can be sent by email, or included in newsletters, catalogs, and advertisements. The list of coupon codes can be exported and sent to a commercial printer. You can also create in-store coupons with a quick response code that shoppers can scan with their smart phones. The QR code can link to a page on your site with more information about the promotion.

Method 1: Create a Specific Coupon

Follow the instructions to create a cart price rule.

On the General Information page, set Coupon to “Specific Coupon.”

Enter a Coupon Code to be used with the promotion.

The format of the code as numeric, alphanumeric or alphabetical is determined by the configuration.

To limit the number of times the coupon can be used, complete the following:

  • Uses per Coupon
  • Uses per Customer

For unlimited use, leave these fields blank.

Coupon Information

To make the coupon valid for a limited period of time, complete the From and To dates. To select the date, tap the Calendar () button next to each field. If you leave the date range empty, the rule will never expire.

Complete the cart price rule as needed.

Method 2: Generate a Batch of Coupons

Follow the instructions to create a cart price rule.

Under Coupon Code, mark the Use Auto Generation checkbox.

To limit the number of times each customer can use the coupon, enter the number of Uses per Customer.

Generate Auto-numbered Coupons

Scroll down and expand the Manage Coupon Codes section. Then, do the following:

In the Coupons Qty field, enter the number of coupons that you want to generate.

Enter the Code Length, not including the prefix, suffix, or separators.

Set the Code Format to one of the following:

  • Alphanumeric
  • Alphabetical
  • Numeric

(Optional) Enter a Code Prefix to be added to the beginning of the code.

(Optional) Enter a Code Suffix to be added to the end of the code.

(Optional) In the Dash Every X Characters field, enter the number of characters.between each dash. For example, if the code is twelve characters long, and there is a dash every four characters, it will look like this: xxxx-xxxx-xxxx. Dashes make codes easier to read and enter.

When complete, tap Generate. The list of generated codes appears below.

Generated Codes