Skip to content

Instantly share code, notes, and snippets.

@genee19
Created September 9, 2013 15:26
Show Gist options
  • Save genee19/6497167 to your computer and use it in GitHub Desktop.
Save genee19/6497167 to your computer and use it in GitHub Desktop.
Ecwid.Cart.calculateTotal(function(order) {
if (!order)
alert('An error occurred!')
else
alert('Order total: ' + order.total);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment