vtexcart.js adds an new minicart to vtex platform stores
Version 1.0.0
vtexcart.js is a jQuery plugin that provides a new minicart to vtex platform stores. The first step is to call it in your website:
.../arquivos/jquery.vtexcart.min.js
And start it using the command:
$(element).vtexcart({parameters});
Parameter | Values | Description |
---|---|---|
buyButton |
$(element) | Buy button |
wrapper |
$(element) | Element that wraps the body |
cartButton |
$(element) | Element that will receive the mini cart icon |
effect |
overlay or push |
Transition effect (Default: overlay ) |
As a prerequisite, you will need grunt installed:
npm install -g grunt-cli
npm install
grunt
Just send an email to [email protected]
Henrique Sosa: @henriquesosa
Licensed under MIT. Enjoy.