Skip to content

Instantly share code, notes, and snippets.

@justinboyle
Last active December 27, 2015 00:39
Show Gist options
  • Save justinboyle/7239133 to your computer and use it in GitHub Desktop.
Save justinboyle/7239133 to your computer and use it in GitHub Desktop.
assets/html/javascript/checkouts/lite/foot_route.js
Checkout.ReceiptRoute.reopen({
activate: function() {
Ember.run.later(function(){
App.analytics.getAnalyticScripts('https://www.footsmart.com/OrderConfirmation.aspx');
}, 2000);
// Hide order summary accordion
this.controllerFor('application').set('showOrderSummary', false);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment