Shopping Cart >Scripts and Stylesheets

Last updated on: August 29, 2019

75

Include the follow javascript files to your website

<script src="https://cdn.ezpz.solutions/commerce/base.min.js"></script>
<script src="https://cdn.ezpz.solutions/commerce/base/language/en.min.js"></script>
<script src="https://cdn.ezpz.solutions/commerce/hbstmpls/latest.min.js"></script>
<script src="https://cdn.ezpz.solutions/commerce/cart.min.js"></script>

 

Include the following stylesheets to your website

<link rel="stylesheet" href="https://cdn.ezpz.solutions/commerce/base.min.css"/>
<link rel="stylesheet" href="https://cdn.ezpz.solutions/commerce/cart.min.css"/>

At the bottom (end of page) of your web page, invokes:

Ezpz.cart.init();

You can over written the CSS rules as you wish, language localization (see: How to override language localization section), and handlebars template (see: How to override the template section).

It is recommended that you use font awesomeandBootstrap 4+ for the out-of-the-box handlebarsjs style to work nicely.

However, in your override, you can chose to style and work with whatever framework you wish to work with.