SpreeCheckoutSignupPromotion
spree_checkout_signup_promotion adds a signup and login prompt to the top of the checkout
address step, for customers who are not logged in.
Guest checkout stays exactly as it was — the block simply offers the alternative, with a message you write yourself.
Features
- Signup / login call-to-action at the top of the checkout address step
- Message text configurable per store from the Spree admin
- Only shown to guests; logged-in customers never see it
- Replaces Spree's inline login link, so the customer is not offered the same thing twice
Installation
Add this line to your application's Gemfile:
gem 'spree_checkout_signup_promotion'
Then run:
bundle install
No migration is needed — the message is stored in the store's preferences.
Usage
Go to Settings → Store → Checkout in the Spree admin and write the message, for example what a customer gets by registering (loyalty points, faster repeat checkout, order history).
Leave it empty and nothing is rendered.
Requirements
- Spree 5.3.6
- An authentication solution such as
spree_auth_devise, so the signup and login routes exist
Licence
AGPL-3.0-or-later. See LICENSE.