Skip to content

Instantly share code, notes, and snippets.

@rgoytacaz
Last active July 25, 2019 19:48
Show Gist options
  • Save rgoytacaz/40577e83e79734dbeb5d98c278abb404 to your computer and use it in GitHub Desktop.
Save rgoytacaz/40577e83e79734dbeb5d98c278abb404 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