diff --git a/app/assets/javascripts/admin/bulk_product_update.js.coffee b/app/assets/javascripts/admin/bulk_product_update.js.coffee index 7df51e7711..c9c410d240 100644 --- a/app/assets/javascripts/admin/bulk_product_update.js.coffee +++ b/app/assets/javascripts/admin/bulk_product_update.js.coffee @@ -308,9 +308,6 @@ filterSubmitProducts = (productsToFilter) -> variantHasUpdatableProperty = result.hasUpdatableProperty filteredVariants.push filteredVariant if variantHasUpdatableProperty - if product.hasOwnProperty("sku") - filteredProduct.sku = product.sku - hasUpdatableProperty = true if product.hasOwnProperty("name") filteredProduct.name = product.name hasUpdatableProperty = true diff --git a/app/views/spree/admin/products/index/_products_head.html.haml b/app/views/spree/admin/products/index/_products_head.html.haml index 9e6d7e7065..10d80f2f3e 100644 --- a/app/views/spree/admin/products/index/_products_head.html.haml +++ b/app/views/spree/admin/products/index/_products_head.html.haml @@ -2,7 +2,6 @@ %col.actions %col.image{ "ng-show": 'columns.image.visible' } %col.producer{ "ng-show": 'columns.producer.visible' } - %col.sku{ "ng-show": 'columns.sku.visible' } %col.name{ "ng-show": 'columns.name.visible' } %col.unit{ "ng-show": 'columns.unit.visible' } %col.display_as{ "ng-show": 'columns.unit.visible' } @@ -24,7 +23,6 @@ = t(:expand_all) %th.image{ 'ng-show' => 'columns.image.visible' } %th.producer{ 'ng-show' => 'columns.producer.visible' }=t('admin.producer') - %th.sku{ 'ng-show' => 'columns.sku.visible' }=t('admin.sku') %th.name{ 'ng-show' => 'columns.name.visible' } = render partial: 'spree/admin/shared/sortable_header', locals: {column_name: 'name'} %th.unit{ 'ng-show' => 'columns.unit.visible' }=t('.unit') diff --git a/app/views/spree/admin/products/index/_products_product.html.haml b/app/views/spree/admin/products/index/_products_product.html.haml index b5a778a043..e543e22c12 100644 --- a/app/views/spree/admin/products/index/_products_product.html.haml +++ b/app/views/spree/admin/products/index/_products_product.html.haml @@ -6,8 +6,6 @@ %a{class: 'image-modal'} %img{'ng-src' => '{{ product.thumb_url }}'} %td.producer{ 'ng-show' => 'columns.producer.visible' } - %td.sku{ 'ng-show' => 'columns.sku.visible' } - %input{ 'ng-model' => "product.sku", :name => 'product_sku', 'ofn-track-product' => 'sku', :type => 'text' } %td.name{ 'ng-show' => 'columns.name.visible' } %input{ 'ng-model' => "product.name", :name => 'product_name', 'ofn-track-product' => 'name', :type => 'text' } %td.unit{ 'ng-show' => 'columns.unit.visible' }