Skip to content

Instantly share code, notes, and snippets.

@ndv
Created July 18, 2012 19:58
Show Gist options
  • Save ndv/3138496 to your computer and use it in GitHub Desktop.
Save ndv/3138496 to your computer and use it in GitHub Desktop.
Checkout Widget API: setConfig
EcwidCheckout.setConfig({
currency: {precision:2,roundScale:100,prefix:'$',suffix:'',code:'USD'},
weightUnit: 'POUND',
storeName: 'Test store',
companyEmail: '[email protected]',
storeUrl: 'http://www.example.com',
dateFormat: 'MMM d, yyyy',
timeFormat: 'hh:mm a',
timeZone: 'PST'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment