spree_rdr_theme
spree_rdr_theme copied to clipboard
Undefined variables
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.
- In /app / overrides / spree / orders / replace_cart_detail.rb:
<%= t(:subtotal) %>: <%= order_subtotal(@order) %>
order_subtotal was not defined.
- 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!