Created
October 26, 2012 18:21
-
-
Save ElliotGage/3960491 to your computer and use it in GitHub Desktop.
Spree 1.1.3 - Deface::Override works fine, DLS doesn't
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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