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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fixed: storefront description read more button has now properly button type set
Damian Legawiec309197cc1314
diff --git a/storefront/app/views/themes/default/spree/products/_description.html.erb b/storefront/app/views/themes/default/spree/products/_description.html.erbindex 1f712bbf2a..be8edbadc6 100644--- a/storefront/app/views/themes/default/spree/products/_description.html.erb+++ b/storefront/app/views/themes/default/spree/products/_description.html.erb@@ -5,7 +5,7 @@<%= raw(product.storefront_description) %></div><% if description_text.size > 250 %>- <%= button_tag Spree.t(:read_more), data: { action: "read-more#toggle" }, class: "font-bold underline text-sm" %>+ <%= button_tag Spree.t(:read_more), type: 'button', data: { action: "read-more#toggle" }, class: "font-bold underline text-sm" %><% end %></div><% end %>\ No newline at end of filediff --git a/storefront/app/views/themes/default/spree/products/_details.html.erb b/storefront/app/views/themes/default/spree/products/_details.html.erbindex 4be677a362..75e766fe6b 100644--- a/storefront/app/views/themes/default/spree/products/_details.html.erb+++ b/storefront/app/views/themes/default/spree/products/_details.html.erb@@ -6,7 +6,7 @@<%= raw(product.storefront_description) %></div><% if description_text.size > 250 %>- <%= button_tag Spree.t(:read_more), data: { action: "read-more#toggle" }, class: "font-bold underline text-sm" %>+ <%= button_tag Spree.t(:read_more), type: 'button', data: { action: "read-more#toggle" }, class: "font-bold underline text-sm" %><% end %></div><% end %>