Skip to main content

Creating a Discount Code

A Discount Code is a Discount_Code__c record that staff and customers can apply at checkout to reduce the price of eligible products.
1

Open the Discount Codes list

In the App Launcher, search for Discount Codes. The App Launcher is the grid icon in the top-left of Salesforce that you use to find apps and records.
The App Launcher search showing the Discount Codes result

Searching for Discount Codes in the App Launcher

2

Start a new Discount Code

Click New in the Discount Codes list view.
The Discount Codes list view with the New button

The New button on the Discount Codes list view

3

Enter the Discount Code details

Give it a Name, a Discount Percentage, and a Code.
  • The Start Date, End Date, and usage-limit fields are optional.
  • You do not have to mark it as Is Active right away. You can do this later.
The new Discount Code record with the Name, Discount Percentage, and Code fields filled in

Entering the Discount Code field values on the new record

4

Save

Click Save.
fusionCore supports percentage discounts only. The Type (Type__c) field is required and its only value is Percentage — flat-amount discounts are not supported.

Discount Code Fields Quick Reference

*Indicates a required field

Tips for Working with Discount Codes

  • The Start Date and End Date determine the window during which the Discount Code is available. This is independent of whether the Is Active checkbox is checked.
  • The Type field only offers Percentage as a picklist value.
  • The three usage limits are independent counts, not related totals. Overall Usage Limit is the total number of redemptions allowed across all orders and customers. Organization Usage Limit caps how many times a single organization (Account) customer can use the code, and Individual Usage Limit caps how many times a single individual (Contact) customer can use it. Which per-customer limit applies is chosen by the order’s Customer Type.
An Overall Usage Limit of 0 blocks the code entirely, because zero redemptions are allowed. Leave the field blank for unlimited overall use.

Limitations and Common Pitfalls

  • Discounts are percentage only. There is no flat-amount discount; the value is always a percentage (Discount_Percentage__c).
  • An Overall Usage Limit of 0 blocks the code. A zero overall limit is treated as fully exhausted, so the code cannot be applied at all.
  • Used codes are locked. Once a code has been applied to any order, you cannot change its discount percentage or delete it.