If you want to offer your clients discounts on your product prices, you can set up the rules that govern who gets how much off. Discounts can be fixed amounts or percentages, and can be restricted according to the products being ordered, the type of user placing the order, the date, a voucher code that you define, etc.

To access your list of discounts, select Configuration­->Discounts from the main menu as shown in figure 3.7.

Figure 3.7 - Accessing the Discounts List

This takes you to the list of discounts.

 Tip: There is a filter available at the top of the page for you to type in the name, or part of the name of a discount to narrow down the records that are displayed. If the text you type in appears in more than one discount name, all of the matching records will be displayed.

Click on a discount to edit it, or on the 'New' toolbar button to create a new discount. This will take you to the discount editor.

Basic Tab

Discount Name

This is for your own use in helping you identify the discount. If you have a number of similar discounts, but you don't want to confuse your customers who might not know about the other similar ones, you could use the Display Name (below) for a generic description of the discount that gets displayed to them, and a more technical description as the actual Discount Name so that you can differentiate it from the others.

Display Name

The name of the discount that gets displayed to the user and appears on invoices etc. If left blank, then discount name (above) will be used.

Time-limited?

Indicate whether or not you want to limit the time period during which this discount is applied. If you select 'yes', the start and end dates that follow will define the period during which the discount is available. If you select 'no', the start and end date fields have no effect.

Start Date

Indicate the starting date for the period that you want this discount to be applied. If the Time-limited option (above) is set to 'no', this value has no effect.

End Date

The end date for the period that you want this discount to be applied. If the Time-limited option (above) is set to 'no', this value has no effect.

Global?

Whether this discount should be available for ALL of your products or not. If not, the discount will only be used if you specifically assign it to one or more products (this is done in the product editor).

 Tip: You can exclude certain products from having global discounts applied to them if you wish by specifying this in the product record.

Logged in Only?

Specify whether you only want this discount to be available to logged in users. You can apply further restrictions by using pre-requisite products - see below.

Minimum Order Value

If you only want the discount to be applied if the user orders products up to a certain value, you can specify the value here. For example, if you offer free shipping for orders over $50, you would set this to 50, set the percentage to 100, and indicate that this is a shipping discount (see below).

Shipping Discount?

Whether or not this discount should apply to the shipping fees for an order only. If set to no, this discount will be applied to the value of the products ordered. If set to yes, only the shipping fees will be affected. It is not possible to set up a single discount that takes of a percentage of both the product itself and the shipping fees - but you can define 2 separate discounts if you want to apply the same percentage to both.

Percentage

Enter the percentage discount to apply. If you want to use a fixed amount instead, set this to zero, and enter an amount below.

Amount

If the percentage value is zero, the amount you enter here will be deducted from the order total as a fixed amount (note: there is a separate setting to indicate whether to apply discounts before, on, or after sales tax [VAT] has been applied - see advanced tab, below - however, in most cases, applying discounts to the net amount is recommended). If you want to allow both a percentage discount and a fixed amount discount, just create 2 separate discount records, and indicate that they are not exclusive (see below).

Voucher

If the user has to enter a voucher code in order to qualify for this discount, you can enter the code here. When using this option, you would also typically add a field to the appropriate order form to allow the user to enter their voucher code when ordering (see the 'order' tab on the order form).

Recurring Discount?

Whether or not to apply this discount to repeat payments. If set to 'no', the discount will only be applied to the first payment. The discount must be assigned to the order if it is to be used on recurring payments (this is done automatically when new orders are taken via your order forms, but if you create orders manually as an administrator, you have to assign them yourself - see the orders topic).

Add to Renewals?

If there are already some non-auto-renewing orders in the system which may qualify for this discount when they come to be renewed, you can select here whether or not to allow the discount to be added to the order. If the discount was already associated with the order (because the order qualified for it at the time it was created), it will continue to be applied regardless of this setting - this setting is just to specify whether or not to add the discount if it was not there already.

