Elegant. Flexible.
Powerful. Advanced.

JSONP is one of our favorite things.
It's your cart, without constraints.

JSONP is one of those things that's incredibly awesome, but often poorly understood even by advanced programmers. Luckily, it's not actually that hard once you get the hang of it, and FoxyCart's JSONP functionality works much the same as a normal "add-to-cart" functionality. The key difference is that instead of returning HTML in a new browser pageload (or in an iframe in the modal cart) it returns JSON data, which can easily be parsed by JavaScript.

Using FoxyCart's JSONP functionality is for more advanced users, and it does require at least a little JavaScript (or jQuery) know-how, since every JSONP implementation is generally going to be custom. All that said, what can you do with it? Let's take a look at this screencast to see it in action:

The second example is for ModerNash.com, and there's much more detail available at the ModerNash case study.