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.

Fixed buy buttons block page builder form

Damian Legawiec4f72dd94526e
diff --git a/core/app/models/spree/page_blocks/products/buy_buttons.rb b/core/app/models/spree/page_blocks/products/buy_buttons.rb
index cb98610126..5346c2db42 100644
--- a/core/app/models/spree/page_blocks/products/buy_buttons.rb
+++ b/core/app/models/spree/page_blocks/products/buy_buttons.rb
@@ -14,6 +14,10 @@ module Spree
def display_name
Spree.t('page_blocks.products.buy_buttons.display_name')
end
+
+ def form_partial_name
+ 'products/buy_buttons'
+ end
end
end
end