<%= t('plugin.ecommerce.product.price') %>

<%= link_to raw(" #{t('plugin.ecommerce.add_price')}"), {action: :new}, class: "btn btn-primary pull-right" %>
<% @prices.each do |id, row| %> <% end %>
<%= t('plugin.ecommerce.table.code')%> <%= t('plugin.ecommerce.product.price')%> <%= t('plugin.ecommerce.table.min_weight') %> <%= t('plugin.ecommerce.table.max_weight') %> <%= t('plugin.ecommerce.table.actions') %>
<%= row[:code] %> <%= current_site.current_unit %> <%= row[:price] %> <%= row[:min_weight] %> <%= current_site.current_weight %> <%= row[:max_weight] %> <%= current_site.current_weight %> <%= link_to raw(''), {action: :edit, id: row[:id] }, class: "btn btn-default btn-xs", title: "#{t('camaleon_cms.admin.button.edit')}" %> <%= link_to raw(''), {action: :destroy, id: row[:id] }, method: :delete, data: { confirm: t('camaleon_cms.admin.message.delete') }, class: "btn btn-danger btn-xs", title: "#{t('camaleon_cms.admin.button.delete')}" %>
<%= content_tag("div", raw(t('camaleon_cms.admin.message.data_found_list')), class: "alert alert-warning") if @prices.empty? %>