%= error_messages_for :order %>
<% hook :cart_items_headers do %>
<%= t("item") %> |
<%= t("price") %> |
<%= t("qty") %> |
<%= t("total") %> |
|
<% end %>
<% 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? -%>
<%= t("your_cart_is_empty.") -%> |
<% end -%>