Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Undefined variables #15

Open
tamzhiyang opened this issue Mar 29, 2013 · 0 comments
Open

Undefined variables #15

tamzhiyang opened this issue Mar 29, 2013 · 0 comments

Comments

@tamzhiyang
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant