Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Include Page
ucdoc:Status (JS API v2)
ucdoc:Status (JS API v2)

New Features

The difference between v1 and v2 of the JS API can be likened to the difference between the C Programming Language and the C++ Programming Language. Version 1 of the JS API was a set of remote calls that could be strung together in a procedural fashion. Version 2 is an object oriented approach designed to do the heavy lifting behind the scenes and result minimal code needed to use the API.

New Features:

  • Auto bind address fields for easy updating
  • Events for cart changes to allow on demand rendering (the examples shows how easy this is)
  • Shipping Methods now have a default flag and shipping tax (if applicable).
Panel

Not Supported/In the Works

  • Item Options
  • Gift Certificates
  • Currency Codes/Foreign Currencies
  • Affiliate IDs
  • Customer Profiles
  • Preorder (and ETAs)

Requirements

jQuery 1.4.2+
jQuery json plugin 2.2+

...