Questions tagged [spree]

Spree is a complete open source e-commerce solution for Ruby on Rails, freely available for commercial use under the terms of the New BSD License.

Spree is a complete open source e-commerce solution built with Ruby on Rails. It was originally developed by Sean Schofield and as of November 2015 was no longer maintained.

On January 2016 new core team maintains the project and new roadmap is announced.

License

Spree is released under the New BSD License.

Links

Legacy Links

1714 questions
4
votes
1 answer

Spree as a mountable engine

So, we want to rearchitect a portion of our site as a Rails app. The original plan was to have a main "site" app, with a number of plugin apps (Rails 3.1 Engines) with compartmentalized functionality -- a store component, a social/forums/chat…
Tom Canham
  • 71
  • 2
4
votes
2 answers

Applying Spree decorator

H guys, first of all let me tell u I am new to spree, so my question might sound stupid to most of you. I want to customize for example the "index" method in the home_controller.rb, I know the right way is to use a decorators. So I have created this…
greenLizard
  • 2,326
  • 5
  • 24
  • 30
4
votes
6 answers

Spree -4.4 - Fresh install gives sprocket error re: spree-dashboard.js

Im facing missing 'spree-dashboard.js' file not found on fresh spree 4.4. Its not fixed by runing yarn install.
4
votes
2 answers

Images not showing after deploy with Capistrano and ActiveStorage

I've already running Spree on a Digital Ocean's server, but every time I deploy a new version, I'm getting not found for the images that have been uploaded by users on previous versions Based in related posts that I've found, it seems to be a…
4
votes
5 answers

Spree 's latest version does this on remote - undefined method `set_preference' for nil:NilClass

Everything works perfect on my local. I installed everything appropriately on the server, and when I run rake db:bootstrap or rake db:migrate, I get this : rake aborted! undefined method `set_preference' for…
Trip
  • 26,756
  • 46
  • 158
  • 277
4
votes
3 answers

Errors when trying to display an image from ActiveStorage in Rails 5.2

I am working on a Rails app using Rails 5.2 and Ruby 2.3.7 and want to attach an image to my Event object, using Active Storage. Here are the main steps I've taken In config/environments/development.rb I confirmed that: config.active_storage.service…
Amie
  • 65
  • 2
  • 9
4
votes
1 answer

How to fix 'could not find compatible version for gem "rails"'?

Im literaly bumping my head into a wall and I can not find a solution by myself about this problem. I'm starting a project with Solidus , a Spree commerce fork. I played around with the gem for a litle while and now that I am ready to get serious…
user8116786
4
votes
2 answers

Is ActionController callback filter chain consistent?

I've this legacy Spree application with 2 decorated controllers with inherited callbacks : Spree::Api::BaseController.class_eval do before_action :load_api_key_user, only: [:index, :show, :jstree] before_action :override_params, only:…
Renaud Kern
  • 1,116
  • 10
  • 25
4
votes
2 answers

How do I customize the views for Spree?

I'm stuck on building a new e-commerce site using Spree. I've tried overriding the admin view but I don't know how to make an admin account and so I can't log in. I also wanted to try to edit the gem itself. I tried doing "bundle open…
Eric Doyle
  • 53
  • 5
4
votes
2 answers

Solidus Installation Failure

So Solidus is a fork of Spree and Spree is no longer maintained. Am following the instructions on the Solidus's Github page (https://github.com/solidusio/solidus) to install it. And am stuck at this command bundle exec rails g spree:install this…
Homoud
  • 164
  • 1
  • 11
4
votes
1 answer

How can I find the source location for a association in rails

For a regular method I can just call obj.method(:name).source_location and that works great, however if I do that for associations the source_location points me to .../activerecord-4.2.0/lib/active_record/associations/builder/association.rb is there…
geermc4
  • 578
  • 6
  • 18
4
votes
1 answer

Spree - Timeout when trying to access backend

Since this afternoon, access to the backend of my spree shop is suddenly unavailable. When I try to visit any page in the backend (/admin/users, /admin/orders, etc) the page just loads for a long time, until it times out and I get the generic error…
Max
  • 431
  • 1
  • 5
  • 13
4
votes
1 answer

Spree commerce: User Login through API

I am pretty newbie using Spree and I am just playing around with the 3.0 stable version. I would like to log a user account into the store through API (or something like that) using the chrome app called "Advanced REST client", then visit the store…
Julian Rodriguez
  • 574
  • 6
  • 15
4
votes
1 answer

How to get the stock location for a line item from an complete order in spree commerce ?

In spree commerce is there any way to get the stock location of the line items.
Ranjith
  • 145
  • 6
4
votes
1 answer

Override Spree Commerce's Bootstrap Variables

I'm having an issue with deploying a customized _variables.scss to my production server as a compiled asset. Everything is fine on my development environment, it's in production that my variables are being overwritten. I'm using Rails 4.2.1 with…
Wasabi Developer
  • 3,523
  • 6
  • 36
  • 60