How do I remove the first registration step from the checkout process flow in Spree?

I want to remove the registration step from the checkout process. I searched the net and got some clues, but I didn't understand what exactly I need to do.

In the references on github I read this ...

Default steps

The Spree verification process consists of the following steps (with the exception of the registration stage, each of these steps corresponds to the state of the Spree :: Order object):

Registration (optional - only when using the spree_auth_devise extension, can be switched via configuration settings)

Address information

Delivery parameters (delivery method)

Payment

the confirmation

How to change this please help.

+3


source to share


2 answers


I solved it.

We can skip it with a simple change to app / config / initializers / spree.rb



Spree::Auth::Config[:registration_step] = false;

      

+6


source


you asked "I want to remove the registration step from the checkout process"



So, just remove the "spree_auth_devise" gem from your Gemfile and start installing the package. there will be no registration step before ordering.

+1


source







All Articles