Price vs Display Price
Softrip’s pricing system and pricing engine has support for two price fields: Price and DisplayPrice. This article describes the use of these fields and why they are necessary.
Defining the Fields
Price
The Softrip Price
field is the calculated price of a given service on a given reservation.
This is typically calculated from Cost * Markup
.
For more information on markups and exchange rates, see Exchange Rates | Calculation Example .
Display Price
The Softrip DisplayPrice
field is the price displayed to the direct consumer or travel agent. This is the price that is shown on the face of the reservation and on the invoice.
Using the Fields
Taking a simple package that includes a hotel and a transfer:
Service | Price (Cost * Markup) | DisplayPrice |
---|---|---|
Hotel | $200 | Â |
Transfer | $50 | Â |
If these two services are intended to be sold in a package for a total $249, we can use the DisplayPrice
to hide the Price
of the individual items and show a single package total:
Service | Price | DisplayPrice |
---|---|---|
Package | Â | $249 |
Hotel | $200 | $0 (included) |
Transfer | $50 | $0 (included) |
In this example, the Package service’s DisplayPrice
is $249. This is what the consumer will see on their reservation and its invoice. We hide the Price
of the individual Hotel and Transfer services by setting their DisplayPrice
to zero.
For the totals to add up, we need to adjust the Price
of the Package service to negative 1. Now the total Price
and total DisplayPrice
match:
Service | Price | DisplayPrice |
---|---|---|
Package | -$1 | $249 |
Hotel | $200 | $0 (included) |
Transfer | $50 | $0 (included) |
Total | $249 | $249 |