mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Add cms field to cart page to explain cart, located at cms path: /cart
This commit is contained in:
2
.rvmrc
2
.rvmrc
@@ -1 +1 @@
|
||||
rvm ruby-1.9.3-p125-perf@eaterprises --create
|
||||
rvm ruby-1.9.3-p194@eaterprises --create
|
||||
|
||||
@@ -1,4 +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")
|
||||
:name => "cms_checkout_distribution")
|
||||
4
app/overrides/add_cms_to_cart.rb
Normal file
4
app/overrides/add_cms_to_cart.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
Deface::Override.new(:virtual_path => "spree/orders/edit",
|
||||
:insert_after => "h1",
|
||||
:text => "<%= cms_page_content(:content, Cms::Page.find_by_full_path('/cart')) %>",
|
||||
:name => "cms_to_cart")
|
||||
Reference in New Issue
Block a user