Change checkout explanations from CMS pages to CMS snippets

This commit is contained in:
Rob H
2012-12-07 12:24:28 +11:00
parent 46abc2fc42
commit 9cf6124df3
3 changed files with 3 additions and 3 deletions

View File

@@ -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")

View File

@@ -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")

View File

@@ -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