       referrerId:   referrer
       shippingAddress:
         country: 'us'
-      discount: 0
-      tax: 0
-      subtotal: 0
-      total: 0
-      items: items ? []
-      cartId: cartId ? null
+      discount:    0
+      tax:         0
+      subtotal:    0
+      total:       0
+      items:       items                    ? []
+      cartId:      cartId                   ? null
       checkoutUrl: opts.config?.checkoutUrl ? null
-      metadata: meta ? {}
+      metadata:    meta                     ? {}
 
   data = @data.get()
   for k, v of opts

for k, v of Shop.Forms
  tagNames.push(v::tag.toUpperCase()) if v::tag?

searchQueue = [document.body]
elementsToMount = []
loop
  if searchQueue.length == 0
    break

  p = @cart.set id, quantity, locked
  if @promise != p
    @promise = p
    @promise.then =>
      riot.update()
      m.trigger Events.UpdateItems, @data.get 'order.items'
    .catch (err) ->
      window?.Raven?.captureException err

Shop.getItem = (id) ->
