Questions tagged [spree-auth-devise]
68 questions
0
votes
2 answers
Spree shopping cart being replaced instead of merged upon user sign in
Using Spree 3.0.8
When I perform the sequence:
add items to the shopping cart as a guest user (not signed in);
proceed to checkout (which prompts for a sign in);
sign in
My shopping cart is essentially replaced by the most recent incomplete order…

Vasco
- 361
- 3
- 11
0
votes
1 answer
Can I have two different kinds of user in spree?
I need to build an e-store. I am thinking of using spree gem instead of building everything from scratch but I have not used spree before. One of my requirements is to have two kinds of user and app should be able to show and apply prices based on…

roxxypoxxy
- 2,973
- 1
- 21
- 28
0
votes
1 answer
Unable to login with Google plus using omniauth-google-oauth2
I am using gem "omniauth-google-oauth2" in my application built on spree(ruby-on-rails) to integrate Google plus login on to our site.I am getting a very strange error here,It's working fine in development(localhost),
but in production I am…
0
votes
1 answer
How to add alchemy to existing spree project
I have an existing Spree project that is functioning. I'm not try to include Alchemy CMS in the project. I followed the guide on the Github Repo. The only exception is that I skipped the auth step because I already have spree_auth_devise configured.…

Antarr Byrd
- 24,863
- 33
- 100
- 188
0
votes
2 answers
Allowing non-admin to create order in spree backend
I would like to create a role which is not the admin that can create order in the spree backend, but I couldn't find the combination of actions that I need to activate for that user. I tried adding the default user permission and allow role to…

harinsa
- 3,176
- 5
- 33
- 53
0
votes
1 answer
Authorization failure while adding supplier product in spree
Hi I tried to add a product in spree using the supplier login. I have two gems related to spree marketplace installed
gem 'spree_drop_ship', github: 'spree-contrib/spree_drop_ship', branch: '3-0-stable'
gem 'spree_marketplace', github:…

Mahi L
- 75
- 1
- 5
0
votes
1 answer
Spree Payment Checkout API Error: undefined method `name' for nil:NilClass
When I try to make an payment for particular order in the payment state by sending this PUT request to
PUT /api/checkouts/:number.json
With this json
{ order: { "payment_attributes": [ { "payment_method_id": 2 } ], "state": "payment",…

Vinod Rathod
- 1
- 5
0
votes
1 answer
How to use Spree's Authentication in form
i am learning rails and creating a web app which also got ecommerce in it
There is a Form which user can fill only if he is logged in, For that i was using Devise, then for e-commerce i installed Spree
Spree got its own login authentication, and…

Akash
- 38
- 6
0
votes
0 answers
How do I edit a Spree Commerce store's HTML/CSS?
Here's the situation:
I have a Spree Commerce test server up and running along with some test pages that I've designed. The test pages are simple HTML documents with CSS, and a little bit of JS. However, in Spree, I can't seem to find any of the…

Christian Kramer
- 91
- 1
- 1
- 4
0
votes
1 answer
Why isn't my Spree::User record updating?
I started a new project on Spree 3.0.1 and I have to implement a gift card system that binds a certain amount of store credit to a user when a gift card is claimed. Given that as of version 3.0.1 the store credits functionality has not been…

Aldo Camarena
- 11
- 3
0
votes
1 answer
spree customizing the create user sessions action
I added inheritance to my Spree::User model class with STI. I have a :type column which can be (Spree::Guest, Spree::Writer, or Spree::Reader).
In my authentication in the admin side I want to authenticate only writer and reader. What would be the…

Moh
- 249
- 3
- 15
0
votes
1 answer
Unable to access model using cancan gem in rails
I am using Spree to build an e-commerce application.I have created one model Offer(Spree::Offer) . I have created one role seller,and I am trying to give seller access to view,update and manage this model(Offer) in the admin panel using the…

Shakthi
- 131
- 2
- 15
0
votes
1 answer
How can we set Config parameters in spree
I am new to Ruby on Rails. I am building one e-commerce application using Spree .Can anyone tell me where all the config parameters are defined?
for instance most of models and controllers use Spree::Config[:currency].I want to know where this…

Shakthi
- 131
- 2
- 15
0
votes
1 answer
401 unauthorized response empty in ios if sent via custom failure app
class CustomFailureApp < Devise::FailureApp
# You need to override respond to eliminate recall
def respond
if http_auth?
http_auth
else
if request.format == "application/json"
self.status = 401
self.content_type = "json"
…

Rastee
- 73
- 1
- 6
0
votes
1 answer
spree_fancy footer image change
I am creating an spree application. I want to change the footer image but I can not understand why I could not access the image tag in footer four columns. Is there any way to change footer image? And another one is, image source could not find…

Mohammad Rajob
- 743
- 1
- 11
- 29