Skip to content
OpenCart · User manual

Discounts PRO

Version 1.2.0 Product page
Chapter 5

Discount rules

This chapter explains the settings screen: the General tab, the three discount tabs and every column of a discount rule.

The settings screen

After the licence is validated, the screen shows these tabs: General, Categories, Manufacturers and Products, followed by FAQ, Support and Changelog - downloads (see Licence activation).

At the top right there are two buttons:

ButtonWhat it does
Apply changes (tick icon)Saves all tabs at once and keeps you on the screen. A message confirms the save.
Cancel (arrow icon)Leaves the screen without saving and returns to the dashboard.

One configuration applies to all the stores of a multi-store installation.

General tab

SettingWhat it does
StatusThe main switch of the extension. When it is off, no discount of any kind is applied, whatever the other tabs say.

The three discount tabs

The Categories, Manufacturers and Products tabs work the same way. Each one has:

  1. A status switch for the whole tab: Categories status, Manufacturers status or Products status. When it is off, the rules of that tab are ignored.
  2. A table of rules. Each row is one rule. Click the blue + button under the table to add a row, and the red - button at the end of a row to delete it.
  3. A report of the orders that received a discount of that kind (see Orders reports below).

The extension checks category rules first, then manufacturer rules, then product rules. Inside each tab, rows are checked from top to bottom.

Columns of a rule

ColumnWhat it does
StatusSwitches this row on or off. A row that is off is kept but never applied.
Category, Manufacturer or ProductsWhat the rule covers. See What a rule covers below.
TypePercentage: the discount is a percentage of the unit price. Fixed: the discount is a fixed amount.
Customer groupAll customer groups, or one group. With one group, only customers of that group get the discount.
RepeatWhen on, the discount is given once for every full set of Unit items. When off, each product receives it at most once.
Include taxWhen on, the discount is calculated on prices with tax.
FromFirst day of the offer, in the format YYYY-MM-DD. Empty means it starts immediately.
ToLast day of the offer, in the format YYYY-MM-DD. Empty means no end date.
DiscountThe percentage or the amount, as a number.
UnitHow many units the cart must hold to earn one discount.
MessageThe text of the discount line in the cart, one box per language of your shop.
Sort orderThe position of the discount line among the cart totals.

The sections below explain the columns that need more than a line.

What a rule covers

  • Category: choose one category, or All categories. The rule counts the units of the products assigned to that category. With All categories, the rule is checked for each category separately: the shopper needs Unit items from the same category, not from the cart as a whole.
  • Manufacturer: choose one manufacturer, or All manufacturers. As with categories, All manufacturers means "Unit items from any one manufacturer". Products without a manufacturer are never counted.
  • Products: start typing a product name and choose it from the suggestions. Add as many products as you need; each one appears in the box under the field, with a remove icon. All the products of the row count together: with Unit set to 3, one unit each of three listed products is enough.

Type and Discount

With Percentage, enter the percentage in Discount, for example 10 for 10% or 100 to make the item free. The percentage is applied to the price of one unit.

With Fixed, enter the amount in your default currency, for example 5. The amount is taken off once for each discount earned.

Unit and Repeat

Unit is the number of items that earns one discount. With Unit 3, two items earn nothing and three items earn one discount.

Repeat decides what happens with larger quantities:

  • Repeat on: one discount for every full set of Unit items. Six items with Unit 3 earn two discounts, nine items earn three.
  • Repeat off: each product in the cart receives the discount at most once, however many units of it the shopper buys. If the set is made of different products, more than one of them can still receive it.

Discounts in the cart shows worked examples.

Include tax

With Percentage, switching Include tax on calculates the percentage on the unit price with tax instead of the price without tax.

With Fixed, enter the amount without tax. When Include tax is on, the extension adds the tax of the product to that amount, so the line shows the amount plus tax.

Use it when your shop displays prices with tax and you want the discount line to match the prices your customers see.

Customer group

Customers who are logged in get the rule only when their group matches. Visitors who are not logged in are treated as the customer group with ID 1, which is the Default group of a standard OpenCart installation. To give a discount to guests, use All customer groups or that group.

From and To

Click the calendar button to pick a date, or type it as YYYY-MM-DD. Both days are included. The dates follow your server's clock.

FromToThe rule applies
emptyemptyAlways.
a dateemptyFrom that day on, with no end.
emptya dateUntil that day.
a datea dateBetween both days.

Message

The text of the discount line in the cart, checkout, order and invoice. The extension adds the number of discounts after it, for example Summer offer x2. If you leave the box of a language empty, the line shows Discount x2 in that language.

Sort order

A number that places the discount line among the other order totals (sub-total, shipping, tax, total). Lower numbers appear higher. Empty uses 3. Use a number lower than the sort order of the Total order total, so the discount appears above the final total.

Requirements for a rule to apply

A rule gives a discount only when all of these are true:

  • Status in the General tab is on.
  • The status switch of its tab is on.
  • The row's Status is on.
  • Today is inside the From and To dates.
  • The shopper's customer group matches.
  • Discount and Unit are filled in.
  • The cart holds at least Unit items covered by the rule.

Orders reports

Below the table of rules, each tab shows a list of the orders that received a discount of that kind: Orders with category discounts, Orders with manufacturer discounts or Orders with product discounts.

ColumnContent
IdThe order number.
DateThe date of the order.
TotalThe order total.
DiscountThe amount of the discount line.
TitleThe text of the discount line. Click it to open the order.

Newest orders come first. Amounts are shown in your default currency.

Still need help?

Open a support ticket from your account and our team will look at your store with you.