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
Removed deprecated `theme_layout_sections` usage (#13058)
Damian Legawiec96849ef30470
diff --git a/storefront/app/views/layouts/spree/storefront.html.erb b/storefront/app/views/layouts/spree/storefront.html.erbindex 76d855a742..659b13b2fd 100644--- a/storefront/app/views/layouts/spree/storefront.html.erb+++ b/storefront/app/views/layouts/spree/storefront.html.erb@@ -10,16 +10,12 @@<%= render_storefront_partials(:body_start_partials) %><%= current_store.storefront_custom_code_body_start&.html_safe %>- <% if theme_layout_sections.empty? %>- <%= render template: 'errors/500' %>- <% else %>- <%= render_header_sections %>- <%= turbo_frame_tag :flash do %>- <%= render('spree/shared/flashes') %>- <% end %>- <%= yield %>- <%= render_footer_sections %>+ <%= render_header_sections %>+ <%= turbo_frame_tag :flash do %>+ <%= render('spree/shared/flashes') %><% end %>+ <%= yield %>+ <%= render_footer_sections %><%= current_store.storefront_custom_code_body_end&.html_safe %><%= render_storefront_partials(:body_end_partials) %>