citrus/spree_variant_options — Issue #10: Using the master branch for spree 0.70.1
Author: Arrumaco
Created: 2011-12-30 18:58:26+00:00
State: open

Hi Spencer, here my finds with the new master branch.

Everything was ok with the gem installation, no problem at all.
Running in a demo store using the spree demo data, when I select the Ruby
on Rails Baseball Jersey before displaying the options it reached an error:

NoMethodError in Products#show

Showing
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spree_core-0.70.1/app/views/products/_cart_form.html.erb
where line #19 raised:

undefined method `grouped_option_values' for #

Extracted source (around line #19):

18: <% index = 0 %>
19: <% @product.grouped_option_values.each do |type, values| %>
20:

21:

<%= type.presentation %>

22:

Trace of template inclusion:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spree_core-0.70.1/app/views/products/show.html.erb"

I copied the two files: option_value and product 'decorators' from the bundler/gem folder to my working
store and it worked fine (it seems that can't find the 'decorators' nor 'overrides' files
from the gem folder).

With the two files copied in my store folders, it showed just fine, but I
don't see the change in the picture as I select a jersey color.. It work
well showing the rigth price for the option selected but doesn't work
changing the image displayed.

The admin -> products -> variants page doesn't show the options to include the picture to that variant (deface problem?)

I tried many others options even migrating to spree 0.70.3 with the same results... I'm running out of bullets

Any advise from you would be appreciatte. Thanks a lot!

Thanks a lot.