booknow.js allows you to configure various aspects of the Book Now experience. Remember that settings applied during the configure method should be viewed as global and will effect every book now button. Note that some settings such as language can be customized on button creation and will override the global defaults.
Please consider the following configuration example :
The above configuration would create buttons such as those deplayed below. For a full reference of configuration settings please see Configuration Options.
enableConsoleLogging: If this property is set to true, the browser console will output warnings and errors from bad usage. This setting is only meant to be only used during the installation / configuration, to help identify errors.
usePopup: If this setting is set to true Book Now will open as an external popup window instead of the iFrame overlay. Note that on mobile devices book now will always open as a new tab.
localizedButtonText: The option will allow you to set a custom button label for every supported language, or only the languages you plan to use. These labels will be applied to the button of the appropriate language as long as the button does not have its on custom label. Supported languages codes are : eng, fre, spa, por, nld, deu.
language: This setting allows you to set the default global language. Any button that has no specific language will apply the global default.
showIcon: If this setting is set to false then the icon on Book Now buttons will be omitted. However it is possible to enable the icon with a custom button setting that will overrise the global default.