app/views/plugins/ecommerce/partials/checkout/_details.html.erb in camaleon_ecommerce-1.2.1 vs app/views/plugins/ecommerce/partials/checkout/_details.html.erb in camaleon_ecommerce-2.0.0

- old
+ new

@@ -17,10 +17,10 @@ <div id="shipping" data-no-turbolink=""> <h3><%= t('.shipping_options', default: 'Shipping Options') %></h3> <div class="form-group"> <select class="form-control required" name="shipping_method" id="shipping_methods" > <% current_site.shipping_methods.each do |m| price = m.get_price_from_weight(@cart.weight_total); the_price = e_parse_price(price) %> - <option value="<%= m.id %>" <%= 'selected' if @cart.shipping_method_id == m.id %> data-price="<%= price %>"><%= m.name %> (<%= the_price %>)</option> + <option value="<%= m.id %>" <%= 'selected' if @cart.shipping_method_id == m.id %> data-price="<%= price %>"><%= m.name.translate %> (<%= the_price %>)</option> <% end %> </select> </div> </div> <% end %>