Magento Onepage integration code

Overview
The Magento OneStepCheckout extension is a popular add-on for the Magento platform. The extension offers a simplified checkout process, by combining the usual 6 steps of the Magento purchase process into one step that is customizable and easier to navigate.

The Magento OneStepCheckout process is based on dynamic templates of a unified checkout form. The steps are dynamically presented to the visitors, based on the choices they make in each step.

The common templates are:

Implementing with ClickTale
In order to track the checkout process correctly and get the Form Analytics data from each step, you will need to implement additional code in the following way:


 * 1) Download the zipped file from this link.
 * 2) Unzip the file and copy the two files within it (magento-recording.js and magento-agg.js) to the directory of your Magento installation (by default this is /lib/ClickTale/).
 * 3) Insert the following block of code on your Magento "Onestep"/"Onepage" checkout page, directly before the closing tag.

Note - The PATH is case-sensitive.

Below is an example of the completed code, using the default path: