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.

SD-1073 change product meta description to text area

KacperMekarskic9c358566688
diff --git a/backend/app/views/spree/admin/products/_form.html.erb b/backend/app/views/spree/admin/products/_form.html.erb
index 6fc6e93953..3d8fa7eb48 100644
--- a/backend/app/views/spree/admin/products/_form.html.erb
+++ b/backend/app/views/spree/admin/products/_form.html.erb
@@ -246,7 +246,7 @@
<div data-hook="admin_product_form_meta_description">
<%= f.field_container :meta_description, class: ['form-group'] do %>
<%= f.label :meta_description, Spree.t(:meta_description) %>
- <%= f.text_field :meta_description, class: 'form-control' %>
+ <%= f.text_area :meta_description, class: 'form-control' %>
<% end %>
</div>