Markup rules control the amount TravelFlow adds on top of a supplier price before showing it to a client. Rules are managed on the pricing screen, which also holds analytics and a pricing calculator.
Opening the Pricing Screen
In the admin navigation, open the Settings dropdown and choose Settings > Pricing. The page header reads Pricing & Markup with the subtitle “Configure profit margins and pricing rules”.
The rules themselves are read only by Super Admins, Consultant Admins and Consultants, who price with them in consultant search and on a new booking. Clients and accountants never receive them: a client’s hotel prices are worked out on the server, with the markup already added.
Three summary cards sit at the top: Active Rules, Total Rules and Combined Markup. Below them are three tabs: Markup Rules, Analytics and Test Pricing. The header also holds an Export Rules button and a New Rule button.
Warning Banners
- Using Default System Pricing Rules — shown when every rule in the list was created by the system and none was created by an administrator. It offers shortcuts to create a custom rule or to open the Test Pricing tab.
- Multiple Active Global Rules — shown when more than one active rule has global scope. It lists each rule and its value, because all of them stack additively on every booking.
Creating a Markup Rule
- Click New Rule. The Create New Markup Rule dialog opens.
- Under Basic Information, enter a Rule Name, a Priority (a whole number, minimum 1) and an optional Description.
- Under Application Scope, pick a Scope Type: Global (All bookings), Service Type, Specific Supplier, Specific Route, Department, Specific Client or Consultant.
- Under Applies to Service Types, tick Flight, Hotel, Car Rental, Conference, Transfer or Activity. Leave every box clear to apply the rule to all service types.
- Under Markup Configuration, choose a Markup Type and fill in its value, then choose an Apply Markup option (Before Tax, After Tax or Replace Commission).
- Optionally add Conditions and a Validity Period (Valid From / Valid Until).
- Under Display Options, tick Show markup breakdown to client and/or Activate this rule immediately, then click Create Rule.
On save, TravelFlow checks the new rule against existing ones and may show a confirmation dialog listing warnings, for example that another active global rule already exists, that another rule targets the same service type, or that the priority number is already in use. You can proceed or cancel. If you save an active global rule that overlaps an existing active global rule's service types, a second prompt offers to deactivate the existing rule.
Markup Types
- Percentage — a percentage of the base price. 12% on a R10,000 base price adds R1,200.
- Fixed Amount — a rand amount added to the base price, entered in the Fixed Amount field.
- Tiered (Based on price ranges) — a list of tiers, each with a Min Amount, Max Amount and Markup (%). The first tier whose range contains the base price is used; only that tier applies, the tiers are not stacked.
- Custom Formula — a free-text arithmetic formula.
How Matching Rules Are Combined
Every active rule is evaluated and the results are added together. Each rule computes its markup from the original base price, never from an already marked-up amount, so markups never compound. Because the results are summed, the order in which rules are evaluated cannot change the total.
Priority does affect what you see: the rule list and the exported CSV are sorted by priority, and each rule is shown with its priority number. It does not affect the money.
Managing Existing Rules
The Markup Rules tab lists Active Rules first, then Inactive Rules if there are any. Each active rule shows its priority number, name, scope badge, markup type and value, plus these actions:
- Expand Details — shows the Apply Markup setting, service types, cabin classes, the two display-option flags, the created date and creator, and the tier list for a tiered rule.
- Edit Rule — reopens the dialog as Edit Markup Rule.
- Duplicate Rule — creates a copy of the rule.
- Delete Rule — asks for confirmation, then removes the rule permanently.
Inactive rules are listed separately with a single Activate button. There is no deactivate button on an active rule: to switch one off, open Edit Rule and clear Activate this rule immediately, or accept the prompt that offers to deactivate a conflicting global rule when you save a new one.
Creating, updating, activating, deactivating, duplicating and deleting a rule each write an entry to the audit trail under the SYSTEM SETTINGS module, and so does switching off a conflicting global rule. The server saves the change and writes the entry together.
Exporting Rules
Export Rules downloads a CSV named markup-rules-YYYY-MM-DD.csv containing Name, Type, Scope, Value, Priority, Status, Service Types, Valid From, Valid Until and Created for every rule, active and inactive.
Test Pricing Tab
The Pricing Calculator takes a Base Price (R), Service Type, Cabin Class, Departure Date, Passengers and Advance Purchase (days). Calculate Markup shows Base Price, Total Markup, Final Price, the list of applied rules with each rule's contribution, and a profit margin percentage.
Analytics Tab
The Analytics tab describes the rule set itself, not realised revenue. It shows a Rule Distribution Overview, bar charts for Rules by Markup Type and Rules by Scope, a Service Coverage Analysis that flags service types with no rule covering them, and a Detailed Rule Breakdown table (Name, Type, Scope, Value, Status, Priority, Created). With no rules saved it shows “No Rules to Analyze”.