<% @body_id = 'cart' %>

<%= t('spree.shopping_cart') %>

<% if @order.line_items.empty? %>

<%= t('spree.your_cart_is_empty') %>

<%= link_to t('spree.continue_shopping'), products_path, class: 'button continue' %>

<% else %>
<%= form_for @order, url: update_cart_path, html: {id: 'update-cart'} do |order_form| %>
<%= render 'form', order_form: order_form %>
<% end %>
<%= form_tag empty_cart_path, method: :put do %> <% end %>
<%= render "spree/shared/paypal_cart_button" %> <% end %>