Skip to content

Instantly share code, notes, and snippets.

@ElliotGage
Created October 26, 2012 18:21
Show Gist options
  • Save ElliotGage/3960491 to your computer and use it in GitHub Desktop.
Save ElliotGage/3960491 to your computer and use it in GitHub Desktop.
Spree 1.1.3 - Deface::Override works fine, DLS doesn't
I have placed this file in app/overrides/spree/products/_cart_form.html.erb.deface
Insertion isn't happening. Nothing about it in the output.
<!-- insert_bottom 'span.price' -->
- Free Shipping
Deface::Override.new(:virtual_path => "spree/products/_cart_form",
:name => "free_shipping",
:insert_bottom => "span.price", :text => " - Free Shipping")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment