From a6e48932873e7e2a41d75949b5286ff3a58d3c29 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Tue, 25 Feb 2020 11:33:42 +0000 Subject: [PATCH] Remove taxons list field from product edit form. It is not working and it's not used in any other place in the app, there's the product category already (product.primary_taxon_id) --- app/views/spree/admin/products/_form.html.haml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/views/spree/admin/products/_form.html.haml b/app/views/spree/admin/products/_form.html.haml index cbc7718325..616f7977f3 100644 --- a/app/views/spree/admin/products/_form.html.haml +++ b/app/views/spree/admin/products/_form.html.haml @@ -16,11 +16,6 @@ = sanitize(@product.description) = f.error_message_on :description - = f.field_container :taxons do - = f.label :taxon_ids, t(:taxons) - %br - = f.hidden_field :taxon_ids, :value => @product.taxon_ids.join(',') - .right.four.columns.omega .variant_units_form{ 'ng-app' => 'admin.products', 'ng-controller' => 'editUnitsCtrl' }