mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
Change checkout explanations from CMS pages to CMS snippets
This commit is contained in:
@@ -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('/distribution')) %>",
|
||||
:text => "<%= cms_snippet_content(Cms::Snippet.find_by_identifier('distribution')) %>",
|
||||
:name => "cms_checkout_distribution")
|
||||
@@ -1,4 +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')) %>",
|
||||
:text => "<%= cms_snippet_content(Cms::Snippet.find_by_identifier('cart')) %>",
|
||||
:name => "cms_to_cart")
|
||||
@@ -1,6 +1,6 @@
|
||||
#delivery-fees
|
||||
= cms_page_content(:content, Cms::Page.find_by_full_path('/cart-delivery-fees'))
|
||||
%h2 Distribution Costs
|
||||
= cms_snippet_content(Cms::Snippet.find_by_identifier('cart_distribution_costs'))
|
||||
|
||||
%table#delivery
|
||||
%thead
|
||||
|
||||
Reference in New Issue
Block a user