<%= render plugin_view('partials/cart_widget') %>

<%= t('.title', default: 'Shopping Cart') %>

<%= form_tag(plugins_ecommerce_checkout_cart_update_path, :method => "post", :class => "form") do %> <% @products.each do |item| product = item.product.decorate %> <% end %>
<%= t('.item', default: 'Item') %> <%= t('.price', default: 'Price') %> <%= t('.tax', default: 'Tax') %> <%= t('.quantity', default: 'Quantity') %> <%= t('.subtotal', default: 'Subtotal') %>
<%= product.the_variation_title(item.variation_id) %> <%= item.the_price %> <%= item.the_tax %> <%= item.the_sub_total %> <%= t('.delete', default: 'Remove') %>
<%= t('.subtotal', default: 'Subtotal') %> <%= @cart.the_total_amount %>
<% if @products.size > 0 %>
<%= t('.proceed', default: 'Proceed to Checkout') %>
<% end %> <% end %>