Checkout
Item | Quantity | Subtotal |
---|---|---|
<%= li.variant.product.title %> <%= li.variant.title %> |
<%= li.quantity %> | <%= number_to_currency(li.subtotal) %> |
Subtotal | <%= number_to_currency(@order.subtotal) %> | |
Tax | <%= number_to_currency(@order.tax) %> | |
Shipping & Handling | <%= number_to_currency(@order.shipping + @order.handling) %> | |
Discount | <%= number_to_currency(@order.discount) %> | |
Total | <%= number_to_currency(@order.total) %> |
Shipping Address
<% a = @order.shipping_address str = "#{a.name}#{a.address1}
" str << "#{a.address2}
" if a.address2 && a.address2.strip.length > 0 str << "#{a.city}, #{a.state} #{a.zip}" %>
<%= raw str %>
Shipping Method
<%= @order.shipping_method %> - <%= number_to_currency(@order.shipping) %>
Billing Information
<% #