Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

remove Store mentions from the list of Products in the Admin Panel

Łukasz Adamczykda3d933cdb30
diff --git a/backend/app/views/spree/admin/products/index.html.erb b/backend/app/views/spree/admin/products/index.html.erb
index 4e30c48a7c..67f0be4c73 100644
--- a/backend/app/views/spree/admin/products/index.html.erb
+++ b/backend/app/views/spree/admin/products/index.html.erb
@@ -39,12 +39,6 @@
</label>
</div>
</div>
- <div class="col-12 col-lg-6">
- <div class="form-group">
- <label for="stores_id_in"><%= Spree.t(:store) %></label>
- <%= f.select :stores_id_in, Spree::Store.pluck(:name, :id), {include_blank: true}, class: 'select2-clear', multiple: true %></p>
- </div>
- </div>
</div>
<div data-hook="admin_products_index_search_buttons" class="form-actions">
<%= button Spree.t(:search), 'search.svg' %>
@@ -82,11 +76,6 @@
<td class="sku"><%= product.sku rescue '' %></td>
<td class="status"><%= active_badge(available_status == Spree.t(:available), label: available_status) %></td>
<td class="text-center"><%= display_price(product) %></td>
- <td>
- <% product.stores.pluck(:name).each do |store_name| %>
- <dd><small><%= store_name %></small></dd>
- <% end %>
- </td>
<td class="actions " data-hook="admin_products_index_row_actions">
<span class="d-flex justify-content-end">