In BookThatApp you can show a calendar of upcoming events, but what if you want to show a class schedule on a product page?

We've just done this for a client:

It turns out this is easy with our Ajax API.

I'll be putting up an article in the BookThatApp forum, but for those intrepid designers/developers who want to get early access here is this gist of booking-form.liquid:

You'll need to upload date.js to your assets area for this to work.

As you can see, we are making an Ajax call to find out the schedule of the current product for the next 3 months and creating rows in the table from the results.