Commerce Checkout Redirect
Categories
Component ID
1170552
Component name
Commerce Checkout Redirect
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
55796
Component created
Component changed
Component body
This module redirects anonymous users to a page where they can login or create a new account when they try to checkout.
Included in the Commerce Kickstart v2 distribution.
REQUIREMENTS
This module requires the following modules:
- Commerce Cart
Submodule of Drupal Commerce package.
INSTALLATION
Install as you would normally install a contributed drupal module.
See: https://drupal.org/documentation/install/modules-themes/modules-7 for further information.
CONFIGURATION
Configure the Checkout by Amazon settings in Administration > Store > Configuration > Checkout Redirect
Settings available:
- Checkout redirect path: Set the checkout redirect path for an anonymous user.
Leave blank to use the default 'user/login' page. If you redirect to other page then make sure you add user login block on that page; - Checkout redirect login message: The message that should be displayed for the login page in the checkout process;
- Use username as order email: This will provide the Anonymous checkout as alternative to login in the login form (radio options);
- Reset password checkout redirect message: The message that should be displayed for the reset password page for new account in the checkout process;
HOW IT WORKS
- Checkout redirection
When an anonymous user tries to access the checkout will be redirect to the default login page or custom path if was set in the module configuration,
If set a message could be displayed to the user.
There are several posibilities for the user:- User login
- Continue as anonymous
- Register
- Request password
- Back to checkout
Based on the options from above the user will be redirect back to the checkout page.
There is an extra step when the user needs to check the email for the reset password link, for Request password and Register with administrator approval or e-mail verification.
EXTRA
- "commerce_checkout_redirect" User entity property available.
This property says if the user is in the checkout redirect process.
Useful for resolving redirect conflicts, using Rules.
@see #2122783: don not redirect to checkout, if i redirect to front page after login using rules. - Anonymous checkout option could be used togheter with Commerce Checkout Complete Registration module, which provides as registration option at the end of the checkout process.
CREDITS
Developed & sponsored by Commerce Guys.
Initial development realized by GVJ web sites & consulting.