Summary
Give the customer the ability to hide or show only certain sections of the landing page dynamically.
Default Landing page:
On the default landing page, there are number of sections displayed such as
Highlights
Rates & Information
Plans
Hotel Details
Itinerary
Other travel related sections
Softrip has introduced a method for the users to be able to show or hide certain sections of the product landing pages.
This will be helpful for customers that would like the ability to only show certain sections of the landing page so that they can link to the landing page from their own website and not show redundant information to the users that was already on the previous page.
In order to handle this, Softrip will give the ability to pass in multiple parameters to allow the client to show only the information that they want to on the landing page.
https://demo.softrip.com/PRODUCT/14-D-AMAZINGTHAILAND?
URL Extensions
URL extensions are listed as follows. The extensions to the URL below will be followed with “=true” or “=False” to display or hide the section on the page. Ex: https://clientURL.com/PRODUCT/9DAYITALYTOUR?shopformonly=true
Shopformonly
Highlights
Itinerary
Rates
Plans
HotelDetails
Additional Notes
Parameters will default to true, meaning you must specify
false
to hide sections you won’t want to seeA parameter of
true
will not be required to show a section
If no parameters are passed in, the full page will display as it currently does within the system.
Product Name will always display no matter which parameters are passed in.
Shopformonly
If set to true, this will only show the shop form itself and hide all other information
This includes the tabs at the top of the screen
This will override any other parameter that is below
Example:
Note: If you have a product with multiple departure dates, this may cause an issue with selecting the departure dates. This is more suited towards single departures only.
If you wish to control section by section on what section to display, please follow these URL extensions or a combination of them.
Highlights
If set to true, the highlights section will display
This includes the tab at the top
NOTE: This will still use the current logic where if there are no Highlights built for the given Product, then this will still be hidden
If set to false, the highlights section will not display
This includes the tab at the top
Example:
Rates
If set to true, the rates & information section will display
This includes the tab at the top and the shop form after selecting a date
If set to false, the rates & information section will not display
The shop form will still display if a departure dates is passed in
If a departure date is not passed in, the shop form will also be hidden
Example:
Below are other sets of examples that can be applied or combined with True and False values as follows:
Plans
If set to true, the plans section will display
This is the section to the left of the departure dates area that shows the Featured Accommodations
If set to false, the plans section will not display
This includes the Rates & Information header above the plans
Examples:
Itinerary
If set to true, the itinerary section will display
This includes the tab at the top
NOTE: This will still use the current logic where if there is no Itinerary built for the given Product, then this will still be hidden
If set to false, the itinerary section will not display
Example:
To hide Itinerary on Page
To display Itinerary on Page
Hoteldetails
If set to true, the hotel details section will display
This includes the tab at the top
NOTE: This will still use the current logic where if there is no popup/image information for the hotels, then this will still be hidden
If set to false, the hotel details section will not display
Example:
To hide Hotel Details on Page
To display Hotel Detail on Page
Additional Notes
Parameters will default to true, meaning you must specify
false
to hide sections you won’t want to seeA parameter of
true
will not be required to show a section
If no parameters are passed in, the full page will display as it currently does within the system.
Product Name will always display no matter which parameters are passed in.
Example Requests:
https://demo.softrip.com/PRODUCT/14-D-AMAZINGTHAILAND?shopformonly=true
Will only display the shop form as below:
https://demo.softrip.com/PRODUCT/14-D-AMAZINGTHAILAND?Rates=true&Highlights=true&Itinerary=false
Will display only the Highlights, rates & information and hide the itinerary