spree_rdr_theme icon indicating copy to clipboard operation
spree_rdr_theme copied to clipboard

Undefined variables

Open tamzhiyang opened this issue 11 years ago • 0 comments

hi,

I am running into a few issues using the RDR theme on the newest Spree. Upon installation according to README instruction. During checkout, the following error occured.

  1. In /app / overrides / spree / orders / replace_cart_detail.rb:

<%= t(:subtotal) %>: <%= order_subtotal(@order) %>

order_subtotal was not defined.

  1. In / app / overrides / spree / checkout / payment / replace_gateway_fields.rb:

< class="payment_method <%= payment_method.id %>" style='display:<%= checked == payment_method.id ? "block" : "none" %>

undefined method `checked'

I have been trying my best to work around the problem, however progress is slow due to my limited experience in RoR. If anyone can shed light on the issue, that would be great!

tamzhiyang avatar Mar 29 '13 15:03 tamzhiyang