This folder has the parts of the checkout shell: the standalone document Events Manager serves for a checkout flow such as the booking checkout, framed in an overlay or as its own page. The header, footer, summary toggle and notice are printed by the flow that uses the shell (the booking checkout prints them in forms/bookingform/booking-checkout.php), and an add-on can print them too, such as in a dialog on the page. The document itself is templates/checkout.php.

Each file lists the variables it receives at the top.

Any of these files in this folder can be individually overriden in your theme folder, making it upgrade safe without having to hack core plugin files directly.

To override a file, copy (not move) the file to wp-content/themes/yourtheme/plugins/events-manager/checkout/ and edit as needed.

The class names of these parts are shared by every checkout flow and the checkout stylesheet, so keep them when you override a file.

Printing the shell in a page: a root div with the classes em pixelbones input em-checkout (add wide for a full-width main area beside a fixed-width aside), then checkout/header.php (close 'button' for a dialog), checkout/summary-toggle.php naming the aside's id, aside.em-checkout-aside > div.em-checkout-aside-inner, main.em-checkout-main > div.em-checkout-main-inner holding section.em-checkout-section with h2.em-checkout-section-title, and checkout/footer.php. Events Manager loads the checkout stylesheet and script on any page where such a root is printed. A root added after the page has loaded is set up by calling em_checkout_setup( root ). The close button fires em_checkout_close_requested on the root for the dialog's own script, and .em-checkout-button is the primary action on a button or a link. A shell opened as a dialog over a page should use div.em-checkout-main rather than main for its main column, since the page already has its own main element and the shell's styles select by class.

Whilst we intend to keep changes to a minimum, it may be inevitable that we need to update these files to add new features or fix a 
reported bug, please keep this in mind when updating.