Back to index

Create a page to promote special offers

Within the Dates and Prices section of each Tour setup you can store special offer prices against each of your Departures, this page shows two slightly different ways of displaying these on your website. You can use any of the content you have stored for your Tours to make the page look appealing, we're just covering the basics here.

Example 1: All offers prices, ordered by departure date

Here we cycle through all upcoming special offers, in the order that they are departing. The final page should look something like:

Special offers

Head to Channel Manager > Single page HTML templates and paste the following into a new template:

<table>
      <thead>
         <tr>
            <th>Date</th><th>Tour</th><th>Was</th><th>Now</th><th></th>
         </tr>
      </thead>
      <tbody>
         <TourCMSlist_departures orderby="start_date" bookable="show" has_offer="show">
         <tr>
            <td><$TourCMSdeparture output="d_start_date_display" xml="1"$></td>
            <td>
              <a href="<$TourCMStour output="t_tour_url"$>"><$TourCMStour output="t_name"$></a>
            </td>
            <td><del><$TourCMSdeparture output="d_main_price_display"$></del></td>
            <td><$TourCMSdeparture output="d_offer_price_display"$></td>
            <td><a href="<$TourCMSdeparture output="d_book_url"$>" class="action">Book</a></td>
         </tr>
         </TourCMSlist_departures>
      </tbody>
   </table>

Example 2: Offers grouped by tour

Slightly different logic for this second example, here we loop through all of our Tours that have special offer prices loaded, for each of those tours we loop through all of the special offer departures. The final page should look something like:

Special offers

Head to Channel Manager > Single page HTML templates and paste the following into a new template:

<TourCMSlist_tours has_offer="show">
   <h3><a href="<$TourCMStour output="t_tour_url"$>"><$TourCMStour output="t_name"$></a></h3>
   <p><$TourCMStour output="t_summary"$></p>
   <ul>
      <TourCMSlist_departures orderby="start_date" bookable="show" has_offer="show" >
      <li><$TourCMSdeparture output="d_start_date_display"$>.
         Was <del><$TourCMSdeparture output="d_main_price_display"$></del>,
         now <$TourCMSdeparture output="d_offer_price_display"$>.
         <a href="<$TourCMSdeparture output="d_book_url"$>" class="action">Book</a>
      </li>
      </TourCMSlist_departures>
   </ul>
   </TourCMSlist_tours>