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

Adding SpreeCommerce to existing application with Devise

It seems I must be doing something wrong here (I'm in my infancy with Spree) I followed this tutorial http://guides.spreecommerce.com/developer/authentication.html I have default devise setup and are trying now to add SpreeCommerce to it. module…
Lukasz Muzyka
  • 2,783
  • 1
  • 30
  • 41
4
votes
2 answers

Forcing Spree Commerce to disabling SSL in production mode

When I change my app (Spree Commerce) to production mode, the app is running fine, but when I want to go to "/admin" page the server throws me "This webpage is not available" in a chrome browser. Also, I don't know if this is normal, but when the…
4
votes
1 answer

How to override product_url in Spree 2.x / Rails 4 to make more SEO friendly?

I would like my product urls to look like: /product-name-here/p instead of: /product/product-name-here How can I achieve this?
newUserNameHere
  • 17,348
  • 18
  • 49
  • 79
4
votes
1 answer

Skip Checkout Step but make associations

I try to modify my CheckoutSteps. Our Customers can't choose Shipping or Payment, since it's the same for all Orders. (Shipping Rate is 5€ except Orders above 100€, then its free). Payment is always Eruopean BankTransfer (which we notice the…
Tim Kretschmer
  • 2,272
  • 1
  • 22
  • 35
4
votes
3 answers

How to upload images for products using Spree Commerce REST API

I have to migrate old eshop to new, made on Spree. It has good API to do it. But i am stuck with uploading images from remote server. Here is what I am doing on making new product: require 'nokogiri' require 'open-uri' require 'curb' require…
Evgeny
  • 61
  • 1
  • 2
4
votes
4 answers

Overriding Spree Assets

I'm using spree 2.1.5, rails 4.0.2, sass-rails 4.0.0. The spree documentation at http://guides.spreecommerce.com/developer/asset.html indicates using the vendor/assets/stylesheets folder. However, examples I see of spree stylesheet overrides on…
sarah777724
  • 39
  • 1
  • 2
4
votes
1 answer

SpreeCommerce price format

I'm building a site for SpreeCommerce 2.1.3, and I'm stuck trying to figure out how to format the prices correctly. The currency is DKK (Danish Kroner) and I'm looking for the following: 1000 => kr. 1.000,- 1000.50 => kr. 1.000,50 Spree formats my…
Martin
  • 2,302
  • 2
  • 30
  • 42
4
votes
1 answer

How call custom class method, when Spree order finalize! method executed

I am developing spree extension. What I want to do, is to create new database record when order finalized. I need some suggestion how to do it. How I understand one way is to create custom method in order class, and register new hook (where I…
dpa
  • 427
  • 4
  • 16
4
votes
1 answer

How to destroy and reinstall a Gem after migration?

I would like to know how I can destroy a gem completely and reinstall it. This is what I did to install a gem called 'spree_fancy': $bundle install $bundle exec rails g spree_fancy:install And resulted following: bundle exec rails g…
wag0325
  • 1,008
  • 5
  • 18
  • 34
4
votes
1 answer

RSpec throws segmentation fault

sometimes my test suite throws a segmentation fault for no reasons. Here is the output: /Users/Test/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-3.2.9/lib/active_record/relation/query_methods.rb:268: [BUG] Bus Error ruby 1.9.3p392 (2013-02-22…
23tux
  • 14,104
  • 15
  • 88
  • 187
4
votes
1 answer

Rails filter hook for after a controller action has run, but before the view is rendered

I've got a spree commerce 2.1.1 app (Rails 4.0.0), and I'm wanting to show some 'related products' on the products detail page. The related products will just be a random selection of products with the same brand / gender as the one being viewed.…
joshua.paling
  • 13,762
  • 4
  • 45
  • 60
4
votes
2 answers

Spree deface email text template

I am trying to insert a text after checkout email message. I'm found template in spree/order_mailer/confirm_email.text.erb <%= Spree.t('order_mailer.confirm_email.dear_customer') %> <%= Spree.t('order_mailer.confirm_email.instructions')…
Ilya Krigouzov
  • 271
  • 2
  • 16
4
votes
1 answer

How to add images to taxonomies in spreecommerce

I want to set up product categories (or "taxonomies" as spreecommerce calls them) containing products. Is there a way to add a photo to each of them so I can show them in some sort of overview?
Alexander Presber
  • 6,429
  • 2
  • 37
  • 66
4
votes
3 answers

How to override Spree checkout forms and step flows?

I'm using spree 2.0.0 in my application. I just want to know how i can edit spree checkout or how I can completely remove / disable any "Step" during Spree checkout process. Any thoughts on this?
Muhammad Ateq Ejaz
  • 1,845
  • 20
  • 22
4
votes
2 answers

Rails request.referer not working in internet explorer

I am working on Spree eCommerce in rails and using CAS for single sign-on. After login using cas i am using request.referer to redirect it on the previous page but its not working for Internet Explorer. In Internet Explorer its redirecting me to…
user1812198
  • 121
  • 1
  • 4