app/views/plugins/ecommerce/front/checkout/cart_index.html.erb in camaleon_ecommerce-1.2.1 vs app/views/plugins/ecommerce/front/checkout/cart_index.html.erb in camaleon_ecommerce-2.0.0

- old
+ new

@@ -1,7 +1,7 @@ <div class="cart_view"> - <%= render plugin_view('partials/cart_widget') %> + <%= render 'post_types/commerce/cart_widget' %> <h1><%= t('.title', default: 'Shopping Cart') %></h1> <%= form_tag(plugins_ecommerce_checkout_cart_update_path, :method => "post", :class => "form") do %> <table id="table-shopping-cart" class="table table-bordered"> <thead> <tr> @@ -14,10 +14,10 @@ </tr> </thead> <tbody> <% @products.each do |item| product = item.product.decorate %> <tr> - <td><a href="<%= product.the_url %>"><%= product.the_variation_title(item.variation_id) %></a></td> + <td><a href="<%= item.the_url %>"><%= item.the_title %></a></td> <td><%= item.the_price %></td> <td><%= item.the_tax %></td> <td> <input name="product_items[][item_id]" type="hidden" value="<%= item.id %>"/> <input class="text-qty" type="number" name="product_items[][qty]" value="<%= item.qty %>">