Skip to content

Instantly share code, notes, and snippets.

@jsiesquen
Forked from rgoytacaz/vtexCheckoutEvents.js
Created April 28, 2019 03:19
Show Gist options
  • Save jsiesquen/8a2056e5469be7c96e44886e8db22370 to your computer and use it in GitHub Desktop.
Save jsiesquen/8a2056e5469be7c96e44886e8db22370 to your computer and use it in GitHub Desktop.
Examples of events in VTEX Checkout
(function(){
$('#shipping-data').on('enable.vtex', function(){
console.log('Shipping Data just opened.');
});
$(window).on('orderFormUpdated.vtex', function(ev, orderForm) {
console.log('Order Form updated.');
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment