Created
August 9, 2012 11:22
-
-
Save laurens/3303372 to your computer and use it in GitHub Desktop.
deface changes to subtotal adding tax after subtotal in the shopping cart
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/orders/edit", | |
:insert_after => "#subtotal[data-hook]", | |
:text => '<div id="subtotalmwst">incl. MwSt. zzgl. Versandkosten</div>', | |
:name => "subtotalmwst") |
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
#subtotalmwst { | |
font-size: 22px; | |
padding: 30px; | |
color: red; | |
float: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment