how to install “spree-dropdown-variants” with spree 1.1.1

HOME ยป Web Design

I am using spree 1.1.1 and facing problem installing "spree-dropdown-variants" because it has no GEM file. Please help me.

Related to : how to install “spree-dropdown-variants” with spree 1.1.1
Rails(3.2.2) Direct sign_in to the Spree(1.1.1) from non-spree controller
Web Design

I have integrated Spree(1.1.1) into my existing Rails 3.2.2 Application. I have home_controller in my existing application. I want to direct login the user from action in the home controller to the spree using the sign_in method as

user = Spree::User.find(params[:user_id])

but that sign_in method is in the context of Spree.

How should I use sign_in. ?

Rails 3.2.7 and Spree 1.1.2. When I try to access CART, there is debug info show that “undefined method `password_salt=' ..”
Web Design

I installed rails on Windows7 using RailsInstaller (v2.1.0). I found the original rails was v3.2.1. After that, I "gem install spree". It seems the installation upgrades rails to v3.2.7. I mentioned that because before yesterday it was just 3.2.6. Every thing goes well under rails 3.2.6, but if I "spree install" a rails 3.2.7 app, I failed to access the default store's Cart. And get the error like this:

NoMethodError in Spree::OrdersController#edit
undefined method `password_salt=' for #<Spree::User:0x68438d0>

As I checking the database, yes, there is no "password_salt" but only "salt" in spree_users table.

Spree install error “spree (>=0) x86-mingw32 depends on thor (=0.15.4)”
Web Design

Installing spree on rails gives multiple errors for dependence on 'thor' although I have both versions in my gem list.


Bundler could not find compatible versions for gem "thor":
In Gemfile:
spree (>=0) x86-mingw32 depends on
thor (= 0.14.6) x86-mingw32

sass-rails (~> 3.23) x86-mingw32 depends on
thor (= 0.15.4)


NOTE: My versions used are:

rails 3.2.6

spree 1.1.2

ruby 1.9.3p194

Spree: uninitialized constant Spree::ThemeSupport
Web Design

It seems like many of the Spree's extension don't support latest version of Spree (1.2.0). I tried to install few gems but I keep getting

uninitialized constant Spree::ThemeSupport

I read solution somewhere which is "It was deprecated, and is now removed you should be defining Deface overrides in the app/overrides directory now". But how to exactly do that? Has anyone implemented this?

Uninitialized constant Spree::ThemeSupport - Spree 1.3
Web Design

I'm using Spree 1.3.0, I have installed spree_products_tags for adding tags to products,

srikanth@srikanth-laptop:~/projects/mystore$ rake spree_products_tags:install:migrations
rake aborted!
uninitialized constant Spree::ThemeSupport
/home/srikanth/.rvm/gems/ruby-1.9.3-p327/bundler/gems/spree_products_tags-b90636c337ff/lib/spree_products_tags_hooks.rb:1:in `<top (required)>'
/home/srikanth/.rvm/gems/ruby-1.9.3-p327/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
/home/srikanth/.rvm/gems/ruby-1.9.3-p327/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
Want to convert Variants from radio buttons to dropdown in Spree 1.1.1
Web Design

I am using Spree 1.1.1 and now i want to have Dropdown instead of radio buttons for variants in product page.

I have gone through spree extension "spree-dropdown-variants" but, was 2 Year older GEM and I don't Know if i can use this 2 year older GEM with latest vesrion of Spree.
and if yes the git repository of "spree-dropdown-variants" has no .gem, how to install extention for that.

Thanks in Advance.

Why am I getting “Can't mass-assign protected attributes” after adding a field to a product on spree?
Web Design

I'm trying to add a field to products on spree which is just a checkbox which is just ment to mark products if they are for sale or they're internal products.

I've added the migration and finally figured out how to add the checkbox on the form, but when I click Update I get Can't mass-assign protected attributes: for_sale

This is the migration

class AddProductForSaleField < ActiveRecord::Migration
def up
add_column :spree_products, :for_sale, :boolean
def down
remove_column :spree_products, :for_sale

Here's the f

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © All Rights Reserved .