mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add cms field to top of delivery page of checkout, located at cms path: /delivery
This commit is contained in:
4
app/overrides/add_cms_checkout_distribution.rb
Normal file
4
app/overrides/add_cms_checkout_distribution.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
Deface::Override.new(:virtual_path => "spree/checkout/_delivery",
|
||||
:insert_before => "fieldset#shipping_method",
|
||||
:text => "<%= cms_page_content(:content, Cms::Page.find_by_full_path('/delivery')) %>",
|
||||
:name => "process_my_order_button")
|
||||
Reference in New Issue
Block a user