Getting started with Spree/Orders/Form
From the Directed Edge Developer Base
<%= error_messages_for :order %>
<table id="cart-detail">
<thead>
<tr>
<% hook :cart_items_headers do %>
<th colspan="2"><%= t("item") %></th>
<th><%= t("price") %></th>
<th><%= t("qty") %></th>
<th><%= t("total") %></th>
<th></th>
<% end %>
</tr>
</thead>
<tbody id="line_items">
<% order_form.fields_for :line_items do |item_form| %>
<%= render 'line_item', :variant => item_form.object.variant, :line_item => item_form.object, :item_form => item_form %>
<% end %>
<% if @order.line_items.empty? -%>
<tr id="none">
<td colspan="5"><%= t("your_cart_is_empty.") -%></td>
</tr>
<% end -%>
</tbody>
</table>
<%= edgy_related_table :horizontal, :max_results => 5 %>