embed our Calculator
To integrate EconoLease calculator on your site, you need to add jQuery/CSS, write HTML code and initialize the calculator.
To integrate EconoLease calculator on your site, you need to add jQuery/CSS, write HTML code and initialize the calculator.
Create a <div> tag on page where you want to display the calculator.
Include styles in the head section or styles can be added just before the opening div(shown above). These styles are completely optional, but helpful for mobile responsiveness of the calculator. You can modify these styles according to your needs.
Include jQuery and EconoLease calculator script before closing body tag. If you are already using jQuery on your website, then you don’t need to include it again.
Default | Description | |
lease | false | Set to true to turn on the lease calculator. |
rental | false | Set to true to turn on the rental calculator. |
loan | false | Set to true to turn on the loan calculator. |
init | If you have multiple calculators enabled, then set init to either lease, rental or loan to set that calculator as active by default. | |
lang | en-ca | Set language to en-ca for English and fr-ca for French version of calculator. |
color | blue | Use hex color codes to set theme color of the calculator, e.g., 000000 for black; FF0000 for red; 00FF00 for green; etc. |
logo | logo: { src: '' } | Pass absolute URL path of your logo as a src to display your logo on the calculator. |
apply | false | Set to true to enable the apply button on the calculator to allow your customers to apply for a lease with us. |
pricing_breakdown | false | Set to true to display the pricing breakdown. |
layout | vertical | If you have “pricing breakdown” enabled, then you have option to use vertical or horizontal layouts. |
Need assistance in setting up the calculator? Please contact us.