Prerequisites:
- The Drupal integration is available to both those using items (Inventory > Items), a key feature of our classic version of Checkfront, and those using products (Inventory > Products), a key feature of our newest version of Checkfront.
![]() |
New to Checkfront - Products ✨ Products (Inventory > Products) is the successor feature to (Inventory > Items) and is available in our newest version of Checkfront. Not yet on our newest version and interested in upgrading? Please contact our Technical Support team for more information. Discover more product-related help articles here: Products (New). |
Generating the Shortcode
Back to topThat's it now! You should have by now selected all the previous options that make the most sense in terms of your requirements. It's now time to generate the shortcode for your website.
Click on the Generate Code button and copy the resulting shortcode to your clipboard.

Once you've pasted the shortcode into your web page, publish it and check out your results.
Where to Place the Shortcode
Back to topWith the shortcode pasted to your clipboard, head back over to Drupal and locate/create the page/post in which you wish to embed the booking portal.
- Place the shortcode wherever you would like the portal to appear. This may be before, after, or somewhere within your page content.
- Make sure you select Full HTML from the Text Format field.
Shortcode With Arguments
Back to topAdding some of the arguments from the list lower down this page controls how the booking portal appears and the information it contains. Above is an example of what this shortcode might look like.
Extending the Shortcode
Back to topFollowing is a list of arguments that can be added to the basic [checkfront] shortcode to change the look and behaviour of your booking portal.
Show specific items or products: [checkfront item_id="3,8,37"]
Show specific categories: [checkfront category_id="2,3"]
Limit upcoming events to specific category: [checkfront filter_category_id="3"]
Tabs as categories: [checkfront options=tabs]
Hide search and calendar: [checkfront options=hidesearch]
Together, they look like this: [checkfront options=tabs,hidesearch]
Include an automatic discount code: [checkfront discount_code="insert_code"]
Font colour: [checkfront style="color: #000000"]
Font family: [checkfront style="font-family: arial"]
Background colour: [checkfront style="background-color: #873333"]
Together, they look like this: [checkfront style="color: #000000; background-color: #873333; font-family: arial"]
Fast forward to specific date: [checkfront date="20141224"]
Add an end date: [checkfront end_date="20140131"]
Tracking ID: [checkfront tid="promo-page"]
See campaign tracking for more information on using tracking IDs.
Set default booking portal language: [checkfront lang_id: "en"]
Set default customer language. Customers can change this from the menu bar. Supercedes lang_id: [checkfront locale_id: en_US"]
< Drupal Plugin: Configurable Options