Skip to content

Instantly share code, notes, and snippets.

@laurens
Created August 9, 2012 11:22
Show Gist options
  • Save laurens/3303372 to your computer and use it in GitHub Desktop.
Save laurens/3303372 to your computer and use it in GitHub Desktop.
deface changes to subtotal adding tax after subtotal in the shopping cart
Deface::Override.new(:virtual_path => "spree/orders/edit",
:insert_after => "#subtotal[data-hook]",
:text => '<div id="subtotalmwst">incl. MwSt. zzgl. Versandkosten</div>',
:name => "subtotalmwst")
#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