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
0
votes
1 answer

Spree deface override tutorial

I am following the Spree deface overrides developer guide: http://guides.spreecommerce.com/developer/deface_overrides_tutorial.html My code matches their's exactly, but I keep getting this error. I looked all around but I didn't see anyone else…
Steve Q
  • 395
  • 5
  • 28
0
votes
1 answer

How to define new events for spree promotions?

I've been reading a almost everything I find about Spree promotions but i didn't find the way to define a new trigger for promotions. I only find how to define actions and rules but nothing about defining events. I already know that it uses…
aanfuso
  • 53
  • 8
0
votes
2 answers

Find_by_id in Ruby on Rails

I have products that can be a part of an assembly. I only had one assembly, which I called a bundle. Originally, given that a product had any parts, I included an additional option If I use <% if @product.parts.any?(&:in_stock?) %> HERE I SHOW…
nil
  • 2,238
  • 1
  • 19
  • 28
0
votes
0 answers

Rails Spree app starts but then stops with an error (NameError?)

I have installed Ruby 2.0.0-p247 using rbenv (which I installed using brew) and Rails 4.0.2. and Spree 2.1.3 and all of the installations have been successful. But when I try to run a Rails Spree app, it stops with the following error possibly the…
Terry
  • 1,206
  • 1
  • 10
  • 26
0
votes
1 answer

On rendering product details getting Error, RuntimeError: No master variant found to infer price

Trying to render product details using spree_variants, spree_taxons, spree_prices tables by using following Query : result = Spree::Product .select('spree_products.name as product_name, spree_prices.amount as cost_price, spree_variants.sku as…
Ajay
  • 4,199
  • 4
  • 27
  • 47
0
votes
1 answer

spree_api/rabl escapes doubleqoutes in jsonp response

When I make a request to a spree 2.2.0 API (rabl gem version 0.8.4) to domain.com/api/products I get {"count":25,"total_count":26,"current_page":1,"pages":2,"variants":[{"id":1,"name":"Ruby on Rails Tote","sku":"ROR-00011",... And so on Same…
Julian Kaffke
  • 428
  • 4
  • 10
0
votes
1 answer

edit my email when i login as guest and go to home page in rails using spree

I select an item and go to checkout it will show login page. In that page if, I entered as guest it will go to address page. I leave checkout and go to the home page I return to checkout it is rendering address page not login page again.
0
votes
1 answer

How to run spree commerce under a domain?

I have a vds server centos and directadmin installed. I want to install spree commerce and followed the instructions here Actually I have installed everything without problem (even spree commerce), but I don't know how to run the website under a…
Hüseyin Dursun
  • 550
  • 5
  • 15
0
votes
1 answer

How to Calculate Nothing - Nil on Rails

Rails 4, Spree 2.1 The Issue: Adding an item to cart with the Spree Flexi Variants engraving calculator, I get an error: undefined method `value' for nil:NilClass Is this line in my engraving calculator model causing this error? def…
nil
  • 2,238
  • 1
  • 19
  • 28
0
votes
1 answer

Spree Commerce Product Sorting

I have a spree commerce rails app and I want to add some user controlled product sorting in the front end, within the product scope there are some simple scopes already defined but i'm unsure how to display them in my view. Just simple links would…
Dan Mitchell
  • 844
  • 2
  • 15
  • 34
0
votes
1 answer

Integrating Balanced Payment Gateway(Active Merchant Based) in Spree

I have installed active_merchant gem in my application(Spree Commerce), while configuring the payment method in spree commerce it is asking for LOGIN and ON BEHALF OF URI, can any one explain what it is asking for. do I need to setup test account…
Sam
  • 376
  • 3
  • 10
0
votes
1 answer

Broken spree_fancy layout on heroku

I'm a rails newbie. I've install spree and spree fancy on my app. It's ok on development but when I've deployed it on heroku, the layout is broken. Can anyone help me fix this? Question w/ Images:…
0
votes
3 answers

Spree: Do JQuery events need registration?

Hello to the Community, I want a change in an HTML select tag to trigger a Javascript event in my Spree application. The view contains a collection_select instruction resulting in the following HTML: