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
5
votes
2 answers

Connection refused - connect(2) (Errno::ECONNREFUSED)

I am developing a spree application ,I recently removed and reinstalled ruby 1.9.3, now whenever I try rails s on terminal I get the following error : /home/swapnil/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:762:in `initialize':…
vishB
  • 1,688
  • 2
  • 17
  • 23
5
votes
1 answer

Database, Currency Modeling, Localization strategies

What's the best strategy for storing e-commerce product information (i.e. product price, current price) in a localized-currency environment? I came across an issue in Spree, an e-commerce engine for Ruby on Rails regarding the display of currency…
Dominic Tancredi
  • 41,134
  • 7
  • 34
  • 50
5
votes
1 answer

Upgrade spree to 1.0.0

I'm trying to upgrade Spree from 0.7.0 to 1.0.0, I added in my gemfile gem 'spree', '1.0.0' and mounted the routes by adding this in routes.rb Store::Application.routes.draw do mount Spree::Core::Engine, :at => "/" end after that I had override…
Mattia Lipreri
  • 953
  • 1
  • 16
  • 30
5
votes
1 answer

Extend spree to have functionalities as Shopify?

I'm new to spree. I'm not sure whether is that possible to extend spree to have a functionality like Shopify. The user signups to create a store. He owns everything to that store. Each owner is not able to edit other stores. How can I extend it?…
Chamnap
  • 4,666
  • 2
  • 34
  • 46
5
votes
1 answer

Running Rails in Rubymine from subproject

I'm using RubyMine 3.1.1 with Rails 3.0.9. I have the Spree project cloned from Github, and I want to debug the server while working on the code. To do this, Spree includes a sandbox rake command that creates a subfolder (called sandbox) that…
Binary Phile
  • 2,538
  • 16
  • 16
5
votes
4 answers

How to change spree currency?

I have trouble with spree, and dont know how to deal with it. I can't change the main currency. How can I do it?
aXZ
  • 61
  • 1
  • 4
5
votes
3 answers

Edit action of Checkout controller

I'm looking in the source code of the Checkout controller (https://github.com/spree/spree/blob/0-60-stable/core/app/controllers/checkout_controller.rb) and didn't find the edit action there. Where is it defined?
trivektor
  • 5,608
  • 9
  • 37
  • 53
5
votes
5 answers

Rails 3 - File name too long error

We have an online store running on Rails 3 Spree platform. Recently customers started reporting weird errors during checkout and after analyzing production logs I found the following error: Errno::ENAMETOOLONG (File name too long -…
Vincent
  • 16,086
  • 18
  • 67
  • 73
5
votes
2 answers

Best way to customize Spree?

I need to modify Spree (functionality and views). But Spree installs as a gem (it's not simple application), I believe it's actually a Rails engine right? I'm pretty new at all of this. But what is exactly the best way to grab Spree and customize it…
empz
  • 11,509
  • 16
  • 65
  • 106
5
votes
3 answers

undefined method `has_one_attached' - Spree, AWS S3, Product Images, Rails

I'm trying to connect my Spree shopping cart with AWS S3 for product image uploads but I keep getting the error: .rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activerecord-5.2.0/lib/active_record/dynamic_matchers.rb:22:in `m ethod_missing':…
5
votes
2 answers

CSS properties not appearing in email

In my spree store, I am preparing mailer to send email on order confirmation, but CSS property: justify-content is not appearing in the email rendered. Following is my HTML:
5
votes
1 answer

Verify Spree promotion coupon from an external API

I want to apply a coupon to my spree application but the coupon should be verified from an external API I searched through the docs as well as tutorials but I haven't found anything which can help me The requirement is something like this: I am…
Deepak Mahakale
  • 22,834
  • 10
  • 68
  • 88
5
votes
1 answer

How to customize spree commerce?

I have installed Spree on a Windows machine, added sample data and accessed the admin. But now what? How do I create a new page or URL? I don't find any controllers or files in my rails project folder. Do I have to change the location where Spree is…
Ashutosh
  • 4,371
  • 10
  • 59
  • 105
5
votes
3 answers

Facebook OAuth is not returning email in user info

I'm doing a spree 3.0 installation (ROR) and trying to use facebook oauth for authentication, but the fields sent back after a successful oauth, do NOT contain the email, which is critical to our application. here is the return from the facebook…
radamnyc
  • 157
  • 1
  • 11
5
votes
5 answers

How to access Spree's link_to_cart function from main rails app

I am building a spree shop into an exiting Rails application, and I need to access link_to_cart from outside of the Spree engine. link_to_cart can be found here: spree/core/app/helpers/spree/base_helper.rb Since I have modified the styling in…
Abram
  • 39,950
  • 26
  • 134
  • 184