Answer · Embedding

Embed Microsoft Bookings on a nopCommerce store

Last updated 2 min readPart of Microsoft Bookings on your website: every embed option2 sources

The question people ask
“How do I embed Microsoft Bookings on a nopCommerce store?”

Short answer

Copy the iframe code from your shared booking page and paste it into a topic page (Content management → Topics) in the editor's source/HTML view, or straight into your theme's view for the page where bookings belong. Give it a pixel height such as height='900' instead of Microsoft's 100%, then check the page as a logged-out visitor.

Steps#

  1. In Bookings, open the shared booking page, select Booking page and copy the iframe (see where to find the embed code).
  2. In the nopCommerce admin, create or edit a topic, for example "Book an appointment", and open the editor's source view.
  3. Paste the iframe and set a pixel height (see fixing a cut-off embed).
  4. Publish the topic and add it to your menu or footer.
  5. Test in a private window. For a booking page per product or service, use direct links to a service.

If the frame stays blank, see the refused-to-connect checklist.

Doing this with BookingsXP#

The BookingsXP widget is a script tag and one element that you can add to a topic or to your theme. If the topic editor removes scripts, load the script once in your theme (or your store's custom head tags setting, where your version has one) and put the div form of the widget in the topic. The widget resizes to its content, matches your store's colours, writes the visitor's campaign into each booking, and fires GA4 events (and, on Pro, ad conversions) when Microsoft confirms the booking. It speaks English and German, following the visitor's browser. Setup steps are in the docs. BookingsXP is independent and not affiliated with or endorsed by Microsoft.

Questions people also ask

Sources

  1. Microsoft Learn: Bookings faq (opens in a new tab) · learn.microsoft.com
  2. Microsoft Learn: Customize booking page (opens in a new tab) · learn.microsoft.com