Available for New Orders?

If you want a discount to be available ONLY to recurring payments, set this to 'no' and Recurring Discount (above) to 'yes'. If you want this discount to be ignored completely (eg. if you have not finished deciding the exact rules, but you want to store the record for future use anyway), set this to 'no' and also set Recurring Discount (above) to 'no'.

If this value is set to 'yes', the discount will be available to any new order that qualifies.

Available for Quotes/Invoices?

If you want people to be able to apply a discount at the time they pay for a quote or invoice (as opposed to when they place an order), you can set this to 'yes'. If there are any discounts marked as being available for quotes/invoices which have a voucher code assigned to them, a field will be shown in the front-end whenever any client attempts to pay for an invoice or quote, to enable them to enter the voucher code.

Auto-Disable Discount?

If the discount is associated with a voucher code, you can set this option to 'yes' to disable the discount after the voucher code has been used (ie. the 'Available for New Orders?' option will be set to 'no' after the discount has been applied).

Country

You can apply discounts only to a certain country if you wish, or select 'Worldwide' to make it available in every country.

Notes

You can enter anything you like in the notes - they are just for your reference as an administrator and are never displayed to the end user.

Advanced Tab

Apply to

When calculating a discount amount as a percentage, you can specify here whether to use the net, tax, or gross amount as the basis for the calculation. In most cases, you will want to leave this at the default value, 'Net' - the tax amount will then be calculated based on the discounted net amount, and the gross amount also reduced accordingly.

Exclusive?

Whether or not any other discounts can be used in conjunction with this one. At the time the discounts are applied, nBill will check each discount record in order of priority (see below), and add any that are applicable until it reaches one that is marked exclusive. If it finds an exclusive one, all other discounts will be discarded, and only the exclusive one will be applied (even if it is a lower priority than a previous non-exclusive one).

Compound?

If more than one discount is being applied at the same time, you can use this setting to govern whether the amount of this discount should be based on the original amount (compound = no) or on the already discounted amount (compound = yes). Typically, when multiple discounts are applied, it is expected that they are applied in a compound manner, so you should normally leave this set to 'yes'.

 For example: If you sell a product for £100, and offer 50% off, then a further 10% off, the 50% is taken off first (making £50), then the 10% is calculated as a percentage of that (which is £5) rather than 10% of the original price (which would be £10). With 'compound' set to 'yes' then, the final price in this example would be £45, but with 'compound' set to 'no', it would be £40.

Priority

When nBill checks through the discount records to see which ones to apply to a particular order or invoice, it first sorts the records by priority. Enter a number here (an integer - ie. no decimal places) to indicate the order in which to apply discounts (the lower the number, the sooner the discount is applied). When applying multiple discounts in a compound manner, this will affect the percentage amounts calculated. See also the 'Exclusive?' and 'Compound?' options, above.

Nominal Ledger Code

It is usually best to leave this on the default 'Auto-Select', which will apply the discount amount to whatever nominal ledger codes are being used on the orders, invoices, or quotes to which the discount is being applied. If you have invoices or quotes with multiple line items belonging to different ledger codes though, the discount amount will only be applied to one of those ledgers (chosen at random from those in use), so if you want to avoid that, you can specify a ledger code to use here.

Prerequisite Products

If the customer has to already have a certain product before they qualify for the discount, you can specify the prerequisite here. If more than one product is selected, the discount will be granted if they already have ANY one of the prerequisite products. Note: The user must be logged in at the time they place their order if they are to take advantage of a discount with pre-requisite products, otherwise nBill will not be able to tell which products they already have, and will assume they have none.

Disqualifying Products

If you want to specify that the discount is NOT available for anyone who already has an order for a certain product, you can select the disqualifying product(s) here. If more than one product is selected here, the discount will not be applied if the client already has ANY one of the disqualifying products. As with prerequisite products, the user must be logged in at the time they place the order for this to take effect.